一键导入
choosing-causalpy-methods
// Choose the appropriate CausalPy experiment class from a causal question, data structure, treatment assignment, and identification assumptions. Use before writing analysis code when the method is not yet settled.
// Choose the appropriate CausalPy experiment class from a causal question, data structure, treatment assignment, and identification assumptions. Use before writing analysis code when the method is not yet settled.
Fit, summarize, plot, and interpret a chosen CausalPy experiment. Use after the causal method has been selected, including when configuring PyMC/sklearn models and scale-aware custom priors.
Review CausalPy pull requests end-to-end by classifying PR type, checking branch freshness, mergeability, remote CI, correctness, security, tests, docs, and maintainer concerns. Use when asked to review a PR, assess a branch before merge, summarize PR risks, or request changes.
Create, evaluate, and triage GitHub issues for CausalPy. Use when filing a bug, proposing an enhancement, analyzing existing issues, or splitting large work into parent-child sub-issues.
Bring a pull request to green by syncing with main, resolving conflicts safely, and fixing failing checks with CausalPy conventions.
Turn issues into PRs, handle commits, and run prek checks consistently.
Perform structured research and turn findings into an implementation plan.
| name | choosing-causalpy-methods |
| description | Choose the appropriate CausalPy experiment class from a causal question, data structure, treatment assignment, and identification assumptions. Use before writing analysis code when the method is not yet settled. |
Use this skill to translate a user's causal question into a CausalPy experiment choice. This is the design-intake skill, not the implementation skill. Once the method is chosen, hand off to running-causalpy-experiments for constructor details, model configuration, priors, summaries, plots, and interpretation.
InterruptedTimeSeries.PiecewiseITS.DifferenceInDifferences.StaggeredDifferenceInDifferences.SyntheticControl.SyntheticDifferenceInDifferences.PanelRegression.PrePostNEGD.RegressionDiscontinuity.RegressionKink.InstrumentalVariable.InversePropensityWeighting.When you use this skill, return:
running-causalpy-experiments and the relevant method reference.