mortmod.5q0: Age-specific mortality rate model as a function of HIV...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/mortmod.5q0.R

Description

This function produces a complete set of mortality rates for ages 0, 1-4, 5-9, 10-14, ...,100+ given a region, sex, HIV prevalence and child mortality alone (5q0)

Usage

1
mortmod.5q0(child.mort, prev, region = 1, sex = 1, opt=TRUE)

Arguments

child.mort

Probability of death between age 0 and 5, 5q0

prev

HIV prevalence expressed as a percentage

region

An integer to indicate which regional model to use. 1 for Africa, 0 for Caribbean or Latin American

sex

An interger to indicate the sex of the desired life table. 1 for female, 0 for male

opt

If opt=TRUE, the model adjusts the first two (childhood) mortality rates (1q0, 4q1) in a proportional way so as to match the input 5q0.

Value

A set of mortality rates for ages 0, 1-4, 5-9, 10-14, ...,100+

Author(s)

David J Sharrow

See Also

hiv.mortmod

Examples

1
mortmod.5q0(child.mort=0.06, prev=2.5)

Example output

 [1] 0.041921927 0.005114830 0.002338109 0.001326337 0.001833778 0.003253928
 [7] 0.004771995 0.005801446 0.006246775 0.006392708 0.006894187 0.008532316
[13] 0.012043740 0.018679740 0.030367755 0.050159926 0.082230065 0.131180109
[19] 0.201539114 0.295119962 0.408490644 0.538703397

HIV.LifeTables documentation built on May 2, 2019, 8:26 a.m.