The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Domestic Violence » Zimbabwe (2005) and Cameroon (2004) - computing 12 months prevalence
Re: Zimbabwe (2005) and Cameroon (2004) - computing 12 months prevalence [message #9604 is a reply to message #9484] Wed, 20 April 2016 15:30 Go to previous message
Trevor-DHS is currently offline  Trevor-DHS
Messages: 803
Registered: January 2013
Senior Member
Two small corrections - instead of using v502==1 (currently married or living together), you need to use inlist(v501,1,2,4,5) (ever married, but excluding widowed). Also I recommend to include it in the statement where you set recent_spousal to 1 as there are a few cases of inconsistent reporting - that is widowed women gave an answer other than "widowed"
replace recent_spousal=0 if v044==1 & inlist(v501,1,2,4,5)
replace recent_spousal=1 if v044==1 & inlist(v501,1,2,4,5) & ///
(inrange(d105a,1,2) | inrange(d105b,1,2) | inrange(d105c,1,2) | inrange(d105d,1,2) | /// 
 inrange(d105e,1,2) | inrange(d105f,1,2) | inrange(d105g,1,2) | inrange(d105j,1,2))

For Cameroon 2004, as you note the questions are different, but if you use the equivalent variables from d105(x)n where (x) is a,b,c,d,e,f,g you can find those experienceing physical violence in the last 12 months.
 
Read Message
Read Message
Previous Topic: merging HIV results and couples data
Next Topic: Merging
Goto Forum:
  


Current Time: Thu Nov 28 07:42:30 Coordinated Universal Time 2024