Learn R Programming

lifecontingencies (version 0.0.5)

mxt: Central mortality rate.

Description

Function to return the central mortality rate.

Usage

mxt(object, x, t)

Arguments

object
A lifetable object
x
Age when the calculation starts.
t
Age when the calculation ends, default=1.

Value

  • A numeric value representing the central mortality rate between age x and x+t.

Details

The central mortality rate is defined as $m_{x,t}=\frac{d_{x,t}}{{l_{x,t}}}$

References

Livi Bacci, Introduzione alla demografia, Loersher.

See Also

lifetable, Lxt

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