Performing Causal Analysis
Estimate causal effects from existing data. Use when fitting or interpreting DiD, ITS, synthetic control, regression discontinuity, or other treatment-effect analyses, including robustness checks and counterfactual plots. For choosing a study design before analysis, use designing-experiments instead.
MCP get_skill({ skillId: "performing-causal-analysis-fced0783" })Use this skill with your agent
Create a free account and connect via MCP
# Performing Causal Analysis Executes causal analysis on existing data. This skill owns model setup, treatment-effect estimation, counterfactual comparison, robustness checks, and interpretation of fitted causal results. It does not own the earlier question of which experiment or quasi-experiment should be designed before analysis begins. ## Workflow 1. **Load Data**: Ensure data is in a Pandas DataFrame. 2. **Initialize Experiment**: Use the appropriate class (see References). 3. **Fit & Model**: Models are fitted automatically upon initialization if arguments are provided. 4. **Analyze Results**: Use `summary()`, `print_coefficients()`, and `plot()`. ## Core Methods * `experiment.summary()`: Prints model summary and main results. * `experiment.plot()`: Visualizes observed vs. counterfactual. * `experiment.print_coefficients()`: Shows model coefficients. ## References Detailed usage for specific methods: * [Difference-in-Differences](reference/diff_in_diff.md) * [Interrupted Time Series](reference/interrupted_time_series.md) * [Synthetic Control](reference/synthetic_control.md)
Related Skills
More skills in Data, AI & Research
Ablation Planner
Use when main results pass result-to-claim (`claim_supported = yes` or `partial`) and ablation studies are needed for paper submission. A secondary Codex agent designs ablations from a reviewer's perspective; the local executor reviews feasibility and implements.
Ablation Planner
Use when main results pass result-to-claim (claim_supported=yes or partial) and ablation studies are needed for paper submission.
About
Provides information about the bitwize-music plugin, its version, and its creator. Use when the user asks about the plugin, its purpose, version, or capabilities.
Ab Test Analysis
Analyze A/B test results with statistical significance, sample size validation, confidence intervals, and ship/extend/stop recommendations. Use when evaluating experiment results, checking if a test reached significance, interpreting split test data, or deciding whether to ship a variant.
Academic Search
Search and analyze academic literature. Find papers, understand research methodologies, and synthesize academic findings for research projects.
Adaptyv
How to use the Adaptyv Bio Foundry API and Python SDK for protein experiment design, submission, and results retrieval. Use this skill whenever the user mentions Adaptyv, Foundry API, protein binding assays, protein screening experiments, BLI/SPR assays, thermostability assays, or wants to submit protein sequences for experimental characterization. Also trigger when code imports `adaptyv`, `adaptyv_sdk`, or `FoundryClient`, or references `foundry-api-public.adaptyvbio.com`.
Explore Other Categories
Skills from other categories with shared topics
Algorithmic Art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
cancel-ralph
Codex-compatible cancel command for Ralph loop state, preserving the original command name.
Code Reviewer
Default code-quality route for broad code review, PR review, maintainability, correctness, and regression-risk checks. Do not use as the primary route for dedicated OWASP/security audits, review-feedback handling, completion verification, AI-code cleanup, or TDD/test-first work.