Designing a Cross-App Causal Experiment for a New Social Feature
Statistics & ExperimentsModel answerLast updated
Design an end-to-end causal experiment for a new short-video feature that may shift engagement between two apps in the same product family.
Your company runs two major social apps — call them Spark (a visual, short-form platform) and Pulse (a broader social network). Both are owned by the same parent and share an underlying user identity system.
The Spark team is about to launch Remix, a new feature that lets users re-create and react to each other's short videos. Early signals suggest Remix will boost time-in-app on Spark, but product leadership is worried it could pull attention away from Pulse — or worse, reward the team for moving engagement between two apps the company already owns.
You are the senior data scientist responsible for the measurement plan. Answer each part below.
a) Define the OEC. Propose a single-objective Overall Evaluation Criterion (OEC) that measures family-level ecosystem value. It should not reward pure engagement cannibalization between Spark and Pulse. Explain every component and why it belongs.
b) Design a causal measurement plan.
- Should you randomize at the user level or the geo (cluster) level? When is each appropriate, and what is the risk of interference here?
- Describe a staggered rollout with a Pulse holdout arm. What does each arm tell you?
- Specify your regression model, the estimator you would use for staggered timing, and how you handle pre-trend checks, calendar effects, and standard-error estimation.
- Explain how you would limit interference between treated and control units.
c) Compute sample size and test duration (back-of-envelope). Assume:
- Baseline Pulse time = 20 min/day, CV ≈ 1
- ICC at the geo level ρ = 0.02, ~50,000 users per geo
- MDE = 1% relative on the ecosystem OEC
- Power = 0.8, α = 0.05 (two-sided)
Show your work. What does the result tell you about feasibility, and how would you rescue an underpowered design?
d) Specify guardrail metrics and stopping rules. List at least four guardrail metrics and explain under what conditions you would stop or roll back the experiment early.
e) Interpret a mixed result. The experiment completes. Spark's OEC contribution improves. Pulse daily time drops 3%. The family-level OEC is flat. Walk through how you interpret this, what follow-up experiments you would run, and what product or pricing levers you might recommend.
Hints
Hint 1
The OEC unit should be the person across both apps, not a per-app account. Think about what a zero-sum shift between apps scores when you add up both sides.
Hint 2
Interference is the key reason to consider geo randomization. Ask yourself: if a treated user's Remix content appears in a control user's feed, what happens to your estimate of the treatment effect?
Hint 3
With ICC = 0.02 and 50,000 users per geo, the design effect is enormous. The rescue is variance reduction via CUPED on pre-period geo means, not adding more users per cluster.
Model answer
Hard Try it yourself first — then compare your approach, complexity and edge cases.
What this question is really testing
Five things: whether you can build a cannibalization-neutral metric; whether you know when cluster randomization is necessary versus just expensive; whether you can do design-effect arithmetic and recognize an underpowered design; whether you understand staggered diff-in-diff pitfalls; and whether you can make a business call when two products trade off.
a) The OEC: person-level, quality-weighted, substitution-neutral
The unit of randomization and measurement must be the person across both apps, not an app-level account. Without this, a user who drops Pulse and joins Spark looks like a win; at the person level, they net to zero.
Proposed OEC for person i:
$$\text{OEC}i = \sum{a \in {\text{Spark, Pulse}}} \Big[ w_t \cdot \log(1 + \text{QualTime}{ia}) + w_s \cdot \text{MeaningfulSessions}{ia} + w_c \cdot \text{CreatorInteractions}_{ia} \Big]$$
Each component earns its place:
- QualTime strips out low-signal time: sub-2-second scroll-past views and sessions that end with a hide or report action. Raw time rewards addiction patterns, not value.
- log(1 + ·) dampens heavy users so the top 1% of session length doesn't dominate experiment results.
- MeaningfulSessions counts sessions containing a comment, share, DM, or a create/remix action. Passive consumption alone doesn't score.
- CreatorInteractions captures supply-side health: follows, replies to creators, remixes of creator content. A platform that burns out its creators fails slowly, so this needs to be in the primary metric.
- Weights come from a long-run regression: which short-term components predict 6-month retention and LTV? They should not be hand-tuned by a product team — that creates Goodhart's Law problems. Refit annually.
Why this resists cannibalization: a user who shifts 5 minutes from Pulse to Spark with no change in interactions scores near zero on the OEC, because the gain on one term cancels the loss on the other. A positive OEC signal requires net new engagement or meaningfully richer interactions at the person level.
Revenue and churn belong in guardrails, not inside the OEC. Folding ad revenue into the primary metric lets ad-load increases pass experiments.
b) Causal measurement plan
User-level vs. geo-level randomization
User-level randomization already captures within-person cross-app substitution cleanly — the same person is in the experiment, so their Pulse time is observed in both arms. It is cheap and well-powered.
The problem is network interference. Remix is a social feature. A treated user's Remix content surfaces in control users' feeds on Spark and, via cross-posting, on Pulse. This contaminates the control group and biases the treatment effect estimate toward zero (or in unpredictable directions for Pulse).
Recommendation: run both. A user-level A/B for fast iteration and direct-effect estimation. A geo-cluster experiment for total ecosystem impact, including spillovers and creator supply response.
Staggered geo rollout with a Pulse holdout
- Select 300–600 geos (metro areas, DMAs, or global city clusters). Stratify by pre-period OEC, Spark/Pulse usage ratio, and region to ensure balance.
- Randomize into three treatment waves (staggered two weeks apart) plus a never-treated control group of roughly 30% of geos.
- Within half of the treated geos, apply a Pulse holdout: suppress Remix content from being cross-posted into Pulse surfaces. This isolates attention competition from content injection as two distinct channels of Pulse impact.
Regression specification
Use an event-study form:
$$Y_{gt} = \alpha_g + \lambda_t + \sum_k \beta_k \cdot \mathbf{1}[t - E_g = k] + \varepsilon_{gt}$$
Run it separately for Spark time, Pulse time, and the family OEC.
Staggered timing: plain two-way fixed effects (TWFE) is biased when treatment effects grow over time (novelty decay and creator ramp-up make this likely here). Use Callaway–Sant'Anna or Sun–Abraham estimators, which construct clean 2×2 comparisons against the never-treated group.
Pre-trends: use at least 4 weeks of pre-period data. Test that the pre-treatment lead coefficients are jointly zero and plot the event study. Randomization makes this a sanity check rather than an identifying assumption — if pre-trends appear, investigate data pipeline issues.
Calendar effects: include day-of-week × region fixed effects and holiday dummies. Since treatment waves span different calendar weeks, use region × week fixed effects so you only compare units within the same calendar context.
Inference: cluster SEs at the geo level. With fewer than ~50 clusters per arm, plain cluster-robust SEs are unreliable — use a wild cluster bootstrap or randomization inference over the actual assignment vector. Apply CUPED at the geo level using pre-period OEC as the covariate.
Interference mitigation
- Geo buffers: exclude geos adjacent to treated units (commuter belts, suburban rings) from the analysis.
- Stable geo assignment: assign users based on their 28-day modal home location, not current IP. Travelers keep their home-geo assignment.
- Content containment: Remix content from treated geos is not distributed to control-geo users via the ranking system. Log leakage; target under 1% of control-user impressions being Remix content.
c) Sample size and duration
User-level baseline (iid):
$$n = \frac{2(z_{0.975}+z_{0.8})^2 \cdot \text{CV}^2}{\text{MDE}^2} = \frac{2 \times 7.84 \times 1}{0.0001} \approx 157{,}000 \text{ users per arm}$$
Trivially achievable in a day.
Geo-level design effect:
$$\text{DE} = 1 + (m-1)\rho \approx 1 + 49{,}999 \times 0.02 \approx 1{,}001$$
Required geos per arm:
$$k = \frac{n \times \text{DE}}{m} \approx \frac{157{,}000 \times 1{,}001}{50{,}000} \approx 3{,}140 \text{ geos per arm}$$
The US has ~210 DMAs. This design is infeasible as stated. The critical insight: with large clusters, each geo contributes only about $1/\rho = 50$ effective users. Adding more users per geo does nothing; only adding more geos helps.
Rescuing the design:
- Geo-level CUPED: geo means are stable week-to-week (R² ≈ 0.9), reducing required geos to roughly 3,140 × (1 − 0.9) = ~315 per arm. Achievable with global cities.
- Finer geo granularity: zip-code clusters or postal districts increase available units to 1,000+, at the cost of stronger buffers.
- Honest fallback: with ~200 geos, the achievable MDE is roughly 2–3%. Use the geo experiment for direction and spillover sign, and the user-level test for precision.
Duration: 4 weeks pre-period + 4 weeks post per wave × 3 waves staggered 2 weeks apart ≈ 12 weeks. A 5% long-term holdout continues for 6 months to catch creator ecosystem effects.
d) Guardrail metrics and stopping rules
| Guardrail | Threshold |
|---|---|
| App crash rate (Spark) | +10% relative triggers pause |
| Feed relevance score | −5% triggers review |
| Creator DAU on Spark | −2% triggers review |
| Ad revenue per user (both apps) | −3% triggers escalation |
Stopping rules: pre-register thresholds before launch. Use sequential testing (e.g., mSPRT) for crash rates and revenue — these can be monitored continuously without inflating false-positive rates. Do not stop for OEC improvements early; let the experiment run to the pre-specified duration to capture novelty decay.
e) Interpreting the mixed result
What you have: Spark OEC up, Pulse time down 3%, family OEC flat.
Interpretation: the feature created a real substitution effect. Users found Remix engaging enough to reduce Pulse time, but did not increase total ecosystem value. The flat family OEC means you have not grown the pie — you have resliced it. This is not a rollout-ready result.
What to check first:
- Is the Pulse drop concentrated in passive scrolling (low-quality time) or in active interactions? If Pulse is losing low-quality time and Spark is gaining high-quality interactions, the OEC metric may be understating genuine value improvement.
- Is creator supply on Spark growing? A short experiment may undercount the creator flywheel that builds over months.
Follow-up experiments:
- Run a 6-month holdout to measure whether the Pulse drop persists or users find a new equilibrium.
- Test a cross-app notification bridge: Remix activity on Spark surfaces as lightweight updates on Pulse, potentially recovering Pulse engagement without limiting Remix.
- Test Remix with cross-posting to Pulse enabled vs. disabled to isolate the content-injection channel (this is the Pulse holdout arm from part b).
Product and pricing levers:
- If Pulse time is structurally declining, consider whether Pulse ad load needs adjustment to preserve revenue neutrality.
- If creator interactions on Spark are growing, the long-term LTV case for Remix may still be positive even with a flat short-term OEC — surface this in the recommendation with explicit uncertainty bounds.
Common mistake to avoid: declaring the experiment a failure because one app's metric dropped. The right frame is always the family-level OEC. The harder mistake is declaring success because the OEC is flat — flat is not a win if the experiment cost 12 weeks of engineering and the goal was growth.