Diagram of a social network of 7-8 year old children, mapped by asking each child to indicate two others they would like to sit next to in class. The majority of children have fewer connections than the average of those they are connected to.

The friendship paradox is the phenomenon first observed by the sociologist Scott L. Feld in 1991 that most people have fewer friends than their friends have, on average.[1] It can be explained as a form of sampling bias in which people with more friends are more likely to be in one's own friend group. In other words, one is less likely to be friends with someone who has very few friends. In contradiction to this, most people believe that they have more friends than their friends have.[2][3][4][5]

The same observation can be applied more generally to social networks defined by other relations than friendship: for instance, most people's sexual partners have had (on the average) a greater number of sexual partners than they have.[6][7]

The friendship paradox is an example of how network structure can significantly distort an individual's local observations.[8][9]

## Mathematical explanation

In spite of its apparently paradoxical nature, the phenomenon is real, and can be explained as a consequence of the general mathematical properties of social networks. The mathematics behind this are directly related to the arithmetic-geometric mean inequality and the Cauchy–Schwarz inequality.[10]

Formally, Feld assumes that a social network is represented by an undirected graph G = (V, E), where the set V of vertices corresponds to the people in the social network, and the set E of edges corresponds to the friendship relation between pairs of people. That is, he assumes that friendship is a symmetric relation: if x is a friend of y, then y is a friend of x. The friendship between x and y is therefore modeled by the edge {x, y}, and the number of friends an individual has corresponds to a vertex's degree. The average number of friends of a person in the social network is therefore given by the average of the degrees of the vertices in the graph. That is, if vertex v has d(v) edges touching it (representing a person who has d(v) friends), then the average number μ of friends of a random person in the graph is

${\displaystyle \mu ={\frac {\sum _{v\in V}d(v)}{|V|}}={\frac {2|E|}{|V|}}.}$

The average number of friends that a typical friend has can be modeled by choosing a random person (who has at least one friend), and then calculating how many friends their friends have on average. This amounts to choosing, uniformly at random, an edge of the graph (representing a pair of friends) and an endpoint of that edge (one of the friends), and again calculating the degree of the selected endpoint. The probability of a certain vertex ${\displaystyle v}$ to be chosen is

${\displaystyle {\frac {d(v)}{|E|}}{\frac {1}{2}}.}$

The first factor corresponds to how likely it is that the chosen edge contains the vertex, which increases when the vertex has more friends. The halving factor simply comes from the fact that each edge has two vertices. So the expected value of the number of friends of a (randomly chosen) friend is

${\displaystyle \sum _{v}\left({\frac {d(v)}{|E|}}{\frac {1}{2}}\right)d(v)={\frac {\sum _{v}d(v)^{2}}{2|E|}}.}$

We know from the definition of variance that

${\displaystyle {\frac {\sum _{v}d(v)^{2}}{|V|}}=\mu ^{2}+\sigma ^{2},}$

where ${\displaystyle \sigma ^{2}}$ is the variance of the degrees in the graph. This allows us to compute the desired expected value as

${\displaystyle {\frac {\sum _{v}d(v)^{2}}{2|E|}}={\frac {|V|}{2|E|}}(\mu ^{2}+\sigma ^{2})={\frac {\mu ^{2}+\sigma ^{2}}{\mu }}=\mu +{\frac {\sigma ^{2}}{\mu }}.}$

For a graph that has vertices of varying degrees (as is typical for social networks), ${\displaystyle {\sigma }^{2}}$ is strictly positive, which implies that the average degree of a friend is strictly greater than the average degree of a random node.

Another way of understanding how the first term came is as follows. For each friendship (u, v), a node u mentions that v is a friend and v has d(v) friends. There are d(v) such friends who mention this. Hence the square of d(v) term. We add this for all such friendships in the network from both the u's and v's perspective, which gives the numerator. The denominator is the number of total such friendships, which is twice the total edges in the network (one from the u's perspective and the other from the v's).

