Vibe-Skills designing-experiments
Selects the appropriate quasi-experimental method (DiD, ITS, SC) based on data structure and research questions. Use when the user is unsure which method to apply.
install
source · Clone the upstream repo
git clone https://github.com/foryourhealth111-pixel/Vibe-Skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/foryourhealth111-pixel/Vibe-Skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/bundled/skills/designing-experiments" ~/.claude/skills/foryourhealth111-pixel-vibe-skills-designing-experiments && rm -rf "$T"
manifest:
bundled/skills/designing-experiments/SKILL.mdsource content
Designing Experiments
Helps select the appropriate causal inference method.
Decision Framework
-
Control Group?
- Yes: Go to Step 2.
- No: Consider Interrupted Time Series (ITS).
-
Unit Structure?
- Single Treated Unit:
- With multiple controls: Synthetic Control (SC).
- No controls: ITS.
- Multiple Treated Units:
- With control group: Difference-in-Differences (DiD).
- Single Treated Unit:
-
Time Structure?
- Panel Data (Multiple units over time): Required for DiD and SC.
- Time Series (Single unit over time): Required for ITS.
Method Quick Reference
- Difference-in-Differences (DiD): Compares trend changes between treated and control groups. Assumes Parallel Trends.
- Interrupted Time Series (ITS): Analyzes trend/level change for a single unit after intervention. Assumes Trend Continuity.
- Synthetic Control (SC): Constructs a synthetic counterfactual from weighted control units. Assumes Convex Hull (treated unit within range of controls).