experimental-design
Designs experiments and studies BEFORE data is collected — choosing a design, randomizing, blocking, and laying out treatment combinations so results are interpretable. Use whenever someone is planning a study, asks how to assign subjects/samples to groups, mentions randomization, blocking, stratification, controls, factorial or fractional-factorial designs, design of experiments (DOE), screening many factors, response-surface optimization, crossover or repeated-measures or split-plot designs, cluster/group randomization, Latin squares, plate layouts, batch/run-order effects, replication vs. pseudoreplication, or sequential/adaptive/group-sequential designs. Trigger even for informal phrasings like "how should I set up this experiment", "how do I avoid confounding", "what's the best way to test these 6 factors", or "assign these mice to conditions". For computing the sample size or power once the design is chosen, use statistical-power; for analyzing data already collected, use statistical-analysis.
- Version
- 1.5
- License
- MIT license
- Compatibility
- Requires Python >=3.12 with numpy, pandas, and pydoe 1.5.0 (DOE matrices). Network access is needed only to install packages; no credentials are required.
Pinned to revision 68105dd992f1, so it is the text this page describes rather than whatever the author pushed since.
Pre-approved tools experimental
Experimental field. Support varies between clients, so this list is what the author declared, not what your client will enforce.
- Read
- Write
- Edit
- Bash
Files
- skills/experimental-design/SKILL.md
- skills/experimental-design/SKILL_CN.md
- skills/experimental-design/references/design_types.md
- skills/experimental-design/references/factorial_and_doe.md
- skills/experimental-design/references/randomization_and_blocking.md
- skills/experimental-design/references/sequential_and_adaptive.md
- skills/experimental-design/scripts/doe_designs.py
- skills/experimental-design/scripts/randomization.py
Every link opens the file at its source, pinned to the revision this page describes.