Home » Topics » Fertility » Please help! DHS Malawi youth-specific
Re: Please help! DHS Malawi youth-specific [message #16637 is a reply to message #2020] |
Fri, 08 February 2019 07:43 |
Arectie
Messages: 1 Registered: February 2019
|
Member |
|
|
malayaka wrote on Mon, 14 April 2014 16:40Hello,
I am using STATA 11.2 and I am having difficulty generating the same (DHS Malawi 2010) percents/figures for:
1) Women ages 20-24 yrs who married by age 18
2) Women ages 20-24 yrs who gave birth (first birth) by age 18
Below are the STATA codes I used for "Married by age 18," which I will then replicate for "Women ages 20-24 yrs who gave birth by age 18." I then plan to crosstab by wealth, residence (urban/rural), and region. Can someone please assist and tell me the correct code(s)/approach to produce the same figures? https://www.stlcurioshoppe.com/v-tight-gel-review/
STATA CODE:
use v005 v012 v013 v021 v022 v023 v024 v025 v044 v101 v102 v106 v149 v155
v190 v201 v212 v313 v384a v384b v384c v463z v501 v502 v511 v536 v613 v714
v717 v731 v739 v763a d005 d108 d124 d125 using "/Users/Desktop/MWIR61FL.DTA
generate weight = v005/1000000
svyset [iweight=weight], psu(v021) strata(v023)
************************
* Married by age 18
************************
* Age group (20-24 yrs) and married by age 18
svy: tabulate v511 v013 if v013==2
* By age group (15-19 yrs), married by age 18 and wealth
quintile
svy: tabulate v511 190 if v013==2, column
* By age group (15-19 yrs), married by age 18 and place of
residence (urban/rural)
svy: tabulate v511 102 if v013==2, column
* By age group (15-19 yrs), married by age 18 and region
(North, Central, South)
svy: tabulate v511 101 if v013==2, column
Thank you in advance.
I wonder what were your findings on this study.
[Updated on: Tue, 12 February 2019 04:31] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Fri Oct 4 19:31:01 Coordinated Universal Time 2024
|