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
Zimbabwe (2005) and Cameroon (2004) - computing 12 months prevalence [message #9484] Fri, 01 April 2016 10:25 Go to next message
cathya15@hotmail.com is currently offline  cathya15@hotmail.com
Messages: 1
Registered: April 2016
Location: washington dc
Member
Hello,

I am using STATA 12 and having difficulty generating the DHS Zimbabwe domestic violence figures for:

Women ages 15-49 who ever experienced domestic violence (both physical and sexual) in the past 12 months (%).

Below are the STATA codes I found on this forum to calculate lifetime prevalence that I have adapted to calculate 12 months prevalence. Unfortunately, when I use them, I get a denominator of 3,859 instead of 4,188 on table 17.10 (page 271 of 2005 Zimbabwe DHS report). Can someone please help with the correct code to use?

Also, I would like to compute recent prevalence of domestic violence for Cameroon using the 2004 DHS dataset and realized that the variables used are different than for earlier rounds of the DHS. Would you mind also showing me the codes to compute the 12-months prevalence of domestic violence (physical and sexual) for Cameroon 2004?


*****
g wt=d005/1000000 /*This is the domestic violence weight, not the women's weight*/

*If adjusting for sampling design:
g strata=v023
svyset [pw=wt], psu(v021) strata(strata) singleunit(center)

lab def yesno 0 "no" 1 "yes"

g recent_spousal=.
replace recent_spousal=0 if v044==1 & v502==1
replace recent_spousal=1 if 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)

lab var recent_spousal "Experienced spousal physical violence in the past 12 months"
lab val recent_spousal yesno

[Updated on: Mon, 04 April 2016 14:14]

Report message to a moderator

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.
Previous Topic: merging HIV results and couples data
Next Topic: Merging
Goto Forum:
  


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