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.
The first 10 rows of the dataset are shown below.
|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 Targaryen (son of Maekar I)||Night's Watch||300||4||35||21||1||1||1||0||1||1||0|
|Aeron Greyjoy||House Greyjoy||NaN||NaN||NaN||11||1||1||0||1||0||1||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.
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.
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.
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.
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.