Skip to contents

The Kannisto logistic hazard plus a constant, for the age-independent component above the logistic ceiling.

Usage

kannisto_makeham(x, par = NULL)

Arguments

x

vector of age at the beginning of the age classes.

par

parameters of the selected model. If NULL the default values are assigned automatically.

Value

A list of rates and model parameters.

Examples

kannisto_makeham(x = 85:120)
#> $hx
#>  [1] 1.000968 1.000972 1.000976 1.000978 1.000981 1.000983 1.000985 1.000987
#>  [9] 1.000989 1.000990 1.000991 1.000992 1.000993 1.000994 1.000995 1.000995
#> [17] 1.000996 1.000997 1.000997 1.000997 1.000998 1.000998 1.000998 1.000998
#> [25] 1.000999 1.000999 1.000999 1.000999 1.000999 1.000999 1.000999 1.000999
#> [33] 1.001000 1.001000 1.001000 1.001000
#> 
#> $par
#>     A     B     C 
#> 0.500 0.130 0.001 
#>