Evaluating Impact of Non-Randomized Feature Launches
Statistics & ExperimentsModel answerLast updated
Design an observational study to measure causal effects when a product feature rolls out gradually across regions without randomization.
A subscription service wants to measure the impact of notification reminders on customer satisfaction (scored 1-5) and 4-week retention. The feature launched gradually across different geographic regions and communication methods (in-app, email, text) over several months, but assignment was not randomized. Users within the same household may influence each other's behavior.
Your task is to design a rigorous observational study to estimate causal effects. Address the following:
-
Primary approach: Specify your identification strategy and the statistical model you would estimate. Include what fixed effects you would use, how you handle time-varying patterns, and your standard error clustering approach.
-
Cohort definition: Explain how you define who is "treated" and when their observation period starts, avoiding common biases. Describe how you handle units that receive the feature at different times.
-
Validation: Outline pre-treatment checks you would perform, potential biases in your chosen method, and what modern estimation technique you would use to address them.
-
Alternative method: Describe a propensity-based approach as a robustness check, including which variables you need, how you assess quality, and what thresholds you use.
-
Testing: Propose two placebo tests and one falsification check to validate your assumptions.
-
Complications: Explain how you handle household spillovers, missing satisfaction scores, and self-selection into communication channels.
-
Power: Sketch a calculation for minimum detectable effect, stating your key assumptions about baseline metrics and correlation structure.
Be specific about formulas, diagnostics, and decision rules.
Hints
Hint 1
Start by identifying the level at which the feature was actually assigned—individual users didn't choose when they got access
Hint 2
For any longitudinal comparison, ensure both groups start their observation clocks at the same point in their journey to avoid survival bias
Hint 3
Two-way fixed effects models can produce misleading results when treatment timing varies; consider what happens when early-treated units become controls for late-treated units
Model answer
Hard Try it yourself first — then compare your approach, complexity and edge cases.
Model Answer
This problem tests your ability to extract causal estimates from non-experimental data when randomization wasn't possible. The gradual rollout provides natural variation in timing that can be exploited with the right design.
1. Identification Strategy and Model Specification
I would use a staggered difference-in-differences design with event-study specification. The key insight is that regions receiving the feature at different times provide comparison groups for each other.
Construct a user-week panel dataset. Define treatment at the region-time level: each region has a specific launch week G. My regression specification:
Y_it = α_i + λ_rt + Σ(k=-L to K, k≠-1) β_k · 1[t - G_region(i) = k] + X_it'γ + ε_it
Components:
- α_i: User fixed effects, absorbing time-invariant characteristics (baseline engagement, demographics)
- λ_rt: Region-by-week fixed effects, controlling for seasonal patterns (holidays, external events) that affect all users in a region similarly
- Event-time dummies: k represents weeks relative to launch. The coefficient β_k captures the treatment effect k weeks after launch. I omit k=-1 as the reference period and bin endpoints to avoid sparse cells
- X_it: Time-varying controls measured pre-treatment (account tenure bucket, days since last order)
- Standard errors: Cluster at the region level, since that's where treatment is assigned. With fewer than 50 regions, use wild cluster bootstrap (Cameron et al.) to avoid over-rejection
For communication methods that launch at different dates within a region, I'd either analyze each channel separately or define treatment as the earliest launch and include channel-specific indicators.
Outcome variables: 4-week retention (binary indicator measured from week t) and CSAT score (continuous, when available).
2. Treatment Definition and Cohort Construction
The critical mistake is defining treatment as "user received a notification." This creates immortal time bias: users must survive long enough to receive a notification, artificially inflating retention in the treated group.
Correct approach:
- Time zero = eligibility, not receipt. A user becomes treated the week their region launches, if they have an active subscription that week
- Cohort formation: For each launch cohort g, the risk set includes all active subscribers in launching regions plus all subscribers in not-yet-launched regions at that same calendar week
- Not-yet-treated as controls: Regions that haven't launched yet serve as comparison groups. Once their launch occurs, they exit the control pool (possibly with a 1-2 week buffer if there was advance communication) and form their own cohort
- Covariate measurement: All baseline characteristics measured the week before each cohort's time zero
This "target trial emulation" framework ensures treated and control groups face the same observation window from the same starting point.
3. Pre-Trend Tests, Bias Detection, and Estimator Choice
Pre-treatment validation:
- Plot lead coefficients (β_-L through β_-2) with confidence intervals. The parallel trends assumption requires these to be jointly zero
- Formal test: Joint F-test or Wald test that all leads equal zero
- Interpret magnitude, not just p-values: if leads are noisy and point estimates are 50% of the main effect, a non-significant test doesn't validate the design
- Sensitivity analysis: Use Rambachan and Roth's approach to quantify how much pre-trend violation would eliminate the estimated effect
Bias in standard two-way fixed effects:
With staggered timing, conventional TWFE implicitly uses already-treated units as controls for later-treated units. If effects persist or grow, this creates negative weights and can reverse the sign of estimates.
- Diagnostic: Run Goodman-Bacon decomposition to see how much weight comes from "late vs. early-treated" comparisons
- Modern estimator: Use Callaway and Sant'Anna for three reasons:
- Explicitly uses not-yet-treated units as the comparison group
- Estimates group-time average treatment effects ATT(g,t) that aggregate cleanly to event-time or overall effects
- Supports doubly-robust estimation (combines regression adjustment with propensity weighting), important since early vs. late launching regions may differ
Alternative: Sun and Abraham's interaction-weighted estimator, which I'd report as a robustness check.
4. Propensity-Based Backup Approach
Within each launch cohort, match or weight users in launching regions to users in not-yet-launched regions.
Covariates (all measured before launch):
- Account age, number of active prescriptions
- Historical adherence rate (refills on time)
- Prior satisfaction scores and survey response rate
- Customer support contact frequency
- Communication preferences and opt-in status for each channel
- Household size proxy (multiple accounts at same address)
- Urban vs. suburban region classification
- Device platform
Method: Overlap weighting (Li et al.) as primary approach. Weight treated units by 1-e(X) and controls by e(X), where e(X) is the propensity score from a logistic regression. This targets the population where treatment and control groups overlap most and avoids extreme weights.
As sensitivity check, use nearest-neighbor propensity score matching (1:3 ratio) with caliper = 0.2 × SD(logit(propensity score)) and no replacement.
Balance assessment:
- Standardized mean difference < 0.10 for all covariates (target < 0.05 for prior retention and satisfaction)
- Variance ratio between 0.5 and 2.0
- Visual: propensity score density plot showing overlap
- Report effective sample size and percentage of treated units matched
5. Placebo Tests and Falsification
Placebo outcome: Satisfaction scores for a different product vertical that shouldn't be affected (e.g., non-prescription purchases). If the "effect" appears there too, it suggests regional confounding like concurrent marketing campaigns.
Placebo exposure: Among users who had opted out of a specific channel before launch (e.g., disabled push notifications), estimate the "effect" of that channel launching. Since they can't receive it, any nonzero effect indicates confounding.
Falsification test: Assign fake launch dates 8-12 weeks before actual launches. Estimate the model on pre-period data only. Repeat with 1000 random placebo dates to generate a null distribution. The true effect should be an outlier; pre-period placebo effects should center on zero.
6. Addressing Complications
Household spillovers: Since households typically reside in one region, the regional treatment assignment contains spillovers. The estimated effect is therefore a total effect including peer influence. This is often the policy-relevant parameter. To isolate direct effects, I'd need household composition data and could compare single-member households to multi-member households (recognizing selection differences).
Missing satisfaction scores: CSAT has non-random missingness (low-satisfaction users less likely to respond). Use:
- Inverse probability weighting based on predicted response propensity
- Lee bounds to bracket the effect under worst-case selection
- Report results for retention (observed for all) as the more reliable outcome
Channel selection: Users self-select into communication preferences. Estimate intent-to-treat effects based on eligibility (regional launch), not actual receipt. This captures the effect of offering the feature. For treated-on-treated effects, use instrumental variables (regional launch as instrument for receipt) but report with appropriate caveats about LATE interpretation.
7. Power and Minimum Detectable Effect
Key parameters:
- Baseline 4-week retention: 85%
- Baseline CSAT standard deviation: 1.2 points
- Intra-region correlation (ICC): 0.05
- Intra-household correlation: 0.15
- Expected adoption rate: 60% of eligible users
- Regions: 40 (20 treated at various times, 20 controls)
- Users per region: 5,000 average
Design effect: 1 + (n̄-1)×ICC where n̄ is average cluster size
For retention with 80% power, α=0.05, two-tailed test:
MDE ≈ 2.8 × √(2 × p(1-p) × design_effect / N_effective)
MDE ≈ 2.8 × √(2 × 0.85 × 0.15 × 1.25 / 200,000) ≈ 0.004 or 0.4 percentage points
Adjust downward by adoption rate for ITT. With staggered timing, effective sample size is lower (roughly 60% of full sample since not all periods contribute). Conservative MDE: 0.7 percentage points for retention.
For CSAT, with similar parameters: MDE ≈ 2.8 × √(2 × 1.44 × 1.25 / 200,000) ≈ 0.02 points
These assume no household clustering; with household ICC, inflate by additional factor of √(1 + (h-1)×0.15) where h is average household size.
Common mistakes to avoid:
- Defining treatment by receipt instead of eligibility
- Using already-treated units as controls without adjustment
- Ignoring clustering at assignment level
- Over-controlling for post-treatment variables
- Treating non-significant pre-trends as proof of validity when power is low