The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Malaria » ITNs - India 2019 DHS
Re: ITNs - India 2019 DHS [message #24698 is a reply to message #24675] Thu, 23 June 2022 10:24 Go to previous messageGo to previous message
Janet-DHS is currently offline  Janet-DHS
Messages: 698
Registered: April 2022
Senior Member
Following is a response from DHS Lead Malaria Research Analyst, Cameron Taylor:

Dear Thiago
Thank you for your question. I am a little unclear how you are getting your results, however, below is code for how to replicate the data that is in Table 2.32 of the India 2019-21 final report using Stata. This might also help you with the issues you are having replicating the data in the Malawi report. This code is also on our Github page https://github.com/DHSProgram/DHS-Indicators-Stata/tree/mast er/Chap12_ML

use "IAHR7AFL.DTA", clear
gen wt=hv005/1000000

//Household mosquito net ownership
gen ml_mosquitonet=0
replace ml_mosquitonet=1 if hv227==1
lab var ml_mosquitonet "Household owns at least one mosquito net"

//Household ITN ownership
gen ml_itnhh=0
forvalues x=1/7 {
replace ml_itnhh=1 if hml10_`x'==1
}
lab var ml_itnhh "Household owns at least one ITN"

//Percentage of households with at least one mosquito net
tab ml_mosquitonet [iw=wt]

//Percentage of households with at least one ITN
tab ml_itnhh [iw=wt]

/index.php?t=getfile&id=1868&private=0

/index.php?t=getfile&id=1869&private=0
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: MIS 2021 final report and datasets
Next Topic: Antimalarial Drugs for Fever
Goto Forum:
  


Current Time: Wed Apr 24 23:49:02 Coordinated Universal Time 2024