udeferredtqx: Deferred CDF of Future Lifetime

Description Usage Arguments Details

View source: R/makehams.R

Description

Probability of surviving u years and dying in the next t years

Usage

1
udeferredtqx(u, t = 1, x = gl.g(x), s = 0, addtox = FALSE)

Arguments

u

the number of years to survive

t

the number of years to death within

x

the current age

s

the select used

addtox

indicate whether s implies that age is x+s

Details

Can be calculated by splitting the CDF. Use tpx(u,x) - tpx(u+t,x) since it tends to be more accurate than tpx * tqx method. u can be a vector with length > 1 t can be a vector with length > 1 x can be a vector with length > 1 s can be a vector with length > 1


nathanesau/makehams documentation built on May 23, 2019, 12:19 p.m.