News for hackers. Stuff that matters.
Re:Actuarial Life Table by siddboots on Tuesday April 12, 2022 @04:36PM (#31007936)
One fun thing to do is to take these death probabilities and throw them into a Leslie matrix [1], along with assumptions for the age-specific birth rates. From there you can simulate the projected population growth (ignoring migration) with no more than a couple of lines of Python/R/whathaveyou.

It's also a great study case for understanding some basic principles of linear algebra: The dominant eigenvalue is the stable population growth rate, and the corresponding eigenvector is the stable age distribution.

[1] https://en.wikipedia.org/wiki/Leslie_matrix

There are no comments on this comment yet.