-
Notifications
You must be signed in to change notification settings - Fork 0
/
pma_comparable_IPV_indicators.do
39 lines (30 loc) · 1.46 KB
/
pma_comparable_IPV_indicators.do
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
******************************************
*Author: Devon Kristiansen *
*Creating comparable IPV indicators - PMA*
*September 1, 2023 *
*Variables needed in your data file: *
*eaid, fqweight, marstat, *
*intgbvprivacy, ipvemoyr, ipvthreatkillyr*
*ipvphysyr, sexforceyr *
******************************************
clear
cd "[filepath]" //insert filepath to your downloaded IPUMS PMA data file
use pma_00###.dta //replace ### with the number of your Stata data file
svyset eaid, weight(fqweight)
**RECONCILING UNIVERSE DIFFERENCES**
*Universe for violence questions is currently married or living with a man
**only keep women who were selected into the module and could have privacy during the interview
keep if intgbvprivacy == 1
**keep only currently married or partnered women
keep if marstat == 21 | marstat == 22
***recode to remove missings and non-responses
foreach var of varlist ipvemoyr ipvthreatkillyr ipvphysyr sexpressureyr sexforceyr {
recode `var' (0=0) (1=1) (else=.)
}
***CONSTRUCTING COMPARABLE INDICATOR VARIABLES***
*Physical violence = slapped, hit, physically hurt, threatened with a weapon or attempted to strangle or kill
egen dvphysyr = rowmax(ipvphysyr ipvthreatkillyr)
*Psychological violence = Insulted, yelled at, screamed or made humiliating remarks
gen dvpsychyr = ipvemoyr
*Sexual violence = physically forced sex
gen dvsexyr = sexforceyr