The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Fertility » Please help! DHS Malawi youth-specific
Please help! DHS Malawi youth-specific [message #2020] Mon, 14 April 2014 16:40 Go to previous message
malayaka is currently offline  malayaka
Messages: 18
Registered: March 2014
Member
Hello,

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?

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.

[Updated on: Tue, 15 April 2014 13:39]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ASFR :Further Analysis using NDHS, 2011
Next Topic: Wanted Total Fertility Rate in DHS
Goto Forum:
  


Current Time: Thu Sep 19 13:35:12 Eastern Daylight Time 2019