KatInterview

Propensity Score Matching for Non-Randomized Feature Opt-Ins

Statistics & ExperimentsModel answer
MediumModel answerStatistics & Experimentscausal inferencepropensity score matchingobservational data

Last updated

Learn how to apply propensity score matching to non-randomized feature opt-in data, covering causal assumptions, propensity score estimation, balance diagnostics, and alternative estimators.

You want to evaluate the causal impact of a new opt-in feature on 7-day retention (retained_7d).

Because users manually opt in after seeing a prompt, treatment is non-randomized: highly active or engaged users choose to adopt the feature at significantly higher rates. You are provided with an observational dataset containing:

  • user_id: Unique user identifier
  • opt_in: Binary indicator (1 = opted in, 0 = exposed to prompt but did not opt in)
  • Pre-period covariates (e.g., historical session count, watch time, device type, region, account tenure)
  • retained_7d: Binary outcome indicator (1 = active 7 days post-exposure, 0 = churned)

Explain how you would structure an analysis using Propensity Score Matching (PSM) to isolate the feature's true causal effect. In your answer, address:

  1. Identification Assumptions: The formal causal assumptions required and real-world mechanisms that break them.
  2. Propensity Score Estimation & Feature Selection: How to select pre-period covariates, fit the model, and key traps to avoid.
  3. Matching Strategy & Support Constraints: Choosing distance metrics, setting calipers, and enforcing overlap.
  4. Balance Diagnostics: How to confirm covariate balance without looking at the outcome variable.
  5. Estimand Choice & Variance Quantification: Calculating ATT vs. ATE and properly computing standard errors.
  6. Sensitivity & Alternative Approaches: Methods to check for hidden bias, and alternative observational estimators if PSM performs poorly.

Hints

Hint 1

Restrict the study population strictly to users who were shown the prompt to prevent positivity violations.

Hint 2

Focus covariate selection on confounders and strong outcome predictors, while strictly excluding post-treatment variables.

Hint 3

Do not rely on t-test p-values for balance verification; rely on Standardized Mean Difference (SMD) and variance ratios.