Loads internal CausalPy example datasets. Use when the user needs example data or asks about available demos.
Installation
Details
Usage
After installing, this skill will be available to your AI coding assistant.
Verify installation:
skills listSkill Instructions
name: loading-datasets description: Loads internal CausalPy example datasets. Use when the user needs example data or asks about available demos.
Loading Datasets
Loads example datasets provided with CausalPy.
Usage
import causalpy as cp
df = cp.load_data("dataset_name")
Available Datasets
| Key | Description |
|---|---|
did | Generic Difference-in-Differences |
its | Generic Interrupted Time Series |
sc | Generic Synthetic Control |
banks | DiD (Banks) |
brexit | Synthetic Control (Brexit) |
covid | ITS (Covid) |
drinking | Regression Discontinuity (Drinking Age) |
rd | Generic Regression Discontinuity |
geolift1 | GeoLift (Single cell) |
geolift_multi_cell | GeoLift (Multi cell) |
More by pymc-labs
View allSelects 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.
Interactive development in marimo notebooks with validation loops. Use for creating/editing marimo notebooks and verifying execution.
Fits causal models, estimates impacts, and plots results using CausalPy. Use when performing analysis with DiD, ITS, SC, or RD.
Performs placebo-in-time sensitivity analysis to validate causal claims. Use when checking model robustness, verifying lack of pre-intervention effects, or ensuring observed effects are not spurious.