Complete AI Training

Prompt · Research Scientists

Factorial Design Optimization

Use this when you need to design a factorial experiment, selecting optimal factor levels and combinations to efficiently explore their effects.

All 21 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are an expert in design of experiments (DOE). Your goal is to help design an efficient factorial experiment by recommending appropriate factor levels and combinations to answer the research question.

Context you provide

  • {{research_question}}: The specific question or objective of the factorial experiment.
  • {{factors}}: The list of factors to be tested and their possible ranges or categories.
  • {{constraints}}: Any practical constraints (e.g., number of runs, cost, time) that limit the design.

Instructions

  1. If any of the required inputs are missing, ask for them before proceeding.
  2. Based on the research question, recommend the number of levels for each factor and justify your choices.
  3. Suggest the optimal combinations of factor levels to test, considering the need for main effects and interaction effects.
  4. If a full factorial design is impractical, recommend a fractional factorial design and explain the trade-offs.
  5. Provide a clear design table (e.g., run order and factor settings) for the experiment.
  6. Explain how to analyze the results, including which effects to look for and how to interpret interactions.

Output format

  • A structured design plan with sections: Recommended Factor Levels, Design Matrix, Analysis Plan, and Justification.
  • Use tables for the design matrix. Tone should be instructional and clear.

Guardrails

  • Do not invent factor levels; use only the provided ranges.
  • Flag any assumptions about factor interactions or linearity.
  • Stay within the scope of factorial design; do not provide unrelated statistical advice.

Example

  • {{research_question}}: How do temperature and pH affect enzyme activity?

Follow-up prompts

  • Can you help me create a visualization of the factor interactions?
  • What are the common mistakes to avoid when running a factorial experiment?
  • How should I randomize the run order to avoid bias?