Description Usage Arguments Value Author(s) See Also Examples
View source: R/mortmod.45q15.R
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, child mortality (5q0), and adult mortality (45q15)
1 | mortmod.45q15(child.mort, adult.mort, prev, region = 1, sex = 1, opt=TRUE)
|
child.mort |
Probability of death between age 0 and 5, 5q0 |
adult.mort |
Probability of death between age 15 and 60, 45q15 |
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 will use a value for the weight for the first SVD component that produces a set of age-specific mortality rates that produce a 45q15 that matches the input 45q15. The model will also adjust the first two (childhood) mortality rates (1q0, 4q1) in a proportional way so as to match the input 5q0. |
A set of mortality rates for ages 0, 1-4, 5-9, 10-14, ...,100+
David J Sharrow
1 | mortmod.45q15(child.mort=0.06, adult.mort=0.20, prev=2.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.