# The average North Korean mathematician

Here are [the top-fifteen countries](https://personal.psu.edu/asb17/papers/IMO%20Analysis.pdf) ranked by how well their teams do at the International Math Olympiads:

![](https://www.telescopic-turnip.net/wp-content/uploads/2021/01/image.png)

When I first saw this ranking, I was surprised to see that North Koreans have such an impressive track record, especially when you factor in their relatively small population. One possible interpretation is that East Asians are just particularly good at mathematics, just like in the stereotypes, even when they live in one of the world's worst dictatorships.

But I don't believe that. In fact, I believe North Koreans are, on average, *particularly bad* at math. More than [40% of the population is undernourished](https://ourworldindata.org/hunger-and-undernourishment). Many of the students involved in the IMOs grew up in the 1990s, during the [March of Suffering,](https://en.wikipedia.org/wiki/North_Korean_famine) when hundreds of thousands of North Koreans died of famine. That is not exactly the best context to learn mathematics, not to mention the [direct effect](https://www.nature.com/articles/s41598-017-11023-4) of nutrients on the brain. There does not seem to be a lot of famous North Korean mathematicians either (there is actually a candidate from the North Korean IMO team who managed to escape during the 2016 Olympiads in Hong-Kong. He is now living in South Korea. I wish him to become a famous mathematician). Thus, realistically, if all 18 years-old from North Korea were to take a math test, they would probably score much worse than their South Korean neighbors. And yet, Best Korea reaches almost the same score with only half the source population. What is their secret?

[This piece](https://commons.hostos.cuny.edu/ctl/2019/09/17/research-if-you-do-not-want-them-to-know-do-not-teach-them-statistics-story-of-north-korean-mathematics/) on the current state of mathematics in North Korea gives it away:

*“The entire nation suffered greatly during and after the March of Suffering, when the economy collapsed. Yet, North Korea maintained its educational system, focusing on the gifted and special schools such as the First High Schools to preserve the next generation. The limited resources were concentrated towards gifted students. Students were tested and selected at the end of elementary school.”* 

In that second interpretation, the primary concern of the North Korean government is to produce a few very brilliant students every year, who will bring back medals from the Olympiads and make the country look good. The rest of the population's skills at mathematics are less of a concern.

When we receive new information, we update our beliefs to keep them compatible with the new observations, doing an informal version of [Bayesian updating](https://www.smbc-comics.com/comic/bayesian). Before learning about the North Korean IMO team, my prior beliefs were something like most of the country is starving and their education is mostly propaganda, there is no way they can be good at math. After seeing the IMO results, I had to update. In the first interpretation, we update the *mean* – the average math skill is higher than I previously thought. In the second interpretation, we leave the mean untouched, but we make the *upper tail* of the distribution heavier. Most North Koreans are not particularly good at math, but a few of them are heavily nurtured for the sole purpose of winning medals at the IMO. As we will see later in this article, this problem has some pretty important consequences for how we understand society, and those who ignore it might take pretty bad policy decisions.

But first, let's break it apart and see how it really works. There will be a few formulas, but nothing that can hurt you, I promise. Consider a probability distribution where the outcome $x$ happens with probability $p(x)$. For any integer $n$, the formula below gives what we call the $n$th moment of a distribution, centered on $\mu$.

$$
\int_{\mathbb{R}}p(x)(x-\mu)^ndx
$$

To put it simply, moments describe how things are distributed around a center. For example, if a planet is rotating around its center of mass, you can use moments to describe how its mass is distributed around it. But here I will only talk about their use in statistics, where each moment encodes one particular characteristic of a probability distribution. Let's sketch some plots to see what it is all about.

**First moment:** replace n with 1 and μ with 0 in the previous formula. We get

$$
\int_{\mathbb{R}}p(x)(x)dx
$$

which is – suprise – the definition of the mean. Changing the first moment just shifts the distribution towards higher or lower values, while keeping the same shape.

![](https://www.telescopic-turnip.net/wp-content/uploads/2021/01/mu_1-2.png)

**Second moment:** for n = 2, we get

$$
\int_{\mathbb{R}}p(x)(x-\mu)^2dx
$$

  
If we set *μ* to be (arbitrarily, for simplicity) equal to the mean, we obtain the definition of the variance! The second moment around the mean describes how values are spread away from the average, while the mean remains constant.

![](https://www.telescopic-turnip.net/wp-content/uploads/2020/12/mu_2-1.png)

**Third moment (*****n*** **= 3):** the third moment essentially describes how skewed (asymmetric) the distribution is.

![](https://www.telescopic-turnip.net/wp-content/uploads/2020/12/mu_3.png)

**Fourth moment (*****n =*** **4)**: this describes how *leptokurtic* or *platykurtic* your distribution is, that is, how extreme the extreme values are.

![](https://www.telescopic-turnip.net/wp-content/uploads/2021/01/mu_4.png)

You could go on to higher *n*, each time bringing in more detail about what the distribution really looks like, until you end up with a perfect description of the distribution. By only mentioning the first few moments, you can describe a population with only a few numbers (rather than infinite), but it only gives a simplified version of the true distribution, as on the left graph below:

![](https://www.telescopic-turnip.net/wp-content/uploads/2020/12/real_life_distribution.png)

Say you want to describe the height of humans. As everybody knows, height follows a normal distribution, so you could just give the mean and standard deviation of human height, and get a fairly accurate description of the distribution. But there is always a wise-ass in the back of the room to point out that the normal distribution is defined over $\mathbb{R}$, so for a large enough population, some humans will have a negative height. The problem here is that we only gave information about the first two moments and neglected all the higher ones. As it turns out, humans are only viable within a certain range of height, below or above which people don't survive. This erodes the tails of the distribution, effectively making it more *platykurtic* (If I can get even one reader to use the word platykurtic in real life, I'll consider this article a success).

Let's come back to the remarkable scores of North Koreans at the Math Olympiads. What these scores teach us is not that North Korean high-schoolers are really good at math, but that *many of the high-schoolers who are really good at math are North Koreans*. On the distribution plots, it would translate to something like this:

![](https://www.telescopic-turnip.net/wp-content/uploads/2021/01/tails_1.png)

With North Koreans in purple and another country that does worse in the IMOs (say, France), in black. So you are looking at the tails and try to infer something about the rest of the distribution. Recall the plots above. Which one could it be?

![](https://www.telescopic-turnip.net/wp-content/uploads/2021/01/mu_all-2.png)

*Answer:* just by looking at the extreme values, you cannot possibly tell, because any of these plots would potentially match. In Bayesian terms, each moment of the distribution has its own prior, and when you encounter new information, you could in principle update any of them to match the new data. So how can we make sure we are not updating the wrong moment? When you have a large representative sample that reflects the entire distribution, this is easy. When you only have information about the top 10 extreme values, it is impossible. This is unfortunate because the extreme values are precisely what gets all our attention – most of what we see in the media is about the most talented athletes, the most dishonest politicians, [the craziest people](https://www.reddit.com/r/slatestarcodex/comments/9rvroo/most_of_what_you_read_on_the_internet_is_written/), the most violent criminals, and so forth. Thus, when we hear new information about extreme cases, it's important to be careful about *which moment to update*.

This problem also occurs in reverse – in the same way looking at the tails doesn't tell you anything about the average, looking at the average doesn't tell you anything about the tails. An example: on a typical year, more Americans die [from falling than from viral infections](https://www.cdc.gov/nchs/data/nvsr/nvsr68/nvsr68_09_tables-508.pdf). So one could argue that we should dedicate more resources to prevent falls than viral infections. Except the number of deaths from falls is fairly stable (you will never have a pandemic of people starting to slip in their bathtubs 100 times more than usual). On the other hand, virus transmission is a multiplicative process, so most outbreaks will be mostly harmless (remember how SARS-cov-1 killed less than 1000 people, those were the days) but a few of them will be really bad. In other words, yearly deaths from falls have a higher mean than deaths from viruses, but since the latter are highly skewed and leptokurtic, they might deserve more attention. (For a detailed analysis of this, [just ask Nassim Taleb](https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7572356/).)

There are a lot of other interesting things to say about the moments of a probability distribution, like the [deep connection](https://www.quora.com/How-is-the-partition-function-related-to-the-moment-generating-function) between them and the partition function in statistical thermodynamics, or the fact that in my drawings the purple line always crosses the black like exactly $n$ times. But these are for nerds, and it's time to move on to the secret topic of this article. Let's talk about SEX AND VIOLENCE.

This will not come as a surprise: [most criminals are men](https://en.wikipedia.org/wiki/Sex_differences_in_crime#Statistics). In the USA, men represent [93% of the prison population](https://www.bop.gov/about/statistics/statistics_inmate_gender.jsp). Of course, [discrimination in the justice system](https://www.telescopic-turnip.net/essays/invisible-privileges/) explains some part of the gap, but I doubt it accounts for the whole 9-fold difference. Accordingly, it is a solid cultural stereotypes that [men use violence and women use communication](https://tvtropes.org/pmwiki/pmwiki.php/Main/MenUseViolenceWomenUseCommunication). Everybody knows that. Nevertheless, having just read the previous paragraphs, you wonder: “are we really updating the right moment?”

A recent meta-analysis by [Thöni et al.](https://www.telescopic-turnip.net/documents/articles/th%C3%B6ni_2020.pdf) sheds some light on the question. Published in the journal *Pyschological Science*, it synthesizes 23 studies (with >8000 participants), about gender differences in cooperation. In such studies, participants play cooperation games against each other. These games are essentially a multiplayer, continuous version of the Prisoner's Dilemma – players can choose to be more or less cooperative, with possible strategies ranging from total selfishness to total selflessness.

So, in cooperation games, we expect women to cooperate more often than men, right? After all, women are socialized to be caring, supportive and empathetic, while men are taught to be selfish and dominant, aren't they? To find out, Thöni *et al* aligned all of these studies on a single cooperativeness scale, and compared the scores of men and women. Here are the averages, for three different game variants:

![](https://www.telescopic-turnip.net/wp-content/uploads/2020/12/thoni_mean_differences-1024x819.png)

This is strange. On average, men and women are just equally cooperative. If society really allows men to behave selfishly, it should be visible somewhere in all these studies. I mean, where are all the criminals/rapists/politicians? It's undeniable that most of them are men, right?

The problem with the graph above is that it only shows averages, so it misses the most important information – that men's level of cooperation is much more *variable* than women's. So if you zoom on the people who were either very selfish or very cooperative, you find a wild majority of men. If you zoom on people who kind-of cooperated but were also kind-of selfish, you find predominantly women.

![](https://www.telescopic-turnip.net/wp-content/uploads/2020/12/thoni_ratio_along_distribution-1024x963.png)

As I'm sure you've noticed, the title of the Thöni et al paper says “evolutionary perspective”. As far as I'm concerned, I'm fairly skeptical about evolutionary psychology, since it is one of the fields with the [worst track record](https://fantasticanachronism.com/2020/09/11/whats-wrong-with-social-science-and-how-to-fix-it/#) of reproducibility ever. To be fair, a good part of evpsych is just regular psychology where the researchers added a little bit of speculative evolutionary varnish to make it look more exciting. This aside, *real* evpsych is apparently [not so bad.](https://areomagazine.com/2020/10/20/evolutionary-psychology-predictively-powerful-or-riddled-with-just-so-stories/) But that's not the important part of the paper – what matters is that there is increasingly strong evidence that men are indeed more variable than women in behaviors like cooperation. Whether it is due to hormones, culture, discrimination or [cultural evolution](https://www.pnas.org/content/114/30/7782) is up to debate and I don't think the current data is remotely sufficient to answer this question.

(Side note: if you must read *one* paper on the topic, I recommend [this German study](https://www.frontiersin.org/articles/10.3389/fnins.2015.00183/full) where they measure the testosterone level of fans of a football team, then have them play Prisoner's Dilemma against fans of a rival team. I wouldn't draw any strong conclusion from this *just yet*, but it's a fun read.)

The thing is, men are not only found to be more variable in cooperation, but in tons of other things. These include [aggression](https://doi.org/10.1037/1089-2680.7.3.219), [exam grades](https://doi.org/10.1186/s40536-019-0070-9), [PISA scores](https://doi.org/10.1186/s40536-015-0015-x), all kinds of [cognitive tests](https://doi.org/10.1016/j.intell.2013.04.004), [personality](https://dx.doi.org/10.1016%2Fj.jrp.2012.12.001), [creativity](https://doi.org/10.1016/j.paid.2013.07.017), [vocational interests](https://doi.org/10.1002/per.2010) and even some [neuroanatomical](https://doi.org/10.1093/cercor/bhx154) [features](https://doi.org/10.1093/cercor/bhy109). In the last few years, support for the greater male variability hypothesis has accumulated, so much that it is no longer possible to claim to understand gender or masculinity without taking it into account.

Alas, that's not how stereotyping works. Instead, we see news report showing all these male criminals, and assume that our society turns men into violent and selfish creatures and call them toxic \[Here is [Dworkin](https://www.feministes-radicales.org/wp-content/uploads/2010/11/Andrea-DWORKIN-Pornography-Men-Possessing-Women-1981.pdf): “*Men are distinguished from women by their commitment to do violence rather than to be victimized by it. Men are rewarded for learning the practice of violence in virtually any sphere of activity by money, admiration, recognition, respect, and the genuflection of others honoring their sacred and proven masculinity.”* Remember – in the above study, the majority of unconditional cooperators were men\]. Internet people make up a [hashtag](https://en.wikipedia.org/wiki/NotAllMen) to ridicule those who complain about the generalization. We see all these male [IMO medalists](https://personal.psu.edu/asb17/papers/IMO%20Analysis.pdf), and – depending on your favorite political tradition – either assume that men have an unfair advantage in maths, or that they are inherently better at it. The former worldview serves as a basis for [public](http://academicrightswatch.com/?p=2915) [policy](https://www.saveservices.org/equity/scholarships/). The question of which moment to update rarely even comes up.

This makes me wonder whether this process of looking at the extremes then updating our beliefs about the mean is just the normal way we learn. If that is the case, how many other things are we missing?