-
Notifications
You must be signed in to change notification settings - Fork 10
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
Allow Fractional Age Everywhere #78
Comments
Thanks! Do you mind posting a snippet of what you are currently doing? And then potentially what you'd like to do as an alternative? |
Thanks for your reply.
I'd build a LifeContingency constructor on such a SingleLife as:
As it's implemented now, I can't construct a LifeContingency as Since it does interact with MortalityTables' objects, I don't know how much work is |
Got it. I think that maybe that's not actually what you want to be able to do, unless
Number 2 is actually not permitted currently but it should be, I have a draft PR up at #79. Before merging that, I wanted to get your thoughts. I think you were asking about number 1, but I'm not sure that it should be supported. |
Yes sir, being able to use a general parametric model, not only the Gompertz-Makeham, would be great! |
It's the ALB vs ANB thing. When a mortality rate table is constructed, it is assumed that the issue age is an integer by rounding the fractional age to an integer before doing the computations. Mortality tables should say whether they are constructed assuming an integer issue age of ALB or ANB (e.g. In your example, actual issue age of You said: "custom life_table built from MortalityTables" - do you know what the assumption was (ALB/ANB) when the custom table was constructed? |
That's the thing, I don't know the assumptions but I think it's foundable! |
Hello guys,
Nice project, here!
However, it'd be nice if we had fractional ages allowance by default.
For example, allowing fractional ages directly when instanciating
SingleLife
objects knowing the
fractional_assump
... this implies changingthe way a couple of methods are implemented but it's relatively a light!
Thanks.
The text was updated successfully, but these errors were encountered: