Game of Thrones Characters Death Analysis

One of the main themes surrounding Game of Thrones is death. There are no rules in the seven kingdoms and anyone can die at any moment or, as the show says, "Valar Morghulis" ("All men must die").

Taking this into consideration we want to know, based on the data of all the characters on the show, which group is more likely to die and what is the life expectancy in Westeros.

NOTE: The analysis is based on the book series, NOT the TV series.

Original Dataset

The first 10 rows of the dataset are shown below.

Name Allegiances Death_Year Book_of_Death Death_Chapter Book_Intro_Chapter Gender Nobility GoT CoK SoS FfC DwD
Addam Marbrand Lannister NaN NaN NaN 56 1 1 1 1 1 1 0
Aegon Frey (Jinglebell) None 299 3 51 49 1 1 0 0 1 0 0
Aegon Targaryen House Targaryen NaN NaN NaN 5 1 1 0 0 0 0 1
Adrack Humble House Greyjoy 300 5 20 20 1 1 0 0 0 0 1
Aemon Costayne Lannister NaN NaN NaN NaN 1 1 0 0 1 0 0
Aemon Estermont Baratheon NaN NaN NaN NaN 1 1 0 1 1 0 0
Aemon Targaryen (son of Maekar I) Night's Watch 300 4 35 21 1 1 1 0 1 1 0
Aenys Frey None 300 5 NaN 59 0 1 1 1 1 0 1
Aeron Greyjoy House Greyjoy NaN NaN NaN 11 1 1 0 1 0 1 0
Aethan Night's Watch NaN NaN NaN 0 1 0 0 0 1 0 0

Analysis per Allegiance

There are 11 houses in the Game of Thrones universe, each one with their own characteristics and political interests. There is another category called 'None' that corresponds to characters that don't have an allegiance to any of the houses. The purpose of this analysis is to see if some houses have suffered more casualties than others based on the total number of casualties. The following graph shows how many characters are on each house and how many have died during the series.

Allegiance Analysis

We can see from the plot that the number of deaths per house follows the same order as the number of characters from that house, so there is on case of a house with extremely disproportionate number of casualties. Another interesting result that we see is that the houses that have the least number of characters are also the ones with the lowest proportion of casualties. This could be interpreted as George R.R Martin trying to preserve sufficient number of characters from a particular house, or maybe a hypothetical minimum for storytelling.

Analysis per Gender

There is significantly more men than women in the Game of Thrones universe, with 760 males and 157 females in total. The first analysis we want to do is see if there are proportional number of deaths between men and women or, to put it in other words, if a character is more likely to die because of its gender. The following graphs show how many characters are per gender, as well as the proportion of characters that have died between genders.

Bootstrap Image Preview
Bootstrap Image Preview

We can see from the plot that not only are men more in the number of total characters, but also in the number of casualties. Proportionally, men are more likely to die than women; with a probability of 35% compared to 23% for women. This difference is statistically significant so we can conclude that, in the Game of Thrones series, men are more likely to die than women. Another characteristic of Game of Thrones is the number of battles that take place where, mostly, men die. Therefore, we want to compare if there is a difference between the number of deaths between men and women based on the house they're in. The following graphs show the survival probability of male and females based on the house of allegiance.

Female Probability
Male Probability
The first thing we notice from the graphs is that, because the Night's Watch consist of only men, there are no female casualties. Second, that there are no female casualties from the Greyjoy, Martell, and Tyrell houses; while men from the Martell and Tyrell allegiances are the ones with most likelyhood of survival (with about 1 dead out of 10), and the Greyjoy males fall to the 7th place with about 1 casualty for every 4 members. It is consistent that the house with the least likelyhood of survival is the Wildlings, with about 3 out of 5 women dying, and about half of the men. We can see that 80% of the Stark women survived (compared to only around 50% men), and 50% of the Lannister women compared to 70% of the men. We can conclude from this data that the group most likely to survive are women from the Greyjoy, Martell, and Tyrell houses; and the group that is most likely to die in the books are female Wildlings.

Westeros' Life Expectancy

We want to see how long does a character last in the book after being introduced by George R.R. Martin. We measure life expectancy as the difference in Chapters between their introductions and decease. In case the character is still alive, the last chapter of the book was used as their last chapter to see how long have they been alive. The following graph provide the distribution of Life Expectancy by Allegiances.

Life Expectancy

We can see that the houses with the highest median Life Expectancy are the Lannister, Tully, and Tyrell. While the ones with lowest median Life Expectancy are the Wildlings, Targaryen and Greyjoy. We can conclude from here that the life expectancy depends on the house of allegiance. With the median life expectancy of all Westeros being at 126 episodes.