Analyze statistical error budget showing Type I/II errors, power, minimum detectable effect, multiplicity corrections, and sequential monitoring. Statistical lens answering "Are error risks sized and controlled?"
Philosophical Mode: Statistical Primary Question: "Are error risks sized and controlled?" Focus: Type I/II Errors, Power, Minimum Detectable Effect, Multiplicity, Sequential Monitoring
/autoskillit:exp-lens-error-budget [context_path] [experiment_plan_path]
/autoskillit:exp-lens-error-budget or /autoskillit:make-experiment-diag errorNEVER:
{{AUTOSKILLIT_TEMP}}/exp-lens-error-budget/ALWAYS:
Enumerate every statistical test and account for its error contribution
Distinguish per-test error rates from family-wise error rates
Flag any sequential peeking without a formal stopping rule as a critical defect
Evaluate whether the minimum detectable effect is practically meaningful, not just statistically chosen
BEFORE creating any diagram, LOAD the /autoskillit:mermaid skill using the Skill tool - this is MANDATORY
If the Skill tool cannot be used (disable-model-invocation) or refuses this invocation, do NOT proceed with diagram creation. Abort this step and omit the diagram from output.
Write output to {{AUTOSKILLIT_TEMP}}/exp-lens-error-budget/exp_diag_error_budget_{YYYY-MM-DD_HHMMSS}.md
After writing the file, emit the structured output token as literal plain text with no markdown formatting on the token name (the adjudicator performs a regex match):
diagram_path = /absolute/path/to/{{AUTOSKILLIT_TEMP}}/exp-lens-error-budget/exp_diag_error_budget_{...}.md
If positional arg 1 (context_path) is provided and the file exists, read it to obtain IV/DV tables, H0/H1 hypotheses, controlled variables, and success criteria. If positional arg 2 (experiment_plan_path) is provided and exists, read the experiment plan for full methodology. Use this structured context as the foundation for Steps 1-5; skip the CWD exploration for these fields if the context file supplies them.
Spawn Explore subagents to investigate:
Sample Size & Power
Multiple Comparisons
Sequential Analysis
Decision Thresholds
Effect Size Context
For each statistical claim:
For each test, rate alignment as: ALIGNED / CONVENTIONAL / MISALIGNED
If a diagram adds value, show Data → Tests → Thresholds → Conclusions, with labeled error rates.
Write the analysis to: {{AUTOSKILLIT_TEMP}}/exp-lens-error-budget/exp_diag_error_budget_{YYYY-MM-DD_HHMMSS}.md (relative to the current working directory)
Before creating the diagram, verify:
/autoskillit:mermaid skill using the Skill tool/autoskillit:make-experiment-diag - Parent skill/autoskillit:mermaid - MUST BE LOADED before creating diagram/autoskillit:exp-lens-severity-testing/autoskillit:exp-lens-variance-stability