Evaluating a Standalone Post Composer Under Network Interference

Medium · Analytics & Experimentation · Data Scientist · Technical Screen

Prompt

An online Q&A community wants to evaluate adding a standalone post composer alongside its existing question-submission entry point so members can publish free-form articles or updates without tying them to a question.

Design an end-to-end experiment to decide whether shipping this feature benefits the platform—covering feature clarification, hypothesis and metric selection, randomization and comparison design, sample-size and runtime estimation, statistical inference, and the launch recommendation.

Your design must explicitly account for network interference (cross-user spillovers): posts written by treated creators can surface to and draw engagement from control readers—or crowd out control authors' answers—so one member's assignment alters other members' outcomes.

Before locking in metrics, clarify how standalone posts behave in the product and what net platform success means. No preset traffic counts, social-graph density, test window, or target lift are supplied; introduce explicit, realistic assumptions to estimate sample size (or minimum detectable effect) and experiment duration, and explain how to interpret readouts when cross-arm spillovers cannot be reduced to zero.

Scope & Expectations

  • Clarify post distribution and reader interactions up front, and choose intent-to-treat primary, secondary, and Q&A cannibalization guardrail metrics rather than raw post counts.
  • Map the distinct spillover channels (reader exposure, feed-slot competition, and creator feedback loops) and how each biases a naive user-level split relative to a 100% rollout.
  • Justify a randomization unit and feed-isolation strategy, carry out an explicit cluster-adjusted power / MDE and duration calculation under stated assumptions, and match the variance estimator to the randomization unit.
  • Outline diagnostics and sensitivity bounds for leftover cross-arm leakage and tie them to pre-registered launch criteria.

