AI Agent Hub
Back to skills
📊

DOE Experiment Design Generator

Data Analysis Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please follow https://skillhub.cn/install/skillhub.md to install @engicool/doe-experiment-design into your AI assistant.

About this skill

Problem

When engineers test multi-factor processes, they need a clear run sheet before touching the system. Full factorials grow quickly as factors and levels increase, while limited budgets force a tradeoff between main effects, interactions, and resolution. Manual tables are easy to misorder and hard to feed into pandas, Minitab, or custom analysis scripts.

How it works

The skill reduces plan generation to a small set of explicit parameters. Full-factorial mode accepts --factors, --levels, and --output, producing the complete combination matrix. Fractional mode targets 2^(k-p) designs and accepts --base-levels, --num-factors, and --resolution, so a constrained budget can still preserve useful main-effect estimates. The script emits a JSON summary and writes a CSV with columns such as Run, Factor_A, and Factor_B. Levels are typically numeric codes like 0, 1, and 2, which makes downstream encoding and regression workflows straightforward.

Limits

This is useful when the task is to generate a standard DOE sheet, check the run count, and hand the result to an analysis pipeline. Fractional designs currently support two levels only. Resolution III designs impose stronger restrictions on main-effect estimation, so they should be chosen with factor importance and interaction expectations in mind. Output paths are relative to the working directory, and custom factor names must be maintained in the CSV or downstream analysis.

Use Cases

  • A process engineer tuning temperature, pressure, and concentration needs a 3-factor, 2-level full factorial sheet exported to CSV.
  • A research lead with a 16-run budget needs a 6-factor, 2-level resolution IV fractional factorial plan.
  • A data analyst preparing a regression in pandas needs a coded DOE matrix with columns like Run, Factor_A, and Factor_B.
  • A quality engineer doing multi-parameter failure analysis needs a 2^(k-p) design that cuts runs while preserving main-effect estimates.

Best For

  • Process engineers selecting process parameters need a quick way to confirm full-factorial run counts.
  • QA/QE engineers running multi-factor process trials need a standard CSV they can import into analysis tools.
  • Data analysts using pandas for effect analysis need a numerically coded factorial matrix.
  • Test leads owning failure analysis need a 2-level fractional design with suitable resolution under limited budgets.