lt_rule_1a0: calculate a0 in different ways

View source: R/lt_rule.R

lt_rule_1a0R Documentation

calculate a0 in different ways

Description

This function wraps the Coale-Demeny and Andreev-Kingkade approximations for a0, which can come from M0, q0, or IMR.

Usage

lt_rule_1a0(
  rule = "ak",
  M0 = NULL,
  q0 = NULL,
  Sex = "m",
  IMR = NA,
  region = "w",
  SRB = 1.05
)

Arguments

rule

character. Either "ak" (Andreev-Kingkade) or "cd" (Coale-Demeny).

M0

numeric. Event exposure infant mortality rate.

q0

a value or vector of values of m0, the death risk in the first year of life.

Sex

character, either "m", "f", or "b"

IMR

numeric. Optional. q0, the death probability in first year of life, in case available separately.

region

character. "n", "e", "s" or "w" for North, East, South, or West.

SRB

the sex ratio at birth (boys / girls), default 1.05

Details

If sex is given as both, "b", then we calculate the male and female results separately, then weight them together using SRB. This is bad in theory, but the leverage is trivial, and it's better than using male or female coefs for the total population.

Neither Coale-Demeny nor Andreev-Kingkade have explicit a0 rules for both-sexes combined. There's not a good way to arrive at a both-sex a0 estimate without increasing data requirements (you'd need data from each sex, which are not always available). It's more convenient to blend sex-specific a0 estimates based on something. Here we use SRB to do this, for no other reason than it has an easy well-known default value. This is bad because it assumes no sex differences in infant mortality, but this choice has a trivial impact on results.

Value

a0, the estimated average age at death of those dying in the first year of life, either a single value or a vector of values.


timriffe/DemoTools documentation built on Oct. 14, 2024, 12:53 p.m.