life_table function

Compute period lifetables from age-specific mortality rates

Compute period lifetables from age-specific mortality rates

All available years and ages are included in the tables. qx=mx/(1+((1ax)mx))qx = mx/(1 + ((1-ax) * mx)) as per Chiang (1984). Warning: the code has only been tested for data based on single-year age groups.

life_table(.data, mortality)

Arguments

  • .data: A vital including an age variable and a variable containing mortality rates.
  • mortality: Variable in .data containing Mortality rates (mx). If omitted, the variable with name mx, Mortality or Rate will be used (not case sensitive).

Returns

A vital object containing the index, keys, and the new life table variables mx, qx, lx, dx, Lx, Tx and ex.

Examples

# Compute Victorian life table for females in 2003 aus_mortality |> dplyr::filter(Code == "VIC", Sex == "female", Year == 2003) |> life_table()

References

Chiang CL. (1984) The life table and its applications. Robert E Krieger Publishing Company: Malabar.

Keyfitz, N, and Caswell, H. (2005) Applied mathematical demography, Springer-Verlag: New York.

Preston, S.H., Heuveline, P., and Guillot, M. (2001) Demography: measuring and modeling population processes. Blackwell

Author(s)

Rob J Hyndman