Use Regression Discontinuity on the Google Play Top Rated Badge

Last updated: November 29, 2026

Quick Overview

Google Play shows a Top Rated badge on apps whose average rating is at least 4.5. Estimate whether the badge itself causes more installs, separately from the fact that better apps get both higher ratings and more installs.

Google
Analytics & Experimentation
Data Scientist
Google
November 29, 2026
Data Scientist
Technical Screen
Analytics & Experimentation
Medium

0

0

0 solved


Google Play shows a Top Rated badge on apps whose average rating is at least 4.5. Estimate whether the badge itself causes more installs, separately from the fact that better apps get both higher ratings and more installs.

Google often has deterministic thresholds in product logic, and DS interviewers like to see whether you notice that a cutoff creates a natural experiment. They want a sharp RD design with the right bandwidth, manipulation checks, and an honest statement of what population the estimate applies to.

What the Interviewer Expects
  • Identifies the 4.5 cutoff as a sharp regression discontinuity
  • Uses local linear regression on each side with a data-driven bandwidth
  • Checks for manipulation of the running variable (rating inflation near 4.5) with a density test
  • Checks covariate balance at the cutoff (category, app age, price)
  • States that the estimate is local to apps rated near 4.5
Key Topics to Cover
regression discontinuity
bandwidth selection
McCrary density test
local average treatment effect
running variable
How to Approach This
  1. Define success metrics carefully. A good metric is measurable, actionable, and aligned with business goals.
  2. Run experiments long enough to account for novelty effects and weekly seasonality.
  3. Use funnel analysis to identify where users drop off for maximum optimization impact.
  4. Segment results by key dimensions (platform, country, user cohort) to catch hidden patterns.
  5. Consider network effects and interference between treatment and control groups.
Possible Follow-up Questions
  • Developers can buy fake reviews to cross 4.5. How does that break the design, and how would you detect it?
  • The displayed rating is rounded to one decimal. How does that change the running variable?
  • What if the badge is only shown on some surfaces, so treatment is fuzzy?
  • How would you estimate the effect for apps far from the threshold?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Browse Analytics Questions
Sample Answer
Clarify
  • Running variable: the exact average rating rr used by the badge logic (not the rounded display value). Cutoff c=4.5c = 4.5.
  • Outcome: installs per store-listing view over the next 28 days, which cont...
Approach

Fit separate local linear regressions within bandwidth hh of the cutoff: Yi=α+τDi+β1(ri−c)+β2Di(ri−c)+εi,∣ri−c∣<hY_i = \alpha + \tau D_i + \beta_1 (r_i - c) + \beta_2 D_i (r_i - c) + \varepsilon_i, \quad |r_i - c| < h with $D_i = 1[r_i...


Submit Your Answer
Markdown supported