The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » General » SCHOOL ATTENDANCE (Net and Gross Attendance Ratios(NAR_GAR_GPINDEX))
Re: SCHOOL ATTENDANCE [message #23797 is a reply to message #23782] Wed, 01 December 2021 16:19 Go to previous messageGo to previous message
Shireen-DHS is currently offline  Shireen-DHS
Messages: 140
Registered: August 2020
Location: USA
Senior Member
Hello Francois,

Thank you for your question. We needed to update the PH_SCHOL code file to adjust for when surveys cross over two years such as the Rwanda 2019-2020 survey. Please go back to GitHub to download the updated file.

In addition, you need to make some country specific changes to the code. Please read the note at the top of the PH_SCHOL do file. You need to check the year and month of the school calendar as well as the age ranges for school attendance. These changes should be made in lines 63-73 of the code. The current code uses the Zimbabwe 2015 survey as an example. Therefore, you need to change the global school_start_yr to 2019 and the month remains as 1 for January. The age range in line 70 should be changed from 6 to 7, since in Rwanda the ages for primary school is 7-12 and secondary is 13-18.

After you make these changes you can run the code and it will produce an excel file that has the totals and the breakdown of the NAR and GAR by background variables. I checked this after making the country specific changes and it matches table 2.12.

Thank you.
Best,
Shireen Assaf
The DHS Program
 
Read Message
Read Message
Read Message
Previous Topic: Liberia- Cervical Cancer Screening Questions
Next Topic: Couple weight
Goto Forum:
  


Current Time: Wed Apr 24 10:02:05 Coordinated Universal Time 2024