Home » Topics » Reproductive Health » Calculating Median Ages
Re: Calculating Median Ages [message #3198 is a reply to message #3197] |
Wed, 05 November 2014 16:35 |
Liz-DHS
Messages: 1516 Registered: February 2013
|
Senior Member |
|
|
Dear User,
V509 Century month code of the date of start of first marriage or union (see note on century month codes).
V011 Century month code of date of birth of the respondent (see note on century month codes).
V005 Sample weight is an 8 digit variable with 6 implied decimal places. To use the sample
weight divide it by 1000000 before applying the weighting factor. All sample weights are
normalized such that the weighted number of cases is identical to the unweighted number of
cases when using the full dataset with no selection. This variable should be used to weight
all tabulations produced using the data file. For self-weighting samples this variable is equal
to 1000000.
For a full description of recode variable names please refer to The Standard Recode Manual. You can download it from our website http:// dhsprogram.com/publications/publication-DHSG4-DHS-Questionna ires-and-Manuals.cfm
Quote:Century Month Code
All dates in the data file are expressed in terms of months and years and also as century month codes. A
century month code (CMC) is the number of the month since the start of the century. For example, January
1900 is CMC 1, January 1901 is CMC 13, January 1980 is CMC 961, and September 1994 is CMC 1137.
The CMC for a date is calculated from the month and year as follows:
CMC = (YY * 12) + MM for month MM in year 19YY.
To calculate the month and year from the CMC use the following formulae:
YY = int((CMC - 1) / 12)
MM = CMC - (YY * 12)
For Dates in 2000 and after the CMC is calculated as follows:
CMC = ((YYYY-1900) * 12) + MM for month MM in year YYYY.
To calculate the month and year from the CMC use the following formulae:
YYYY = int((CMC - 1) / 12)+1900
MM = CMC - ((YYYY-1900) * 12)
|
|
|
|
|
Calculating Median Ages
By: hlantos on Fri, 06 June 2014 11:37
|
|
|
Re: Calculating Median Ages
By: Liz-DHS on Fri, 06 June 2014 12:01
|
|
|
Re: Calculating Median Ages
By: hlantos on Tue, 24 June 2014 15:07
|
|
|
Re: Calculating Median Ages
By: Liz-DHS on Tue, 24 June 2014 15:27
|
|
|
Re: Calculating Median Ages
By: Liz-DHS on Tue, 24 June 2014 15:54
|
|
|
Re: Calculating Median Ages
By: hlantos on Tue, 24 June 2014 17:00
|
|
|
Re: Calculating Median Ages
By: hlantos on Tue, 08 July 2014 09:58
|
|
|
Re: Calculating Median Ages
By: hlantos on Tue, 08 July 2014 10:15
|
|
|
Re: Calculating Median Ages
By: Liz-DHS on Tue, 08 July 2014 11:40
|
|
|
Re: Calculating Median Ages
|
|
|
Re: Calculating Median Ages
By: rbriceno on Wed, 05 November 2014 16:04
|
|
|
Re: Calculating Median Ages
By: Liz-DHS on Wed, 05 November 2014 16:35
|
|
|
Re: Calculating Median Ages
By: rbriceno on Thu, 06 November 2014 10:38
|
|
|
Re: Calculating Median Ages
By: Liz-DHS on Tue, 11 November 2014 11:33
|
Goto Forum:
Current Time: Tue Jan 14 20:12:55 Coordinated Universal Time 2025
|