Validating Experiment Results and Measuring Review Impact
Statistics & ExperimentsModel answerLast updated
Check whether a button color A/B test's retention drop is real or caused by test quality issues, then design a method to estimate how negative reviews affect repurchase.
You're analyzing two experimentation scenarios:
Scenario 1: Button Color Test
Your team ran an experiment changing a call-to-action button color and observed a retention decline in the variant. Before concluding the color change harmed retention, what checks would you perform to verify the experiment itself was conducted properly? Walk through your diagnostic process.
Scenario 2: Review Impact Analysis
You need to measure how receiving a negative review affects a merchant's ability to retain repeat coupon buyers. Since you cannot randomly assign negative reviews to merchants, describe:
- What data you would collect
- What methodology you would use to get a credible causal estimate
- What assumptions you're making and how you'd validate them
Hints
Hint 1
For the first scenario, consider whether users were actually split evenly and whether the groups were comparable before the test started
Hint 2
For the second scenario, think about what factors cause both reviews and customer behavior—how can you separate correlation from causation?
Hint 3
Natural experiments, instrumental variables, or controlled exposure to information can help isolate causal effects when randomization isn't possible
Model answer
Medium Try it yourself first — then compare your approach, complexity and edge cases.
Model Answer: Experiment Validation and Causal Inference
Part 1: Validating the Button Color Experiment
When an experiment shows a surprising result, verify the test infrastructure before trusting the metric movement. Work through these diagnostics systematically:
1. Traffic Split Verification
Check whether users were actually allocated according to the intended ratio using a chi-square test:
For a 50/50 split with 1M users, if you observe 504,000 vs 496,000, calculate:
- χ² = (4000)² / 500000 × 2 = 64
- This yields p < 0.001, indicating a sample ratio problem
Use p < 0.001 as your threshold since you run this check on every experiment. If this fails, stop—the results are untrustworthy until you identify why the split is skewed.
Common root causes include logging differences between variants, bot filtering that affects arms differently, or randomization happening at a different unit than analysis.
2. Pre-Experiment Balance
Randomization should create comparable groups. Compare these dimensions across control and treatment:
- Baseline metrics from before the experiment (prior retention, engagement)
- User demographics and platform distribution
- Acquisition source and user tenure
Calculate standardized differences: (mean_treatment - mean_control) / pooled_std. Values exceeding 0.10 suggest randomization issues.
3. Exposure and Triggering Logic
Verify users in the treatment arm actually encountered the changed button:
- Add logging that fires when the button renders
- Apply this "triggered" filter to both arms using the same logic
- Ensure your randomization unit matches your analysis unit (randomizing by user but analyzing by session creates correlation issues)
4. Temporal Effects
Maturity windows: If measuring 7-day retention, exclude users who entered the experiment fewer than 7 days ago—they haven't had time to complete the measurement window. Arms with different enrollment timing will have different maturity rates.
Time trends: Plot the treatment effect by calendar day. If the effect appears immediately then fades, you may be seeing user confusion rather than a persistent response. Also check for holidays, seasonal patterns, or concurrent launches.
5. Technical Health Metrics
Check whether the retention drop accompanies technical degradation:
- Error rates and crash frequency
- Page load time and rendering latency
- Completion rates for the user flow
A technical issue often masquerades as a feature effect.
6. Heterogeneity Analysis
Segment the effect by platform, user type, and other dimensions. If the retention drop appears only on dark mode or one mobile OS, you likely have a contrast or compatibility bug rather than a genuine color preference effect.
Decision framework: Only interpret the retention result if all checks pass. Otherwise, diagnose and fix the infrastructure problem, then re-run.
Part 2: Measuring Negative Review Impact
Defining the Question Clearly
Be precise about what you're measuring:
- Unit of analysis: merchant-cohort (merchants grouped by when they received a review)
- Treatment: a negative review (≤2 stars) appearing on the merchant page
- Outcome: repurchase rate—the fraction of previous coupon buyers who purchase again within 30 days
- Effect of interest: the informational impact (customers seeing the review), not the underlying quality issue
The key confounding: merchants who provide poor service both receive negative reviews and lose customers through direct experience. You need to separate the information channel from the quality channel.
Data Requirements
Review activity:
- Review timestamp (created, published, visible to customers)
- Rating and content
- Review prominence on page
Customer behavior:
- Page views and review section engagement
- Purchase and repurchase timing at customer × merchant level
Merchant characteristics:
- Category, location, price tier
- Historical rating trajectory and review volume
- Pre-period repurchase baseline
Customer attributes:
- Purchase frequency and recency
- Engagement patterns
Methodological Approaches
Approach 1: Randomized exposure holdout (strongest)
Randomly prevent a small percentage of users from seeing newly posted negative reviews for a brief window (24-48 hours). Compare repurchase rates between:
- Customers exposed to the review
- Customers shown the merchant page without the review
Since both groups are engaging with the same merchant at the same time, merchant quality is held constant—this isolates the informational effect.
Considerations: requires careful ethical review and should be time-limited to minimize impact.
Approach 2: Difference-in-differences
Compare merchants receiving negative reviews to similar merchants who didn't, before and after the review:
RepurchaseRate = β₀ + β₁(Treated) + β₂(PostReview) + β₃(Treated × PostReview) + controls
The coefficient β₃ estimates the causal effect under parallel trends: treated and control merchants would have followed the same trajectory absent the review.
Validate parallel trends by:
- Plotting pre-period trends for both groups
- Testing for pre-treatment trend differences
- Using matching or propensity scores to construct a better control group
Approach 3: Regression discontinuity
If reviews require moderation and queue times vary unpredictably with load, use moderation delay as an instrument. Merchants whose reviews publish quickly vs slowly are quasi-randomly determined, creating natural variation in exposure timing.
Compare merchants just above and below a delay threshold, or use the delay continuously as an instrument for early exposure.
Approach 4: Propensity score matching
Model the probability a merchant receives a negative review based on observables (category, volume, trend, price). Match treated merchants to controls with similar propensity scores, then compare outcomes.
This assumes no unobserved confounders—a strong assumption. Use it when experimental or quasi-experimental designs aren't feasible, and conduct sensitivity analysis.
Validation and Robustness
- Placebo outcomes: test the method on outcomes that shouldn't be affected (purchases from other merchants)
- Falsification tests: apply the treatment definition to a pre-period when no reviews were posted—you should see no effect
- Sensitivity analysis: vary the matching criteria, time windows, and control group definitions to verify results are stable
- Heterogeneity: examine whether effects differ by review severity, merchant tenure, or customer loyalty
Common Pitfalls
- Analyzing all reviews together (positive reviews have different mechanisms)
- Ignoring merchant volume (high-volume merchants naturally get more reviews of all types)
- Using aggregate merchant-level data when customer-level exposure varies
- Measuring short-term reactions that don't reflect long-term behavior
The strongest approach combines randomized exposure testing with observational methods to triangulate the effect from multiple angles.