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 |
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
|
|
|
Goto Forum:
Current Time: Thu Nov 28 07:43:40 Coordinated Universal Time 2024
|