Home » Topics » Reproductive Health » Calculating Median Ages
Calculating Median Ages [message #2343] |
Fri, 06 June 2014 11:37 |
hlantos
Messages: 6 Registered: June 2014 Location: Washington DC
|
Member |
|
|
Hello all, I'm trying to develop STATA code for median ages of variables that are age dependent (right now age at first sex, age at first marriage, and age at first birth). I've found the following explanation:
1) Age at first marriage or first union is calculated as the difference between date when woman began living with first husband or consensual partner and date of birth of woman in completed single years.
2) The numerators are the number of women within single year of age categories who have married or lived in a consensual union.
3) The denominator is the number of women of all marital statuses.
4) Numerators for each age category are divided by the corresponding age category denominator and multiplied by 100 to obtain percentages.
5) Once the percentages have been calculated within specific age group categories, medians are calculated from the cumulated single year of age percent distributions for the ages women were first married. The median is linearly interpolated between the age values by which 50 percent or more of the women were first married or lived in consensual union.
I understand each of the steps until step 5... a) what does it mean to calculate a median from the cumulated single year of age distributions - am i combining them all into a weighted sample essentially? and b) how would any of you think about doing that in STATA?
Thanks!
Hannah
|
|
|
|
|
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: Mon Jan 13 18:29:28 Coordinated Universal Time 2025
|