hieudoanm/hieudoanm.github.io/causal-inference

Claude Code and agent skill by hieudoanm/hieudoanm.github.io

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Frame and evaluate causal questions by defining estimands, drawing causal models, assessing identification assumptions, and planning robust analyses.

Install

npx vskill@latest install hieudoanm/hieudoanm.github.io/causal-inference

SKILL.md

The same SKILL.md was published earlier as hieudoanm/hieudoanm.github.io/causal-inference.

Causal Inference

Purpose

Clarify what causal effect is being asked about, what evidence could identify it, and what assumptions connect observed data to the target. A causal diagram or statistical model alone does not establish causality.

Workflow

  1. State the causal question, target population, intervention or exposure, comparator, outcome, and time horizon.
  2. Define the estimand and specify how post-treatment events are handled.
  3. Draw a causal diagram based on substantive knowledge; distinguish measured and unmeasured variables.
  4. Select a design and identification strategy before choosing an estimator.
  5. State assumptions, diagnostics, overlap/positivity, and threats to identification.
  6. Specify estimation, uncertainty, missingness, and sensitivity analyses.
  7. Interpret the estimate only for the population and intervention represented by the design.

See identification strategies before treating regression adjustment as a causal method.

Core cautions

  • Association, prediction, temporal order, and causation are different claims.
  • Adjusting for every available variable can introduce bias; distinguish confounders, mediators, colliders, and instruments using the causal structure.
  • “Controlling for” variables does not remove unmeasured confounding by itself.
  • Report the target contrast and assumptions, not just the model coefficient.
  • Use negative controls, alternative specifications, or quantitative bias analysis only when they test a stated threat.

Observational and experimental evidence

Randomization can support exchangeability for assignment under proper implementation, but attrition, nonadherence, interference, measurement, and generalizability still matter. Observational designs require explicit identification assumptions and design choices; complex estimators do not make weak assumptions credible.

Reporting

Describe the causal question, design, target population, estimand, identification assumptions, analytic strategy, diagnostics, and sensitivity analyses. Distinguish the causal interpretation from the observed data and avoid overstating external validity.

Completion checks

  • The estimand and target population are explicit.
  • A design-based identification argument is stated and critically assessed.
  • Confounders and other causal roles are reasoned, not selected by significance.
  • Key assumptions and sensitivity analyses are documented.
  • Conclusions do not exceed what the design identifies.

Further detail

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/hieudoanm/hieudoanm.github.io/causal-inference/badge)](https://verified-skill.com/skills/hieudoanm/hieudoanm.github.io/causal-inference)

Something wrong with this skill or its page? Tell us.