Hungarian version of FiveThirtyEight age estimator

I tried to reproduce the FiveThirtyEight age estimator with Hungarian data. The methodology is quite the same. Unfortunately there is no as accurate database as the US version use. In Hungary only the common top 100 names has been collected and published here. The biggest problem is that before 2000 only date ranges has been published so I assumed uniform distribution between that years. However I found an up-to-date life table thanks to WHO.

I tried to create something similar like this in R. I used Shiny and Plotly for the visualization. Here is the result of it:

The dark-grey line shows the number of birth of the selected name in each years, while the blue color area is the number of birth which was adjusted to the life table of Hungary. The vertical red line shows the median living year of birth of the selected name.

Leave a Reply

Your email address will not be published. Required fields are marked *