After this analysis, Feld goes on to make some more qualitative assumptions about the statistical correlation between the number of friends that two friends have, based on theories of social networks such as assortative mixing, and he analyzes what these assumptions imply about the number of people whose friends have more friends than they do. Based on this analysis, he concludes that in real social networks, most people are likely to have fewer friends than the average of their friends' numbers of friends. However, this conclusion is not a mathematical certainty; there exist undirected graphs (such as the graph formed by removing a single edge from a large complete graph) that are unlikely to arise as social networks but in which most vertices have higher degree than the average of their neighbors' degrees.

The Friendship Paradox may be restated in graph theory terms as “the average degree of a randomly selected node in a network is less than the average degree of neighbors of a randomly selected node”, but this leaves unspecified the exact mechanism of averaging (i.e., macro vs micro averaging). Let ${\displaystyle G=(V,E)}$ be an undirected graph with ${\displaystyle |V|=N}$ and ${\displaystyle |E|=M}$, having no isolated nodes. Let the set of neighbors of node ${\displaystyle u}$ be denoted ${\displaystyle \operatorname {nbr} (u)}$. The average degree is then ${\displaystyle \mu ={\frac {1}{N}}\sum _{u\in V}|\operatorname {nbr} (u)|={\frac {2M}{N}}\geq 1}$. Let the number of "friends of friends" of node ${\displaystyle u}$ be denoted ${\displaystyle \operatorname {FF} (u)=\sum _{v\in \operatorname {nbr} (u)}|\operatorname {nbr} (v)|}$. Note that this can count 2-hop neighbors multiple times, but so does Feld's analysis. We have ${\displaystyle \operatorname {FF} (u)\geq |\operatorname {nbr} (u)|\geq 1}$. Feld considered the following "micro average" quantity.

${\displaystyle {\text{MicroAvg}}={\frac {\sum _{u\in V}\operatorname {FF} (u)}{\sum _{u\in V}|\operatorname {nbr} (u)|}}}$

However, there is also the (equally legit) "macro average" quantity, given by

${\displaystyle {\text{MacroAvg}}={\frac {1}{N}}\sum _{u\in V}{\frac {\operatorname {FF} (u)}{|\operatorname {nbr} (u)|}}}$

The computation of MacroAvg can be expressed as the following pseudocode.

Algorithm MacroAvg

1. for each node ${\displaystyle u\in V}$
1. initialize ${\displaystyle Q(u)\leftarrow 0}$
2. for each edge ${\displaystyle \{u,v\}\in E}$
1. ${\displaystyle Q(u)\leftarrow Q(u)+{\frac {|\operatorname {nbr} (v)|}{|\operatorname {nbr} (u)|}}}$
2. ${\displaystyle Q(v)\leftarrow Q(v)+{\frac {|\operatorname {nbr} (u)|}{|\operatorname {nbr} (v)|}}}$
3. return ${\displaystyle {\frac {1}{N}}\sum _{u\in V}Q(u)}$
• "←" denotes assignment. For instance, "largestitem" means that the value of largest changes to the value of item.
• "return" terminates the algorithm and outputs the following value.

Each edge ${\displaystyle \{u,v\}}$ contributes to MacroAvg the quantity ${\displaystyle {\frac {|\operatorname {nbr} (v)|}{|\operatorname {nbr} (u)|}}+{\frac {|\operatorname {nbr} (u)|}{|\operatorname {nbr} (v)|}}\geq 2}$, because ${\displaystyle \min _{a,b>0}{\frac {a}{b}}+{\frac {b}{a}}=2}$. We thus get

${\displaystyle {\text{MacroAvg}}={\frac {1}{N}}\sum _{u\in V}Q(u)\geq {\frac {1}{N}}\cdot M\cdot 2={\frac {2M}{N}}=\mu }$.

Thus, we have both ${\displaystyle {\text{MicroAvg}}\geq \mu }$ and ${\displaystyle {\text{MacroAvg}}\geq \mu }$, but no inequality holds between them.[11]

