Estimating Feature Impact Without Randomized Assignment
Statistics & ExperimentsModel answerLast updated
Measure the causal effect of a self-selected feature rollout using quasi-experimental methods when A/B testing isn't possible.
Your product team launched a new feature that users can enable in settings. Due to implementation constraints, the feature was not randomly assigned—users chose whether to adopt it. Your manager wants to know: did the feature increase engagement?
You have access to:
- User-level event logs (sessions, time spent, content views) from 12 weeks before and 8 weeks after the feature became available
- User attributes (tenure, device type, historical activity patterns, location)
- Adoption timestamps for each user who enabled the feature
Your task:
-
Recommend an analytical approach to estimate the causal effect. Choose from difference-in-differences, synthetic control methods, instrumental variables, or propensity score matching. Justify your choice and state the key assumptions required for valid inference.
-
Design validation tests to check whether your assumptions hold. Include pre-treatment checks, placebo tests, and robustness analyses.
-
Specify sensitivity analyses to quantify how robust your conclusions are to potential violations of your assumptions.
-
Explain the limitations of your approach compared to a randomized experiment, focusing on the direction and magnitude of potential biases.
Hints
Hint 1
Think about what confounders drive both feature adoption and engagement outcomes—then consider methods that control for those confounders either through temporal comparisons or matching
Hint 2
Users who adopt new features early often differ systematically from non-adopters; check whether their pre-adoption trajectories were already diverging
Hint 3
If your estimate relies on parallel trends, demonstrate that trends were actually parallel before treatment and quantify how much deviation would overturn your conclusion
Model answer
Hard Try it yourself first — then compare your approach, complexity and edge cases.
Model Answer
Understanding the Challenge
The core difficulty is self-selection bias: users who enable the feature likely differ from those who don't, both in observable ways (more active, different devices) and unobservable ways (higher motivation, shifting preferences). Simply comparing adopters to non-adopters would conflate the feature's effect with pre-existing differences.
We're estimating the Average Treatment Effect on the Treated (ATT)—the impact on users who actually adopted, not the entire user base. This distinction matters for product decisions.
1. Recommended Approach: Matched Difference-in-Differences
Strategy: Combine propensity score matching with a difference-in-differences estimator that accounts for staggered adoption timing.
Implementation steps:
Step 1 – Matching: Build a propensity score model predicting adoption using pre-period features:
- 8-week pre-period engagement metrics (sessions, time spent, both levels and trends)
- User characteristics (tenure, device, geography, content preferences)
- Match each adopter to 3-5 non-adopters within a caliper (e.g., propensity score distance < 0.05)
Step 2 – Difference-in-Differences: For each matched set, compute the difference in outcome trajectories before and after adoption. Since users adopt at different times, use a staggered DiD estimator (Callaway-Sant'Anna or Sun-Abraham) that doesn't use already-treated units as controls.
Why this combination:
- DiD removes time-invariant confounding (baseline engagement differences, device effects)
- Matching makes parallel trends plausible by ensuring treated and control groups have similar pre-adoption trajectories
- Staggered estimators avoid bias from heterogeneous treatment effects and differential timing
Required assumptions:
- Conditional parallel trends: Matched non-adopters' counterfactual trajectories represent what adopters would have experienced without the feature
- No anticipation: Users don't change behavior before actually enabling the feature
- Common support: Every adopter has plausible control matches
- No spillovers: Control users aren't affected by adopters (e.g., through shared content or network effects)
- Stable composition: No systematic dropout or logging changes correlated with treatment
Why not alternatives:
- Propensity matching alone assumes selection is purely on observables—but adoption likely reflects unobserved motivation or temporary engagement spikes
- Synthetic control works better for aggregate units (one market, one launch date) rather than thousands of individual users with heterogeneous adoption times
- Instrumental variables would be ideal if available (e.g., randomized prompts to enable the feature, or device-specific availability), but without a valid instrument, this isn't feasible
2. Validation and Robustness Tests
Pre-trend validation:
Generate an event-study plot showing coefficients for each week relative to adoption. Weeks -8 through -2 should cluster near zero with narrow confidence intervals. Run a joint F-test: failure to reject supports parallel trends.
Critical check: Look for an engagement spike immediately before adoption (Ashenfelter's dip reversed). This indicates users adopted during atypical moments, violating parallel trends.
Placebo tests:
- Artificial treatment dates: Shift each user's adoption date back 4 weeks, using only pre-period data. Estimated "effects" should be statistically zero.
- Pseudo-treatment groups: Randomly reassign treatment status among matched pairs. Repeat 1,000 times to generate an empirical null distribution.
- Unaffected outcomes: Estimate the "effect" on metrics the feature cannot influence (e.g., profile updates if the feature is content-related). Nonzero effects suggest residual confounding.
Robustness checks:
- Vary time windows: Use 4-week, 6-week, and 12-week pre-periods; check 2-week, 4-week, and 8-week post-periods to detect decay
- Alternative control groups: Compare never-adopters vs. not-yet-adopters; vary matching specifications (nearest-neighbor k=1,3,5; caliper width; exact matching on key variables)
- Sample restrictions: Exclude extreme propensity scores (< 0.1, > 0.9); trim outlier users; stratify by cohort or geography
- Inference: Cluster standard errors by user and verify with wild bootstrap
3. Sensitivity Analyses
Negative control outcomes:
Identify metrics that share confounders with the treatment outcome but cannot be affected by the feature (e.g., activity on unrelated product surfaces). A significant "effect" on these metrics reveals how much residual bias remains.
Negative control exposures:
Find another opt-in feature with similar adopter profiles but no causal relationship to engagement. If it produces comparable "effects," the main estimate reflects selection rather than causation.
Rosenbaum bounds:
Calculate the sensitivity parameter Γ—the strength of unobserved confounding that would eliminate statistical significance. Report: "Results remain significant up to Γ = 1.7, meaning an unobserved confounder would need to increase adoption odds by 1.7× to explain away the effect." Compare this to observed confounders: if tenure alone shifts odds by 2.5×, Γ = 1.7 offers limited reassurance.
E-value calculation:
Compute the minimum confounder strength (in relative risk terms) needed to nullify the observed effect. Benchmark against the strongest observed covariate to contextualize plausibility.
Mechanism checks:
- Dose-response: Does engagement scale with feature usage intensity?
- Timing coherence: Does the effect appear immediately at adoption rather than gradually building?
- Heterogeneity: Is the effect larger for user segments where the feature is more relevant?
4. Limitations vs. Randomized Experiments
Bias directions:
| Source | Mechanism | Expected bias |
|---|---|---|
| Selection on growth | Users adopt when already increasing engagement | Overestimate |
| Temporary shocks | Adoption triggered by unusual activity spike | Overestimate |
| Novelty effects | Initial excitement fades over time | Overestimate (short-term) |
| Survivor bias | Dissatisfied adopters disable the feature | Overestimate |
| Network spillovers | Adopters' activity boosts control users | Underestimate |
Confidence level:
A randomized experiment delivers ~95% confidence (conventional α). This quasi-experimental design might provide 70-85% confidence depending on:
- How well pre-trends align (stronger alignment → higher confidence)
- Sensitivity analysis results (robust to Γ > 2 → higher confidence)
- Mechanism coherence (dose-response, timing, heterogeneity all align → higher confidence)
Recommended communication:
"We estimate a 12% increase in weekly sessions (95% CI: 8-16%). This likely overestimates the true effect by 2-5 percentage points due to selection bias, based on our sensitivity analyses. A randomized test would give a definitive answer, but this analysis provides strong directional evidence that the feature increases engagement."
When to recommend an A/B test:
If the estimated effect is business-critical (e.g., justifying major engineering investment) or the decision has high downside risk, the remaining uncertainty justifies running a proper randomized experiment.