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
Statistics & Math
Data Scientist
Meta
November 29, 2026
Data Scientist
Onsite
Statistics & Math
Medium

0

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
Friendship paradox
Size-biased sampling
Degree distribution
Expectation
Network sampling
How to Approach This
  1. Define your hypotheses (H0 and H1) clearly before performing any test.
  2. Calculate required sample size BEFORE running an experiment, using power analysis.
  3. Remember the Central Limit Theorem: sample means become approximately normal with large n.
  4. Watch for Simpson's paradox. Always segment data by key dimensions.
  5. 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 Questions
Sample Answer
Clarify

"Pick a random friend" means: pick a random friendship edge, then one of its two endpoints. A user with dd friends appears as a friend dd times across all friend lists, so popular users are sampled ...

Approach

Let dd be the degree of a uniformly random user, with mean μ\mu and variance σ2\sigma^2. The probability that a random edge endpoint is a specific user with degree did_i is di/∑jdjd_i / \sum_j d_j. So th...


Submit Your Answer
Markdown supported