Bayesian Ranking of a New Restaurant With Few Ratings
Last updated: November 29, 2026
Quick Overview
A new restaurant on DoorDash has 4 positive ratings out of 5, while an established one has 900 out of 1,000. Similar restaurants average 85% positive. How should DoorDash compare them for ranking?
DoorDash
November 29, 20260
0
0 solved
A new restaurant on DoorDash has 4 positive ratings out of 5, while an established one has 900 out of 1,000. Similar restaurants average 85% positive. How should DoorDash compare them for ranking?
Ranking new merchants fairly is a real DoorDash problem because cold-start stores have little data. The interviewer checks Bayesian shrinkage with a Beta prior and whether you can turn a posterior into a ranking decision.
What the Interviewer Expects
- Explain why the raw 80% versus 90% comparison is misleading
- Choose a Beta prior from category data and set its strength
- Compute posterior means correctly
- Compute or approximate the probability one is better
- Discuss exploration versus exploitation for new stores
Key Topics to Cover
How to Approach This
- Define your hypotheses (H0 and H1) clearly before performing any test.
- Calculate required sample size BEFORE running an experiment, using power analysis.
- Remember the Central Limit Theorem: sample means become approximately normal with large n.
- Watch for Simpson's paradox. Always segment data by key dimensions.
- Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
- How would you choose prior strength?
- Would you rank by posterior mean or a lower credible bound?
- How would you give new stores enough exposure to learn their quality?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
Each restaurant has an unknown positive rate . Ratings are Bernoulli. Category average 85%. Ask how many ratings a typical restaurant in the category has and how spread out their rates are, si...
Approach
Use a Beta prior matched to the category: mean 0.85 with strength 20 (worth 20 pseudo-ratings), so . With positives out of , the posterior is . Str...