← Search

Data · dataset · 2019

convertCMC: Convert century month codes to Stata dates

Listed in LSHTM Data Compass

Stata package to convert century month codes (CMCs) into Stata dates.

Description

CMCs (i.e. dates coded as months since the start of the year 1900), are widely used by the Demographic and Health Surveys program and others. convertCMC can randomly impute an exact day of the month to each date. This avoids (at least in aggregate) the biases that can arise when doing arithmetic with CMCs.

For example, a child that was born in January 2013, whose mother was interviewed in January 2018, may have been either 4 or 5 completed years old at that time depending on whether the mother was interviewed before or after the child's birthday. convertCMC takes into account the length of each month and knows about leap years.

Links

Where it is published

Catalogue records · 1

Topics

Provenance · 1 source records, 8 field assertions
SourceKeyLast seenRaw
LSHTM Data Compassoai:datacompass.lshtm.ac.uk:244612 d agoJSON v1
FieldAssertionExtractorEvidence
concepts[field].local:field:earth-environmentalmapping · lshtm ac ukconnector:lshtm_ac_uk@1.0.0
concepts[field].local:field:humanitiesmapping · lshtm ac ukconnector:lshtm_ac_uk@1.0.0
concepts[field].local:field:life-sciencesmapping · lshtm ac ukconnector:lshtm_ac_uk@1.0.0
concepts[field].local:field:medicine-healthmapping · lshtm ac ukconnector:lshtm_ac_uk@1.0.0
concepts[field].local:field:social-sciencemapping · lshtm ac ukconnector:lshtm_ac_uk@1.0.0
descriptionsource · lshtm ac ukconnector:lshtm_ac_uk@1.0.0/metadata/dc/description
publication_datesource · lshtm ac ukconnector:lshtm_ac_uk@1.0.0
titlesource · lshtm ac ukconnector:lshtm_ac_uk@1.0.0/metadata/dc/title