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

m Deferring period. Assumed to be 1 whether missing wrong m=0 by default #32

Open
rolandkofler opened this issue Jul 20, 2019 · 0 comments

Comments

@rolandkofler
Copy link

require(lifecontingencies)
data("demoGermany")
lifetableMale = probs2lifetable(probs= demoGermany$qxMale, radix = 10000, type = "qx", name= "DE 1994 Male")
actuarialTable = new("actuarialtable",x=lifetableMale@x, lx=lifetableMale@lx, interest=0.02, name="German Male '94 actuarialtable")
age = 109
limit = 111
payout = 2000 

payout * axn(actuarialtable = actuarialTable, 
             x = age, 
             n = limit, 
             i = actuarialTable@interest,
             k = 1)

results in: 4762.061

As does


payout * axn(actuarialtable = actuarialTable, 
             x = age, 
             n = limit, 
             i = actuarialTable@interest,
             m = 0,
             k = 1)
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

1 participant