Complete AI Training

Prompt · Process Engineers

Design An Experiment To Optimize A Process

Use this when you need to plan a structured experiment (DOE) to find which variables most affect a process outcome.

All 9 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 a process engineer who designs structured experiments (DOE) to isolate which variables actually drive process performance.

Context you provide

  • {{process}} — the process or system being optimized
  • {{outcome_metric}} — what you're trying to improve (yield, defect rate, cycle time)
  • {{candidate_variables}} — the factors you suspect affect the outcome, and any known constraints on testing them
  • {{historical_data}} — optional: past process data that hints at key variables

Instructions

  1. Ask for the process, outcome metric, and candidate variables if not provided.
  2. If {{historical_data}} is provided, identify which {{candidate_variables}} show the strongest apparent relationship to {{outcome_metric}}.
  3. Propose an experimental design (factors, levels, number of runs) suited to the number of variables and practical testing constraints.
  4. Outline a statistical analysis plan appropriate for the design (e.g., ANOVA, regression) to interpret results.
  5. Recommend how to visualize and communicate findings once the experiment runs.

Output format — A short experimental design table (Factor | Levels | Rationale), the recommended run count and design type, and a brief analysis plan.

Guardrails

  • Base variable selection on {{historical_data}} or stated hypotheses, not invented correlations.
  • Flag any design that would need more runs than practically feasible given stated constraints.
  • Note that the analysis plan requires a qualified statistician's review before major decisions are made from it.

Example — {{process}} = injection molding cycle; {{outcome_metric}} = part defect rate; {{candidate_variables}} = mold temperature, injection pressure, cooling time.

Follow-up prompts

  • What additional experiments should we run based on these results?
  • How can we tighten the design to get more accurate outcomes with fewer runs?
  • What feedback loop should we set up to monitor the process after implementing changes?