The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Domestic Violence » Cannot replicate IPV ever for India DHS 2005-06
Re: Cannot replicate IPV ever for India DHS 2005-06 [message #12025 is a reply to message #12016] Tue, 21 March 2017 01:47 Go to previous messageGo to previous message
dgodha
Messages: 44
Registered: November 2016
Location: India
Member
Hello Kerry,

Let me reiterate my original question:
"I have been trying to replicate IPV ever for India DHS 2005-06 (NFHS III) but while I am able to get the population size correctly, the prevalence estimate does not match for the 15-19 age group (Table 15.9 on page 509)."

Now, I have applied your correction to my command but I am still getting 37.2% for IPV ever for the 15-19 year age group but the weighted population is a match at 4643.

My commands:
use "IAIR52FL.dta", clear

/*Generating weights*/
gen dwt=d005/1000000
svyset [pw=dwt], psu(s021) strata(v025)

*Recode 9's
recode d104(9=0),g(d104_r)
recode d106(9=0),g(d106_r)
recode d107(9=0),g(d107_r)
recode d108(9=0),g(d108_r)

egen ipv1=rsum (d104_r d106_r d107_r d108_r)
tab ipv1

gen violence=0 if ipv1==0
replace violence=1 if ipv1>0 & ipv1~=.
replace violence=. if d005==. | v502==0

svy :tab violence if v013==1 & v501>=1 & v501<=5 & v044==1

As I had mentioned in my earlier email, I have tried your commands too and I get the same output for the 15-19 year age group.

I will look forward to your feedback.

Thanks
DG


Deepali
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Divorce and Domestic Violence
Next Topic: Defining Women Empowerment
Goto Forum:
  


Current Time: Tue Nov 26 09:07:15 Coordinated Universal Time 2024