chmortp {DHS.rates} | R Documentation |
Calculates the childhood component death probabilities based on survey data.
Description
chmortp
returns weighted childhood component death probabilities for 8 age segments 0, 1-2, 3-5, 6-11,
12-23, 24-35, 36-47, and 48-59 months
chmort
returns weighted and unweighted number of deaths and children-years exposure.
Usage
chmortp(
Data.Name,
Weight = NULL,
Date_of_interview = NULL,
Date_of_birth = NULL,
Age_at_death = NULL,
PeriodEnd = NULL,
Period = NULL,
Class = NULL
)
Arguments
Data.Name |
The DHS births (BR) dataset or data from other survey with the same format. |
Weight |
Survey weight variable if other than "v005". |
Date_of_interview |
Date of Interview (CMC) variable if other than "v008". |
Date_of_birth |
Child date of birth (CMC) variable if other than "b3". |
Age_at_death |
Child age at death (in months) variable if other than "b7". |
PeriodEnd |
The end of the exposure period in YYYY-MM format; default is the date of the survey. |
Period |
The study period for mortality in months; default is 60 months (5 years). |
Class |
Allow for domain level indicators. |
Value
Childhood component death probabilities.
Author(s)
Mahmoud Elkasabi.
Examples
# Calculate childhood component death probabilities based on ADBR70 data
data("ADBR70")
chmortp(
ADBR70
)