dannx: EPV of a Deferred Annuity

Description Usage Arguments Details

View source: R/makehams.R

Description

Calculates the expected present value of a deferred annuity

Usage

1
2
dannx(u = 0, x = gl.g(x), s = 0, i = gl.g(i), m = 1, n = gl.g(w) -
  x, c = 0, e = 1, mt = 1)

Arguments

u

the length of the deferral period

x

the current age

s

the select used so far

i

the interest rate

m

the compounding frequency

n

the length of the term

c

indicator of continuous (1 if continuous)

e

indicator of endowment (NOTE of an annuity should always be 1)

mt

the moment of the insurance

Details

By default calculates the first moment of discrete, whole life annuity due. Also, this function is not reliable when n < m.


nathanesau/makehams documentation built on May 23, 2019, 12:19 p.m.