powered by
Calculates the fractional probability for a person of x+s/k dies before age x+(s+1)/k.
qfrac(x, s, k, i, data, assumption, prop)
An integer. The age of the insuree.
An integer. Fraction of the year.
An integer. Number of fractions per year.
The interest rate. A numeric type value.
A data.frame containing the mortality table, with the first column being the age and the second one, the probability of death.
A character string. The assumption used for fractional ages ("UDD" for uniform distribution of deaths and "constant" for constant force of mortality).
A numeric value. It represents the proportion of the mortality table being used (between 0 and 1).
The fractional probability of death.
# NOT RUN { qfrac(27,1,4,0.04,CSO80MANB,"constant",1) qfrac(20,0,12,0.04,CSO80MANB,"UDD",0.8) # }
Run the code above in your browser using DataLab