The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » General » Computing Education Indicators using STATA
Re: Computing Education Indicators using STATA [message #258 is a reply to message #167] Thu, 04 April 2013 14:18 Go to previous messageGo to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3117
Registered: February 2013
Senior Member
I am attaching a Stata syntax file that will run the tabulations you are interested in. Please note, that education is not my primary area of research. Therefore, there may be some standards in the definitions of attendance, out-of-school, and completion rates that I am unfamiliar with. For example, these rates may be restricted to a certain age range that relates to the age/number of years in the primary or secondary schooling system. I have included examples of how to restrict the age where I thought it may be relevant, but you may need to change the age cut points, as the ones in my examples are only my best guess.

I also include code to weight the data when producing the tabulations as a matter of practice. This will have minimal effect if you are simply interested in the overall rate (the unweighted and weighted proportions are nearly identical), but becomes more important if you want to examine the rates by region, urban/rural area, or other factor.

Finally, I have written this syntax assuming you are using the 2008 Ghana DHS. If you are using a different year, you may want to verify that the variable names have remained the same.

Bridgette-DHS
  • Attachment: Ghana_edu.do
    (Size: 2.48KB, Downloaded 1934 times)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: using svy function to run cross tabs
Next Topic: PSUs in earlier versions of DHS
Goto Forum:
  


Current Time: Thu Jul 25 15:58:54 Coordinated Universal Time 2024