## Applications

The analysis of the friendship paradox implies that the friends of randomly selected individuals are likely to have higher than average centrality. This observation has been used as a way to forecast and slow the course of epidemics, by using this random selection process to choose individuals to immunize or monitor for infection while avoiding the need for a complex computation of the centrality of all nodes in the network.[12][13][14] In a similar manner, in polling and election forecasting, friendship paradox has been exploited in order to reach and query well-connected individuals who may have knowledge about how a lot of the others are going to vote.[15]

A study in 2010 by Christakis and Fowler showed that flu outbreaks can be detected almost two weeks before traditional surveillance measures would do so by using the friendship paradox in monitoring the infection in a social network.[16] They found that using the friendship paradox to analyze the health of central friends is "an ideal way to predict outbreaks, but detailed information doesn't exist for most groups, and to produce it would be time-consuming and costly."[17]

Friendship paradox based sampling (i.e., sampling random friends) has been theoretically and empirically shown to outperform classical uniform sampling for the purpose of estimating the power-law degree distributions of scale-free networks.[18][19] This is because sampling the network uniformly will not collect enough samples from the characteristic heavy tail part of the power-law degree distribution to properly estimate it. However, sampling random friends incorporates more nodes from the tail of the degree distribution (i.e., more high degree nodes) into the sample. Hence, friendship paradox based sampling captures the characteristic heavy tail of a power-law degree distribution more accurately and reduces the bias and variance of the estimation.[19]

The "generalized friendship paradox" states that the friendship paradox applies to other characteristics as well. For example, one's co-authors are on average likely to be more prominent, with more publications, more citations and more collaborators,[20][21][22] or one's followers on Twitter have more followers.[23] The same effect has also been demonstrated for Subjective Well-Being by Bollen et al (2017),[24] who used a large-scale Twitter network and longitudinal data on subjective well-being for each individual in the network to demonstrate that both a Friendship and a "happiness" paradox can occur in online social networks.

## References

