Why Your Facebook Friends Have More Friends Than You
Last updated: November 29, 2026
Quick Overview
Most Facebook users find that their friends have, on average, more friends than they do. Explain mathematically why this happens and compute the expected friend count of a randomly chosen friend.
Meta
November 29, 20260
0
0 solved
Most Facebook users find that their friends have, on average, more friends than they do. Explain mathematically why this happens and compute the expected friend count of a randomly chosen friend.
The friendship paradox is a well-known result from Facebook's own social graph research, and Meta interviewers use it to test probability reasoning about sampling bias in networks. They check the size-biased sampling argument, the formula in terms of mean and variance, and implications for metrics and sampling.
What the Interviewer Expects
- Identifies size-biased sampling as the cause
- Derives the mean degree of a random friend as E[d^2]/E[d]
- Rewrites it as mean plus variance over mean
- Works a small example by hand
- Applies it to product decisions such as seeding or sampling
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 is the mean of each user's friends' average different from E[d^2]/E[d]?
- How can the paradox be used to detect outbreaks or trends early?
- What does it imply for a survey that asks users about their friends?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
"Pick a random friend" means: pick a random friendship edge, then one of its two endpoints. A user with friends appears as a friend times across all friend lists, so popular users are sampled ...
Approach
Let be the degree of a uniformly random user, with mean and variance . The probability that a random edge endpoint is a specific user with degree is . So th...