Designing Experiments
by pymc-labs
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.
Skill Details
Repository Files
1 file in this skill directory
name: designing-experiments description: 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.
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).
Related Skills
Xlsx
Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify existing spreadsheets while preserving formulas, (4) Data analysis and visualization in spreadsheets, or (5) Recalculating formulas
Clickhouse Io
ClickHouse database patterns, query optimization, analytics, and data engineering best practices for high-performance analytical workloads.
Clickhouse Io
ClickHouse database patterns, query optimization, analytics, and data engineering best practices for high-performance analytical workloads.
Analyzing Financial Statements
This skill calculates key financial ratios and metrics from financial statement data for investment analysis
Data Storytelling
Transform data into compelling narratives using visualization, context, and persuasive structure. Use when presenting analytics to stakeholders, creating data reports, or building executive presentations.
Team Composition Analysis
This skill should be used when the user asks to "plan team structure", "determine hiring needs", "design org chart", "calculate compensation", "plan equity allocation", or requests organizational design and headcount planning for a startup.
Kpi Dashboard Design
Design effective KPI dashboards with metrics selection, visualization best practices, and real-time monitoring patterns. Use when building business dashboards, selecting metrics, or designing data visualization layouts.
Dbt Transformation Patterns
Master dbt (data build tool) for analytics engineering with model organization, testing, documentation, and incremental strategies. Use when building data transformations, creating data models, or implementing analytics engineering best practices.
Sql Optimization Patterns
Master SQL query optimization, indexing strategies, and EXPLAIN analysis to dramatically improve database performance and eliminate slow queries. Use when debugging slow queries, designing database schemas, or optimizing application performance.
Anndata
This skill should be used when working with annotated data matrices in Python, particularly for single-cell genomics analysis, managing experimental measurements with metadata, or handling large-scale biological datasets. Use when tasks involve AnnData objects, h5ad files, single-cell RNA-seq data, or integration with scanpy/scverse tools.
