Timaeus, I. 2019. convertCMC: Convert century month codes to Stata dates. [Online]. Zenodo. Available from: https://doi.org/10.5281/zenodo.3557306
Timaeus, I. convertCMC: Convert century month codes to Stata dates [Internet]. Zenodo; 2019. Available from: https://doi.org/10.5281/zenodo.3557306
Timaeus, I (2019). convertCMC: Convert century month codes to Stata dates. [Data Collection]. Zenodo. https://doi.org/10.5281/zenodo.3557306
Alternative Title
BugBunny/convertCMC: Convert century month codes to Stata dates
Description
Stata package to convert century month codes (CMCs) into Stata dates.
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.
Keywords
Data capture method | Other |
---|---|
Date (Date published in a 3rd party system) | 29 November 2019 |
Language(s) of written materials | English |
Data Creators | Timaeus, I |
---|---|
LSHTM Faculty/Department | Faculty of Epidemiology and Population Health > Dept of Population Health (2012- ) |
Research Centre | Population Studies Group |
Participating Institutions | London School of Hygiene & Tropical Medicine, London, United Kingdom |
Date Deposited | 16 Aug 2021 09:14 |
---|---|
Last Modified | 16 Aug 2021 09:14 |
Publisher | Zenodo |