Description Usage Arguments Details Value Examples
get_tla
present value of annuity-immediate
1 |
px |
a vector of composite survivial probs from age x to x + n - 1. Length = n |
i |
discount rate, scalar |
scale |
numeric vector of length px |
cashflow |
The cashflow of the annuity can be specified by this argument. This is useful when calculating PV of benefits with COLA. |
Suppose the age corresponding to px runs from a1 to aN, and f = aN + 1 (eg. age 30:64, f = 65) The function computes a..x, f - x and s_a..x, f - x, x runing from a1 to aN. The length of px is f - a1 Note that the last element is redundant, just used as a place holder.
an n vector storing the value of temporary life annuities from age x to age x + n - 1
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.