Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Base remaining life on actuarial life tables #1

Open
BrandonY opened this issue Nov 13, 2017 · 2 comments
Open

Base remaining life on actuarial life tables #1

BrandonY opened this issue Nov 13, 2017 · 2 comments

Comments

@BrandonY
Copy link

Assuming that the user is looking at the clock at any given moment, we know that the user is still alive. Thus, we must update the expected remaining days of life upwards, given that additional information. For example, if the user is an infant, the output might read "76 years". However, once the user is 75 years old, the output should now read around "11 years", as the average 76 year old still has another 10 years or so of life left. Similarly, once the user reaches 110, the clock should still be counting down (and display around half a year).

For U.S. humans, here's a reasonable basis for calculating remaining days: https://www.ssa.gov/oact/STATS/table4c6.html

@adamtait
Copy link
Owner

Awesome! I think that's a great feature. I'd love to see a PR that recognizes the expected end time increasing as time passed increases, using actuarial tables.

@econnorx
Copy link

I think that's part of some sort of Bayesian thing along the lines of "if you got this far you're more likely to chug along a bit longer". I imagine actuarial tables would have this covered.
This whole personalised deathstimate thing is a bit of a minefield when you start to unpack it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants