Hungarian version of FiveThirtyEight age estimator
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
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.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.