The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » India » Calculation of OOPE for delivery care using NFHS-4 , India data
Re: Calculation of OOPE for delivery care using NFHS-4 , India data [message #27630 is a reply to message #26525] Wed, 13 September 2023 01:50 Go to previous message
anjalibansal6693 is currently offline  anjalibansal6693
Messages: 24
Registered: February 2018
Member
Hey Lily

Using the above code we are not able to match the Out of pocket expenditure for India, I have used the syntax and getting a difference of 500 rs, can you help with that

gen Delivecost = s454 if inrange(s454,0,99995)
foreach var of varlist s452a s452b s452c s452d {
gen `var'_new = `var' if inrange(`var',1,99990)
}
egen cost_other = rowtotal( s452a_new s452b_new s452c_new s452d_new)
replace cost_other=. if s452a_new==. & s452b_new==. & s452c_new==. & s452d_new==.
gen s451_new = s451 if inrange( s451 ,1,99990)
egen total_cost = rowtotal( Delivecost cost_other s451_new)
replace total_cost = . if Delivecost==. & cost_other==. & s451_new==.
ta total_cost if bidx==1
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Family Structure
Next Topic: Prevalence Ratio or Odds Ratio
Goto Forum:
  


Current Time: Fri Nov 22 07:33:49 Coordinated Universal Time 2024