construct-design-matrix
Installation
SKILL.md
construct-design-matrix
Purpose
Construct a balanced/randomized/orthogonal experimental design matrix appropriate to the chosen design mode.
Input contract
required: [factor_schema, design_mode, run_budget, randomization_constraints]
optional: [evidence, assumptions, prior_results]
constraints: [use named scientific objects; retain provenance and missingness; $\alpha$ = 0.05 and power = 0.8 where applicable]
Procedure
- Validate the typed inputs and state the decision this operation must support.
- Apply the declared operation to the named object; record intermediate values that affect interpretation.
- Check boundary conditions and counterexamples, then emit the result with uncertainty and source links.