# Causal Inference Propensity Score Matching

> Estimates Average Treatment Effects (ATE) from observational data using Propensity Score Matching (PSM) and DoWhy. Use when measuring feature impact without run

- Skill: `bishnucd/causal-inference-propensity-score-matching` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx get-skill add bishnucd/causal-inference-propensity-score-matching`
- Raw SKILL.md: https://api.skillmd.com/api/skills/bishnucd/causal-inference-propensity-score-matching/raw
- Safety review: pending
- Works with: any agent that reads SKILL.md (Claude Code, Claude.ai, Cursor, Codex, Windsurf, 60+ more)
- Category: Coding & Dev Tools
- Author: Bishnucd (https://skillmd.com/u/bishnucd)
- Updated: 2026-12-02
- Page: https://skillmd.com/skills/bishnucd/causal-inference-propensity-score-matching

---

---
name: causal-inference-propensity-score-matching
description: Estimates Average Treatment Effects (ATE) from observational data using Propensity Score Matching (PSM) and DoWhy. Use when measuring feature impact without running randomized A/B tests.
license: MIT
metadata:
  author: Community List Maintainers
  version: "1.0.0"
  source: "https://github.com/py-why/dowhy"
---
# Causal Inference Propensity Score Matching

## Overview
Observational data suffers from selection bias (users who enable a feature are already more engaged). Propensity score matching pairs treated users with identical untreated controls to isolate true causal lift.

## Operational Workflow

1. **Model propensity scores**:
   - Model propensity scores: train logistic regression predicting probability of user receiving treatment.

2. **Execute nearest-neighbor matching pairing each treated user with an untreated user with identical propensity.**:
   - Execute nearest-neighbor matching pairing each treated user with an untreated user with identical propensity.

3. **Verify covariate balance across matched treatment and control groups.**:
   - Verify covariate balance across matched treatment and control groups.

4. **Calculate Average Treatment Effect on the Treated (ATT) with refutation sensitivity checks.**:
   - Calculate Average Treatment Effect on the Treated (ATT) with refutation sensitivity checks.

## Recommended Tools & Environments
- DoWhy / CausalML
- Python 3.10+
- Propensity Score Matching
- Econometrics

## Verification & Execution Criteria
- Pre-execution validation verifies all prerequisites and inputs.
- Step-by-step progress logging confirms intermediate state transitions.
- Post-execution checks verify output integrity and clean exit codes.

