Learn R Programming

lifecontingencies (version 1.3.12)

mxt: Central mortality rate

Description

This function returns the central mortality rate demographic function.

Usage

mxt(object, x, t)

Value

A numeric value representing the central mortality rate between age \(x\) and \(x+t\).

Arguments

object

a lifetable or actuarialtable object

x

subject's age

t

period on which the rate is evaluated

References

Actuarial Mathematics (Second Edition), 1997, by Bowers, N.L., Gerber, H.U., Hickman, J.C., Jones, D.A. and Nesbitt, C.J.

Examples

Run this code
#assumes SOA example life table to be load
data(soaLt)
soa08Act=with(soaLt, new("actuarialtable",interest=0.06,x=x,lx=Ix,name="SOA2008"))
#compare mx and qx 
mxt(soa08Act, 60,10)
qxt(soa08Act, 60,10)

Run the code above in your browser using DataLab