qfrac function

Fractional Probability of Death

Fractional Probability of Death

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)

Arguments

  • x: An integer. The age of the insuree.
  • s: An integer. Fraction of the year.
  • k: An integer. Number of fractions per year.
  • i: The interest rate. A numeric type value.
  • data: A data.frame containing the mortality table, with the first column being the age and the second one, the probability of death.
  • assumption: A character string. The assumption used for fractional ages ("UDD" for uniform distribution of deaths and "constant" for constant force of mortality).
  • prop: A numeric value. It represents the proportion of the mortality table being used (between 0 and 1).

Returns

The fractional probability of death.

Examples

qfrac(27,1,4,0.04,CSO80MANB,"constant",1) qfrac(20,0,12,0.04,CSO80MANB,"UDD",0.8)