SingleAgeLogQuad: Estimate single-age survival functions using Log-Quadratic...

View source: R/reverse_survival_aux.R

SingleAgeLogQuadR Documentation

Estimate single-age survival functions using Log-Quadratic Model

Description

Estimate single-age survival functions using Log-Quadratic Model and ungroup

Usage

SingleAgeLogQuad(
  k = NULL,
  e0 = NULL,
  q0_1 = NULL,
  q0_5 = NULL,
  q15_35 = NULL,
  q15_45 = NULL,
  lt = NULL,
  sex = "total"
)

Arguments

k

log-quad parameter k

e0

log-quad parameter e0

q0_1

log-quad parameter 0q1

q0_5

log-quad parameter 0q5

q15_35

log-quad parameter 15q35

q15_45

log-quad parameter 15q45

lt

reference life table for modeling log quad parameters, default = HMD

sex

sex to retrieve HMD sex and life table ('female','male','total' - default)

Value

single age life table estimated by ungrouping log-quad model estimation

Examples

SingleAgeLogQuad( e0 = 70, q0_5 = 0.04 )

josehcms/fertestr documentation built on Oct. 9, 2024, 9:03 p.m.