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
- DOI doi.org/10.5281/zenodo.3557306 ↗
DOI / persistent id · from lshtm ac uk
Catalogue records · 1
- OAI-PMH record datacompass.lshtm.ac.uk/cgi/oai2?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3… ↗
metadata API · from lshtm ac uk
Topics
- From keywords
- Earth & Environmental Science · Humanities · Life Sciences · Medicine & Health · Social Science
Provenance · 1 source records, 8 field assertions
| Source | Key | Last seen | Raw |
|---|---|---|---|
| LSHTM Data Compass | oai:datacompass.lshtm.ac.uk:2446 | 12 d ago | JSON v1 |
| Field | Assertion | Extractor | Evidence |
|---|---|---|---|
| concepts[field].local:field:earth-environmental | mapping · lshtm ac uk | connector:lshtm_ac_uk@1.0.0 | |
| concepts[field].local:field:humanities | mapping · lshtm ac uk | connector:lshtm_ac_uk@1.0.0 | |
| concepts[field].local:field:life-sciences | mapping · lshtm ac uk | connector:lshtm_ac_uk@1.0.0 | |
| concepts[field].local:field:medicine-health | mapping · lshtm ac uk | connector:lshtm_ac_uk@1.0.0 | |
| concepts[field].local:field:social-science | mapping · lshtm ac uk | connector:lshtm_ac_uk@1.0.0 | |
| description | source · lshtm ac uk | connector:lshtm_ac_uk@1.0.0 | /metadata/dc/description |
| publication_date | source · lshtm ac uk | connector:lshtm_ac_uk@1.0.0 | |
| title | source · lshtm ac uk | connector:lshtm_ac_uk@1.0.0 | /metadata/dc/title |