DHS 2010 Malawi Report Replication [message #13346] |
Thu, 26 October 2017 09:53 |
jrg20
Messages: 4 Registered: October 2017 Location: South Africa
|
Member |
|
|
Hello,
I am attempting to replicate Table 2.4 from the Malawi 2010 DHS Report.
Find my (stata) code below:
gen weight=hv005/1000000
svyset [pw=weight], psu(hv021) strata(hv022)
svy:tab hv122 if inrange(hv105,6,13) & hv025==1 & hv104==1 & hv103==1 /// range given in the notes in DHS Final report Table 2.4 where hv103==1 is defacto, hv025==1 is urban, and hv104==1 is male.
Output from this code is giving me that ratio attended =92.76% instead of 96.3% as reported in the DHS Report.
May you kindly tell me where I am getting this wrong?
Thank you.
|
|
|
|
|
|