Calculates the present value of a varying life annuity according to a geometric progression.
avg( x, h, n, k =1, r, i =0.04, data, prop =1, assumption ="none", variation ="none", cap =1)
Arguments
x: An integer. The age of the insuree.
h: An integer. The deferral period.
n: An integer. Number of years of coverage.
k: An integer. Number of payments per year.
r: The variation rate. A numeric type value.
i: The interest rate. A numeric type value.
data: A data.frame of the mortality table, with the first column being the age and the second one the probability of death.
prop: A numeric value. It represents the proportion of the mortality table being used (between 0 and 1).
assumption: A character string. The assumption used for fractional ages ("UDD" for uniform distribution of deaths, "constant" for constant force of mortality and "none" if there is no fractional coverage).
variation: A character string. "inter" if the variation it's interannual or "intra" if it's intra-annual.
cap: A numeric type value. The annualized value of the first payment.
Returns
Returns a numeric value (actuarial present value).