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

survival vector on life? #44

Closed
alecloudenback opened this issue Feb 9, 2021 · 0 comments · Fixed by #45
Closed

survival vector on life? #44

alecloudenback opened this issue Feb 9, 2021 · 0 comments · Fixed by #45

Comments

@alecloudenback
Copy link
Member

alecloudenback commented Feb 9, 2021

life = SingleLife(                 # The life underlying the risk
    mort = vbt2001.select[age],    # -- Mortality rates
    issue_age = 30                 # -- Issue Age
)

yield = Yields.Constant(0.05)      # Using a flat 5% interest rate

lc = LifeContingency(life, yield)  # LifeContingency joins the risk with interest


ins = Insurance(lc)                # Whole Life insurance

Any reason to not extend survival() to work on life? Currently only has method for ins. Similar for other functions, e.g. survival(life,30,35)

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

Successfully merging a pull request may close this issue.

1 participant