Step-by-step walkthrough

  1. Clarify the feature and define what success means

    Before choosing any metric or statistical test, clarify how the new standalone post composer works in the product. The mechanics determine who is affected and how strongly users influence one another.

    • What is a post? Free-form writing that is not attached to a question—such as an essay, a short commentary, or a project note.
    • Where are posts distributed? Do they appear only on the author's profile, in followers' feeds, or ranked into the main home feed alongside answers? Home-feed ranking creates the largest audience and the strongest cross-user effects.
    • How can readers interact? Can readers view, upvote, comment on, and share posts the same way they interact with answers?
    • What is the product goal? Unlock creation from users who want to share knowledge without waiting for a matching question, and increase overall reading engagement—without hurting the core question-and-answer loop.

    For the rest of this design, assume posts are ranked into followers' feeds and the home feed alongside answers, support upvotes/comments/shares, and aim to grow platform-wide engagement without cannibalization. Cannibalization happens when a new feature grows by pulling activity away from an existing core feature rather than generating net-new activity.

    Crucially, "number of posts created" is not a valid success metric. Control users do not have the post tab at all, so post count is zero in control and positive in treatment by construction. True success is higher overall reading and total content creation across the platform while question-answering stays healthy.

  2. State the hypothesis and choose primary, secondary, and guardrail metrics

    Hypothesis: - Null hypothesis (H0): Adding the standalone post composer causes zero net change in weekly platform engagement per user. - Alternative hypothesis (H1): Adding the standalone post composer changes weekly platform engagement per user. We use a two-sided test (checking for both positive and negative effects) because low-quality posts or answer cannibalization could actually decrease engagement.

    Role Metric Why it belongs here
    Primary Sessions per user per week (across all assigned users) Captures net reader and creator value where the vast majority of users spend time
    Secondary Weekly active creator share (% of users creating a question, answer, or post) Tests whether the tab brings in net-new creators rather than just shifting existing answerers
    Secondary Engaged views, upvotes, and comments per post Checks whether created posts actually deliver value to readers
    Guardrail Answers written per 1,000 users per week Directly measures cannibalization of answers by posts
    Guardrail 7-day question answer rate (% of new questions receiving ≥ 1 answer in 7 days) Protects the core Q&A marketplace liquidity
    Guardrail Reports, hides, and spam flags per 1,000 views Detects feed-quality degradation from unprompted free-form posts

    Two measurement rules keep these metrics unbiased:

    1. Intent-to-treat (ITT): An intent-to-treat analysis includes every user assigned to treatment or control, regardless of whether they ever clicked the post tab. Comparing only "users who wrote a post" against control mixes the feature's causal effect with selection bias, because highly active users are already more engaged anyway.
    2. Ratio-metric variance: Metrics like "reports per 1,000 views" or "upvotes per post" have a random denominator that varies across users. Compute their uncertainty at the randomized cluster level or with the delta method—a mathematical formula that approximates the variance of a ratio of two random variables—rather than treating individual page views as independent coin flips.
  3. Map how user interference biases a naive A/B test

    A standard user-level A/B test relies on SUTVA (Stable Unit Treatment Value Assumption), which is the assumption that one user's outcome depends only on their own treatment assignment and never on anyone else's. On a networked Q&A platform, SUTVA breaks down through interference (also called network spillover), where treating one user changes another user's feed and behavior:

       Treated Users (have Post Tab)                 Control Users (no Post Tab)
      +-----------------------------+               +---------------------------+
      | 1. Write new posts          | --(spillover)-> 1. Read treated posts in  |
      |                             |   into feeds    |  home feed -> sessions  |
      |                             |                 |  rise (SHRINKS gap)     |
      |                             |               |                           |
      | 2. Posts take top feed      | --(crowding)--> 2. Control answers pushed |
      |    slots & reader upvotes   |   out answers   |  down feed -> views/    |
      |                             |                 |  upvotes drop (INFLATES |
      | 3. Only half of followers   | <--(muted)----- |  creator gap)           |
      |    react if posts are gated |    feedback     +---------------------------+
      +-----------------------------+
    

    Interference pushes naive 50/50 user-level estimates in both directions:

    1. Reader-side content spillover (underestimates true lift): If treated authors write compelling posts that appear in control users' feeds, control sessions rise too, shrinking the Treatment − Control gap toward zero.
    2. Creator-side feed competition (overestimates true lift): Feed slots and reader attention are finite. Treated posts push control authors' answers lower in the feed, stealing views and upvotes from control.
      • Concrete numeric example: Suppose total reader upvotes are fixed at 200 per pair of creators (100 each at baseline). In a 50/50 user test, treated creators earn 110 upvotes while control creators drop to 90. A naive comparison reports +20 upvotes (+22.2% over control). Yet if the tab launches to 100% of users, total upvotes remain 200, everyone averages 100 again, and the true platform-wide gain is 0%.
    3. Weakened feedback loops (underestimates long-run creation): Creators write more when their audience upvotes and comments. If only half the platform can see or engage with posts during the test, creators get weaker reinforcement than they would after a 100% launch.

    What the business actually needs to know is the global treatment effect (GTE)—the difference between average platform outcomes when 100% of users have the post tab versus when 0% of users have it:

    GTE = E[outcome | 100% of platform treated] - E[outcome | 0% of platform treated]
    
  4. Choose the randomization unit: graph clusters plus a feed firewall

    We evaluate five candidate designs against spillover bias and statistical precision:

    Design Spillovers removed Main cost
    User-level 50/50 split None ~50% of every user's feed interactions cross between treatment and control
    User-level split + feed firewall (show posts only to treated users) Direct reader spillover Treated creators lose half their audience; answer cannibalization still hits control feeds
    Graph-cluster randomization + feed firewall Most reader, competition, and feedback-loop bias Fewer independent units than users; requires pre-experiment graph clustering
    Country / language market split Almost all spillovers Only 10–30 markets total, with huge baseline differences across countries
    Switchback (alternating the whole platform on/off over time) Cross-user split within a window Unusable here: published posts stay in feeds and creator habits carry across time windows

    Recommended design: Graph-cluster randomization combined with a feed firewall.

    Pre-experiment interaction graph             Clustered & paired assignment
      [A1 <--> A2]      [B1 <--> B2]             Cluster A (Cooking)  --> Treatment (Post Tab ON, posts visible)
       |   \/   |   ..   |   \/   |     ===>
      [A3 <--> A4]      [B3 <--> B4]             Cluster B (Cooking') --> Control   (Post Tab OFF, no posts shown)
      (dense internal edges, sparse cross edges)
    

    Execute the clustering in four steps:

    1. Build the graph from pre-experiment data only: Use 4–8 weeks of historical logs before the test starts. Draw a weighted edge between two users based on views, upvotes, comments, and follows. Never re-cluster during the test, because the treatment itself changes who interacts with whom.
    2. Partition into balanced communities: Use a balanced graph-partitioning algorithm (such as Metis or Louvain with size constraints) to group users into ~2,000 clusters of roughly equal size (~1,000 users each) around topic/language communities. Measure the within-cluster edge weight share: if 70% of interaction weight stays inside a user's own cluster, then under 50/50 cluster assignment only half of the remaining 30% cross-cluster weight (0.5 × 30% = 15%) crosses between treatment and control, compared with 50% under user-level randomization.
    3. Pair clusters before randomizing: Group clusters into pairs with similar user counts and pre-experiment session averages (matched-pair randomization), then flip a coin inside each pair to assign one cluster to Treatment and one to Control. Pairing prevents unlucky baseline imbalances.
    4. Enforce a feed firewall: Show posts created by treated users only to treated users. Inside a treated cluster, ~70%+ of an author's natural audience is also in that treated cluster (plus half of cross-cluster readers), so creator feedback loops stay mostly intact while control readers never see posts in their home feeds.
  5. Estimate sample size, detectable effect, and duration

    Because no platform numbers are provided, we state explicit, realistic assumptions and walk through every step of the calculation: - Total active population: 2,000,000 weekly active users - Primary metric baseline: mean μ = 10.0 sessions/user/week, standard deviation σ = 15.0 - Significance level: α = 0.05 (two-sided, critical value z_0.975 = 1.960) - Statistical power: 80% (z_0.80 = 0.842), where statistical power is the probability of detecting a true effect of the target size when it really exists

    Step 1 — Baseline user-level sample size. Suppose we wanted to detect a +1% relative lift (δ = 0.10 sessions/week):

    n_user_per_arm = 2 × (z_0.975 + z_0.80)² × σ² / δ²
                   = 2 × (1.960 + 0.842)² × 15² / 0.10²
                   = 2 × 7.849 × 225 / 0.01
                   ≈ 353,200 users per arm
    

    Notice how δ² sits in the denominator: doubling the target lift to +2% (δ = 0.20) divides the required sample by 4, down to 88,300 users per arm. For a binary creator-rate metric moving from p1 = 5.00% to p2 = 5.25% (δ = 0.0025), replacing 2 × σ² with p1(1 − p1) + p2(1 − p2) = 0.0475 + 0.0497 = 0.0972 gives 7.849 × 0.0972 / 0.0025² ≈ 122,100 users per arm.

    Step 2 — Account for clustering via the Design Effect. Users inside the same topic cluster behave somewhat alike, measured by the intra-cluster correlation (ICC, ρ)—the fraction of total metric variance that comes from differences between clusters rather than between individuals within a cluster. Clustering inflates variance by the design effect (DEFF), which is the multiplier showing how many clustered users it takes to equal the statistical precision of one independent user:

    DEFF = 1 + (m - 1) × ρ
    

    With m = 1,000 users per cluster and a typical social-network ρ = 0.01:

    DEFF (equal cluster sizes)          = 1 + (1,000 - 1) × 0.01 = 10.99
    Required users per arm for 1% lift  = 353,200 × 10.99 ≈ 3.88 million users (3,882 clusters/arm)
    

    If cluster sizes vary with coefficient of variation CV = SD(m) / mean(m) = 0.5, unequal weighting raises the penalty further to DEFF ≈ 1 + ((CV² + 1) × m − 1) × ρ = 1 + (1.25 × 1,000 − 1) × 0.01 = 13.49.

    Step 3 — Compute the Minimum Detectable Effect (MDE) for our 2M-user platform. Since 3.88M users per arm exceeds our 2M total users, we partition the 2M users into 2,000 equal clusters (K = 1,000 clusters per arm of m = 1,000 users) and compute the minimum detectable effect (MDE)—the smallest true shift our test can reliably detect with 80% power at α = 0.05:

    Var(cluster mean) = σ² × (ρ + (1 - ρ) / m)
                      = 225 × (0.01 + 0.99 / 1,000)
                      = 225 × 0.01099 = 2.473
    
    SE(difference of arm means) = sqrt(2 × Var(cluster mean) / K)
                                = sqrt(2 × 2.473 / 1,000) = 0.0703 sessions
    
    MDE = (1.960 + 0.842) × 0.0703 = 0.197 sessions  (≈ 2.0% of the 10.0 baseline)
    

    Applying CUPED (Controlled-experiment Using Pre-Experiment Data)—a variance-reduction technique that adjusts each cluster's outcome using its pre-experiment baseline—multiplies variance by 1 − r². If cluster-level pre/post correlation is r = 0.7, variance drops by 1 − 0.49 = 0.51, shrinking the MDE by sqrt(0.51) ≈ 0.714 from 2.0% down to ~1.4%.

    from math import sqrt
    from statistics import NormalDist
    
    
    def users_per_arm(sd: float, delta: float, alpha: float = 0.05, power: float = 0.80) -> float:
        z_sum = NormalDist().inv_cdf(1 - alpha / 2) + NormalDist().inv_cdf(power)
        return 2 * (z_sum ** 2) * (sd ** 2) / (delta ** 2)
    
    
    def cluster_mde(
        sd: float,
        icc: float,
        users_per_cluster: int,
        clusters_per_arm: int,
        alpha: float = 0.05,
        power: float = 0.80,
    ) -> float:
        z_sum = NormalDist().inv_cdf(1 - alpha / 2) + NormalDist().inv_cdf(power)
        var_cluster_mean = (sd ** 2) * (icc + (1 - icc) / users_per_cluster)
        se_diff = sqrt(2 * var_cluster_mean / clusters_per_arm)
        return z_sum * se_diff
    
    
    print(round(users_per_arm(15.0, 0.10)))                # 353200
    print(round(cluster_mde(15.0, 0.01, 1000, 1000), 3))   # 0.197
    

    Step 4 — Choose duration (4 weeks). Notice that 0.01 / 0.01099 ≈ 91% of each cluster's variance comes from persistent between-cluster differences (ρ), so running the test longer barely shrinks the standard error. Instead, duration is set by behavioral dynamics: run for 4 full weeks to cover full weekly cycles, let week-1 novelty curiosity wear off, allow post inventory to accumulate in feeds, and give authors time to receive reader feedback and return to write again. Base the launch decision on weeks 3–4 once effects stabilize.

  6. Analyze at the cluster level and bound leftover spillover

    Analyze at the unit of randomization. Because whole clusters were randomized, individual users inside a cluster are correlated. Compute one user-weighted mean per cluster and compare the 1,000 treated cluster means against the 1,000 control cluster means (or equivalently run a user-level regression with cluster-robust standard errors, a variance formula that groups residuals by cluster so correlated users are not double-counted as independent). Ignoring clustering produces a severely false sense of precision:

    Naive user-level SE = sqrt(2 × 225 / 1,000,000) = 0.0212  --> 95% CI: ±0.042 sessions
    True cluster SE     = sqrt(2 × 2.473 / 1,000)   = 0.0703  --> 95% CI: ±0.138 sessions
    Width ratio         = 0.0703 / 0.0212 = 3.32 = sqrt(DEFF)
    

    Using naive user-level standard errors makes confidence intervals 3.32× too narrow, turning random cluster noise into false positives! (If you ever had to randomize across only ~20 geo markets, replace normal 1.96 critical values with a t-distribution on 18 degrees of freedom or randomization inference—re-simulating thousands of random cluster assignments to compute an exact p-value.)

    Run health checks before looking at treatment effects: - Sample ratio mismatch (SRM): Check whether the observed split of clusters and users deviates significantly from 50/50 (a sample ratio mismatch signals a logging, routing, or filtering bug). - Pre-period balance: Verify that pre-experiment sessions and answer rates match across arms. - Residual spillover diagnostics: 1. Check what share of control sessions included a post view via external shared links or search (with the firewall, this should be near 0%). 2. Compare the treatment lift among core users (≥ 90% of pre-period interactions inside their own cluster) versus boundary users (< 50% inside their cluster). If core users show a noticeably larger lift on creator retention, cross-cluster audience loss is still dampening boundary creators.

    Report a leakage-adjusted sensitivity range. Suppose residual cross-arm leakage absorbs a fraction λ of the true effect into control, so observed_lift = (1 − λ) × true_lift. Rather than pretending λ = 0 or claiming one exact correction, report a sensitivity band: if observed session lift is +2.5% and measured cross-arm exposure bounds λ between 0% and 10%, the implied point estimate ranges from +2.50% to 2.5% / (1 − 0.10) = +2.78%.

  7. Interpret a sample readout and make the launch recommendation

    Pre-register explicit launch rules before running the test: 1. Primary metric (sessions/user/week): 95% confidence interval must lie strictly above 0%. 2. Answer cannibalization guardrail (answers/1,000 users): 95% CI lower bound must stay above −5.0%. 3. Core marketplace guardrail (7-day question answer rate): 95% CI lower bound must stay above −1.0 percentage point (pp).

    Suppose weeks 3–4 of our 2,000-cluster experiment produce the following cluster-adjusted results:

    Metric Control Treatment Shift 95% Cluster CI
    Sessions per user per week (Primary) 10.00 10.25 +2.5% +1.1% to +3.9%
    Weekly active creators (Q, A, or Post) 5.00% 5.60% +0.60 pp +0.39 to +0.81 pp
    Answers per 1,000 users (Guardrail) 300.0 291.0 −3.0% −4.6% to −1.4%
    Questions answered in 7 days (Guardrail) 62.0% 61.7% −0.30 pp −0.80 to +0.20 pp
    Reports/hides per 1,000 views (Guardrail) 1.20 1.25 +4.2% −3.0% to +11.4%

    How to interpret each signal: - Net reader gain: Sessions rose +2.5% (+0.25 sessions/week), clearly statistically significant even under full cluster standard errors (±0.138 sessions, or ±1.38%). With residual link leakage around λ ≈ 2%, the true GTE is roughly +2.55%. - Net-new creators: Total creator rate jumped +0.60 pp (+12% relative). Because an existing answerer who merely switches from writing an answer to writing a post stays 1 active creator in both arms, this +0.60 pp comes genuinely from users who previously created nothing. - Manageable cannibalization: Answers per user dipped −3.0%, confirming mild substitution, but its 95% CI lower bound (−4.6%) stays safely inside the pre-registered −5.0% tolerance, and 7-day question coverage (−0.30 pp, lower bound −0.80 pp) stays inside its −1.0 pp guardrail.

    Launch recommendation: Launch the standalone post composer, paired with two safeguards: 1. Keep a 5% long-term cluster holdback for 2–3 months—a holdback is a small group of clusters kept without the new feature after launch—to monitor slow-moving Q&A search traffic, content moderation load, and 90-day creator retention. 2. Ship a lightweight cannibalization mitigation, such as suggesting matching unanswered questions when a user begins drafting a post. (Conversely, if sessions had been flat despite higher post creation, or if 7-day question answer rates breached −1.0 pp, we would hold back launch and iterate on feed ranking first.)

Intuition & how it works

Imagine testing whether giving street musicians small amplifiers brings more visitors to a public plaza. If you randomly hand amplifiers to half the musicians standing side by side, two things go wrong at once: listeners standing near unamplified musicians still hear the amplified music next door (lifting "control" listener dwell time), while amplified musicians drown out their unamplified neighbors for tips (making amplifiers look twice as lucrative per musician as they will be once every musician has one). Introducing a standalone post composer on a networked Q&A platform creates the exact same problem because creators and readers share one connected feed.

A naive 50/50 user-level A/B test fails because it assumes SUTVA (Stable Unit Treatment Value Assumption)—the rule that one user's treatment never affects another user's outcome. In reality, posts written by treated authors land in control readers' feeds and boost control reading (hiding part of the true gain), while those same posts push control authors' answers further down the feed (exaggerating the creator gain by stealing views from control). Worse, if you hide posts from control readers during a user-level split, every treated author loses half of their audience, muting the feedback loop of upvotes and comments that motivates repeat writing.

Walk through a tiny 4-user platform split into two topic communities—Alice and Bob in Cooking, and Carol and Dan in Python—where 80% of reading happens inside a user's own topic:

Naive user-level split:
  Treatment: Alice (Cooking), Carol (Python)
  Control:   Bob   (Cooking), Dan   (Python)
  -> Alice writes a Cooking post. Either Bob sees it (lifting Control reading)
     or a firewall hides it from Bob (cutting Alice's Cooking audience in half).

Graph-cluster split + feed firewall:
  Treatment cluster (Cooking): Alice + Bob  (both have Post Tab; both see Cooking posts)
  Control cluster   (Python):  Carol + Dan  (neither has Post Tab; neither sees posts)
  -> Alice's post reaches Bob naturally, giving Alice realistic Cooking feedback,
     while Carol and Dan experience an untouched Q&A baseline.

By grouping tightly connected users into graph clusters built from pre-experiment interaction logs, pairing similar clusters, randomizing whole clusters 50/50, and adding a feed firewall (showing posts only to treated users), most interactions stay inside the same treatment arm and our comparison closely approximates a 100%-vs-0% platform launch.

Key points

  • Measure net platform value, never raw post counts. Control users cannot create posts at all, so "posts created" rises in treatment by construction; true success is higher intent-to-treat (ITT) weekly sessions (comparing all assigned users regardless of whether they posted) and net-new active creators without cannibalization (growth that merely pulls answers away from the core Q&A loop).
  • Target the global treatment effect (GTE). A launch decision needs the global treatment effect—average platform outcome at 100% rollout minus 0% rollout—whereas a naive 50/50 user split only measures having the tab while half the platform has it.
  • Keep track of spillover direction per metric. Reader-side content spillover helps control and understates session gains; creator-side competition for finite feed slots hurts control and overstates creator views and upvotes.
  • Cluster on pre-experiment interactions and pair clusters. Partitioning 4–8 weeks of pre-period reader–author edges keeps clusters independent of the treatment; matched-pair randomization (pairing similar clusters before flipping a coin) reduces baseline noise across arms.
  • Size the test using the Design Effect. Users in the same cluster share similar habits, captured by the intra-cluster correlation (ICC, ρ)—the share of metric variance that lies between clusters. Variance scales by the design effect DEFF = 1 + (m − 1) × ρ: with m = 1,000 users per cluster and ρ = 0.01, DEFF = 10.99, raising the minimum detectable effect (MDE)—the smallest true lift detectable at 80% statistical power—by sqrt(10.99) = 3.32× (to ~2.0% on 2,000 clusters, or ~1.4% after cluster-level CUPED, which subtracts pre-experiment baseline variance).
  • Match the analysis unit to the randomization unit. Always compute cluster-level means or cluster-robust standard errors (a variance estimator that groups correlated residuals by cluster); naive user-level confidence intervals are 3.32× too narrow here.
  • Report a sensitivity band and keep a post-launch holdback. Bound residual cross-arm leakage λ via observed / (1 − λ), evaluate weeks 3–4 after novelty fades, and keep a 5% cluster holdback (clusters left unlaunched for 2–3 months) to track slow-moving creator retention and Q&A health.

Common mistakes

  • Using "posts created" or "engagement of users who posted" as the primary metric. Post count is guaranteed to beat zero, and comparing voluntary posters against all control users introduces severe selection bias because power users already engage more.
  • Randomizing clusters at setup but running a user-level t-test at analysis. Treating 2 million clustered users as 2 million independent coin flips shrinks standard errors by sqrt(DEFF) and flags random cluster noise as statistically significant.
  • Building or updating clusters using in-experiment interaction data. Because the post tab changes who reads and follows whom, clustering on post-treatment edges introduces post-treatment bias.
  • Assuming a feed firewall alone fixes a user-level test. Blocking treated posts from control feeds stops direct reader spillover, but treated creators still lose half their audience, and answers they stop writing are still missing from control feeds.
  • Trying a switchback experiment. A switchback test alternates the feature on and off across time slices, which fails for content creation because published posts remain in feeds and creator habits carry over into "off" windows.
  • Ending the test after 1 week. Week 1 mixes curiosity clicks with an empty library of posts; creator feedback loops and answer cannibalization take multiple weeks to settle.

Follow-up questions

  • Under a naive user-randomized split, which mechanisms bias the estimated rollout impact downward versus upward? A 50/50 user split biases the estimate downward (underestimates) when positive spillovers leak into control (control readers enjoy treated authors' posts, raising control sessions and shrinking the Treatment − Control gap) or when creator reinforcement loops are muted because only half of followers can see or react to gated posts. Conversely, it biases the estimate upward (overestimates) when treated and control authors compete for a fixed pool of feed slots and upvotes: if baseline creators earn 100 upvotes each from a fixed 200-upvote pool, and treated posts shift the split to 110 vs. 90 during a 50/50 test, the experiment reports a +22.2% lift (+20 / 90) even though a 100% rollout leaves everyone back at 100 (0% gain). Both directions fit one linear exposure model, Y_i = α + β · T_i + γ · f_i, where T_i ∈ {0, 1} is user i's own assignment and f_i is the treated fraction of user i's followed creators: under 50/50 user randomization E[f_i] = 0.5 in both arms, so Treatment − Control estimates only the direct effect β while cancelling γ, whereas the true global treatment effect (T = 1, f = 1 vs. T = 0, f = 0) is β + γ (underestimated when γ > 0, overestimated when γ < 0). Estimating γ directly from natural variation in f_i inside a user-level test is fragile because for a reader following 100 creators, SD(f_i) = sqrt(0.25 / 100) = 0.05, meaning almost all observations sit in f_i ∈ [0.4, 0.6] and predicting f = 1.0 requires risky linear extrapolation.
  • How do you balance reduced cross-cluster spillover against the loss of statistical power as cluster size grows? Increasing cluster size m creates a direct bias–variance trade-off: larger clusters capture a higher share of interaction edges inside each cluster (shrinking spillover bias), but cut the count of independent randomization units and inflate the design effect DEFF = 1 + (m − 1) × ρ (raising variance and the minimum detectable effect). Using our 2,000,000-user platform and ρ = 0.01 as an illustration across three cluster granularities:
Users per   Total      DEFF     Effective     MDE vs.      Interactions   Cross-arm share
cluster m   clusters            total users   user-level   inside cluster (≈ 0.5 × outside)
100         20,000     1.99     1.01 M        1.41x        40%            30.0%
1,000        2,000    10.99     182 k         3.32x        70%            15.0%
10,000         200   100.99     19.8 k       10.05x        85%             7.5%

In practice, ρ usually drops slightly as clusters grow larger and more internally diverse, softening the variance jump somewhat, yet fewer clusters also introduce two extra risks: greater chance of baseline imbalance across arms (mitigated via matched-pair randomization and cluster CUPED) and breakdown of normal critical values when total clusters drop below ~40–50 (requiring a t-distribution or randomization inference, which computes exact p-values by re-simulating cluster assignments). A practical rule of thumb is to choose the smallest cluster size whose residual cross-arm leakage keeps worst-case spillover bias comfortably smaller than your target MDE.

Follow-up questions

Similar questions

More Quora interview questions

All 2 Quora questions →