The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » India » School attendance for 6-17 years
Re: School attendance for 6-17 years [message #18157 is a reply to message #14141] Tue, 01 October 2019 07:28 Go to previous message
biswaj41_ssf is currently offline  biswaj41_ssf
Messages: 7
Registered: May 2019
Member
Modification according to NFHS-4 to replicate table no. 2.19 (India national report)

There are two phases in NFHS-4 and we need to define CMC separately for two phases. Just change to the following codes in the help file provided by Tom Pullum. No need to change other codes.

* Generating different CMC for two phases
gen CMC=.
replace CMC = 4+12*(2014-1900) if shphase == 1
replace CMC = 4+12*(2015-1900) if shphase == 2
tab shphase CMC
gen must_use_hv105=0
replace must_use_hv105=1 if in_BR==. & in_IR==. & in_MR==.
gen sh18c_test=CMC-cmc_of_birth

Enjoy!
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: NFHS-4 Median Birth interval mismatch
Next Topic: Minimum Dietary Diversity Score
Goto Forum:
  


Current Time: Sat Apr 27 06:11:17 Coordinated Universal Time 2024