The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » HIV » Risky & Condomless Sex (Calculaton)
Risky & Condomless Sex [message #19179] Tue, 05 May 2020 11:54 Go to previous message
Yawo is currently offline  Yawo
Messages: 45
Registered: February 2019
Member
Hello: I am attempting to create a variable that measures engagement in protective sex.

The DHS Statistics Manual 7 defines this variable as "Number of women (or men) age 15-49, or young women (or men) age 15-24, who used a condom the last time they had sexual intercourse with a person who was neither their spouse nor lived with them", and provides the following code:

((risk1 & v761 = 1) or  (not risk1 & risk2 & v761b = 1) or (not risk1 & not risk2 & risk3 & v761c = 1)),

where
1=Yes
0=No
(risk1) v767a: Relationship with most recent sex partner (women)
(risk2) v767b: Relationship with 2nd to most recent sex partner (women)
(risk3) v767c: Relationship with 3rd to most recent sex partner (women)
v761: Condom used during last sex with most recent partner (women)
v761b: Condom used during last sex with 2nd to most recent partner (women)
v761c: Condom used during last sex with 3rd to most recent partner (women)

But i do not understand the way the conditions are specified. here is my understanding of the various configurations of protective sex:

-- (risk1 & v761 = 1): women who used condom with their most recent partner
-- (not risk1 & risk2 & v761b = 1): women who used condom with their most recent partner, but I do not understand the NOT prefix for risk1 & risk2. What does the entire condition mean?
-- (not risk1 & not risk2 & risk3 & v761c = 1): same issue/question. What does the NOT prefix remain.

I thought a command such as this would suffice:

(risk1 & v761=1) OR (risk2 & v761b=1) OR (risk3 & v761c=1)

Please kindly let me know if I am misunderstanding the measurement.

Secondly, if i want to measure risky sex, what would be the approach? Just the converse, like:

(risk1 & v761=0) OR (risk2 & v761b=0) OR (risk3 & v761c=0)?

Thanks - cY
 
Read Message
Read Message
Read Message
Previous Topic: Calculating DHS HIV Test Uptake
Next Topic: Missing data for men's paid sex variable in DHS V recode
Goto Forum:
  


Current Time: Fri Apr 19 21:42:43 Coordinated Universal Time 2024