The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Bangladesh » Selecting children who "Finished primary school"
Re: Selecting children who "Finished primary school" [message #13251 is a reply to message #13229] Mon, 09 October 2017 07:45 Go to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3208
Registered: February 2013
Senior Member

Following is a response from Senior DHS Stata Specialist, Tom Pullum:


I agree but with the following modifications. If you look at the children age 12 in this survey (the file is BDPR61FL.dta), and enter "tab hv124" you will see that hv124 ranges from 0 through 10. How would you interpret the values 7, 8, 9, or 10? Perhaps you should replace lines 2 and 3 with "replace finished_primary=1 if hv124>=6 & hv105 >= 12 & hv105 <=15". Having completed primary school is also given by hv106 equal to 1 or 2 or 3. You could use hv106 rather than hv124. If working with all countries, you cannot assume that grade 6 is the last grade of primary school. There are some variations in this from one country to another.

Another thing--the NA code (something incorrectly used as Missing) will be included with hv124>=6. It would be safer to include "& hv124<." after the "if". If the variable had other Missing codes such as 99 you would want to set an upper limit lower than that.

 
Read Message
Read Message
Previous Topic: Age at first birth
Next Topic: current use of contraception 2011
Goto Forum:
  


Current Time: Thu Dec 12 03:03:40 Coordinated Universal Time 2024