1. ^ Feld, Scott L. (1991), "Why your friends have more friends than you do", American Journal of Sociology, 96 (6): 1464–1477, doi:10.1086/229693, JSTOR 2781907, S2CID 56043992.
2. ^ Zuckerman, Ezra W.; Jost, John T. (2001), "What makes you think you're so popular? Self evaluation maintenance and the subjective side of the "friendship paradox"" (PDF), Social Psychology Quarterly, 64 (3): 207–223, doi:10.2307/3090112, JSTOR 3090112.
3. ^ McRaney, David (2012), You are Not So Smart, Oneworld Publications, p. 160, ISBN 978-1-78074-104-8
4. ^ Felmlee, Diane; Faris, Robert (2013), "Interaction in social networks", in DeLamater, John; Ward, Amanda (eds.), Handbook of Social Psychology (2nd ed.), Springer, pp. 439–464, ISBN 978-9400767720. See in particular "Friendship ties", p. 452.
5. ^ Lau, J. Y. F. (2011), An Introduction to Critical Thinking and Creativity: Think More, Think Better, John Wiley & Sons, p. 191, ISBN 978-1-118-03343-2
6. ^
7. ^
8. ^ Lerman, Kristina; Yan, Xiaoran; Wu, Xin-Zeng (2016-02-17). "The "Majority Illusion" in Social Networks". PLOS ONE. 11 (2): e0147617. arXiv:1506.03022. Bibcode:2016PLoSO..1147617L. doi:10.1371/journal.pone.0147617. ISSN 1932-6203. PMC 4757419. PMID 26886112.
9. ^ Alipourfard, Nazanin; Nettasinghe, Buddhika; Abeliuk, Andrés; Krishnamurthy, Vikram; Lerman, Kristina (2020-02-05). "Friendship paradox biases perceptions in directed networks". Nature Communications. 11 (1). doi:10.1038/s41467-020-14394-x. ISSN 2041-1723.
10. ^ Ben Sliman, Malek; Kohli, Rajeev (2019), "The extended directed friendship paradox", SSRN, doi:10.2139/ssrn.3395317, S2CID 219376223
11. ^ Gupta, Yash; Chakrabarti, Soumen (2021), Friends of friends (PDF)
12. ^ Cohen, Reuven; Havlin, Shlomo; ben-Avraham, Daniel (2003), "Efficient immunization strategies for computer networks and populations", Phys. Rev. Lett., 91 (24), 247901, arXiv:cond-mat/0207387, Bibcode:2003PhRvL..91x7901C, doi:10.1103/PhysRevLett.91.247901, PMID 14683159, S2CID 919625.
13. ^ Christakis, N. A.; Fowler, J. H. (2010), "Social network sensors for early detection of contagious outbreaks", PLOS ONE, 5 (9), e12948, arXiv:1004.4792, Bibcode:2010PLoSO...512948C, doi:10.1371/journal.pone.0012948, PMC 2939797, PMID 20856792.
14. ^ Wilson, Mark (November 2010), "Using the friendship paradox to sample a social network", Physics Today, 63 (11): 15–16, Bibcode:2010PhT....63k..15W, doi:10.1063/1.3518199.
15. ^ Nettasinghe, Buddhika; Krishnamurthy, Vikram (2019). ""What Do Your Friends Think?": Efficient Polling Methods for Networks Using Friendship Paradox". IEEE Transactions on Knowledge and Data Engineering: 1–1. doi:10.1109/tkde.2019.2940914. ISSN 1041-4347.
16. ^ Christakis, Nicholas A.; Fowler, James H. (September 15, 2010). "Social Network Sensors for Early Detection of Contagious Outbreaks". PLOS ONE. 5 (9): e12948. arXiv:1004.4792. Bibcode:2010PLoSO...512948C. doi:10.1371/journal.pone.0012948. PMC 2939797. PMID 20856792.
17. ^ Schnirring, Lisa (Sep 16, 2010). "Study: Friend 'sentinels' provide early flu warning". CIDRAP News.
18. ^ Eom, Young-Ho; Jo, Hang-Hyun (2015-05-11). "Tail-scope: Using friends to estimate heavy tails of degree distributions in large-scale complex networks". Scientific Reports. 5 (1). doi:10.1038/srep09752. ISSN 2045-2322.
19. ^ a b Nettasinghe, Buddhika; Krishnamurthy, Vikram (2021-05-19). "Maximum Likelihood Estimation of Power-law Degree Distributions via Friendship Paradox-based Sampling". ACM Transactions on Knowledge Discovery from Data. 15 (6): 1–28. doi:10.1145/3451166. ISSN 1556-4681.
20. ^ Eom, Young-Ho; Jo, Hang-Hyun (2014), "Generalized friendship paradox in complex networks: The case of scientific collaboration", Scientific Reports, 4, 4603, arXiv:1401.1458, Bibcode:2014NatSR...4E4603E, doi:10.1038/srep04603, PMC 3980335, PMID 24714092
21. ^ Grund, Thomas U. (2014), "Why Your Friends Are More Important And Special Than You Think" (PDF), Sociological Science, 1: 128–140, doi:10.15195/v1.a10
22. ^ Dickerson, Kelly (16 January 2014). "Why Your Friends Are Probably More Popular, Richer, and Happier Than You". Slate Magazine. The Slate Group. Retrieved 17 January 2014.
23. ^ Hodas, Nathan; Kooti, Farshad; Lerman, Kristina (May 2013). "Friendship Paradox Redux: Your Friends are More Interesting than You". arXiv:1304.3480 [cs.SI].
24. ^ Bollen, Johan; Goncalves, Bruno; Van de Leemput, Ingrid; Guanchen, Ruan (2017), "The happiness paradox: your friends are happier than you", EPJ Data Science, 6, arXiv:1602.02665, doi:10.1140/epjds/s13688-017-0100-1, S2CID 2044182