Re: Computing Education Indicators using STATA [message #258 is a reply to message #167] |
Thu, 04 April 2013 14:18 |
Bridgette-DHS
Messages: 3219 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 1986 times)
|
|
|