chmortp: Calculates the childhood component death probabilities based...

Description Usage Arguments Value Author(s) Examples

View source: R/chmortp.R

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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

1
2
3
4
5
6
# Calculate childhood component death probabilities based on ADBR70 data

data("ADBR70")
chmortp(
 ADBR70
)

DHS.rates documentation built on Dec. 11, 2021, 10:01 a.m.