The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » General Data Questions » Liberia - Not possible to replicate education indicators
Re: Liberia - Not possible to replicate education indicators [message #12415 is a reply to message #12355] Fri, 12 May 2017 08:07 Go to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3152
Registered: February 2013
Senior Member
Following is a response from DHS Senior Research Associate, Lindsay Mallick:


There is one error in your code that immediately jumps out. Typically, you should use the variable hv122 as this will ensure that you are calculating NAR for primary school attendance versus secondary for the appropriate age groups as the table specifies.

For example, for primary school among 6-11 year olds, the code would look like this:

gen wgt=hv005/1000000
tab hv122 if inrange(hv105,6,11) [iw=wgt]

There was also an additional calculation done for this survey for this table. Because the survey ran across two school calendar years, adjustments were made using the CMC for age of the child based on the beginning of the country's school year. Further, data were imputed for children with missing CMC of birth. Thus, the code above would not yield a match with the final report.

Please make sure to also view our newly released video on matching tables in the final reports:
https://www.youtube.com/watch?v=tjuaPV4eC_E&feature=yout u.be&list=PLagqLv-gqpTMU3avlnBDodTWCazURy4CT

[Updated on: Fri, 12 May 2017 09:49]

Report message to a moderator

 
Read Message
Read Message
Previous Topic: total population factors for all women
Next Topic: Women's status module
Goto Forum:
  


Current Time: Thu Sep 12 14:00:23 Coordinated Universal Time 2024