The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Tanzania » Education - Net Attendance Ratio (Primary)
Education - Net Attendance Ratio (Primary) [message #12900] Wed, 02 August 2017 17:54 Go to previous message
djohnson is currently offline  djohnson
Messages: 1
Registered: August 2017
Member
I am having trouble replicating the Net Attendance Ratio for Primary Education that was presented in the DHS Tanzania 2015/16 Final Report. I was originally trying to just calculate confidence intervals, but now I am worried I have missed something along the way since the rate itself doesn't match (I get 73.979%, DHS report shows 75.7%).

I am using the TZPR7HFL.DTA dataset for Stata, variable hv121 to represent attending, hv122 for the education level, and hv105 for age.

I am also using:
weight --> HV005/1,000,000
cluster --> HV021 Primary sampling unit
strata --> HV023 Stratification used in sample design

More or less (with minor background formatting/variable generation), I'm doing the following:

gen net attend = 0
replace netattend = 100 if attending==1 & inrange(age,7,13) & level==1

svyset cluster [pweight=hhweight], strata(strata)
svy, subpop(if inrange(age,7,13)) : mean netattend
estat size, obs

Thanks!
 
Read Message
Read Message
Previous Topic: Infant mortality, neonatal mortality
Next Topic: Stratification for 1996, 1999, 2004-2005 dataset
Goto Forum:
  


Current Time: Wed Nov 27 19:53:17 Coordinated Universal Time 2024