The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » HIV » comprehensive knowledge of HIV AIDS
Re: comprehensive knowledge of HIV AIDS [message #6953 is a reply to message #6949] Thu, 06 August 2015 12:15 Go to previous messageGo to previous message
Trevor-DHS is currently offline  Trevor-DHS
Messages: 805
Registered: January 2013
Senior Member
Try the following code:
* A healthy-looking person can have the AIDS virus.
IF (V756 = 1) Healthy = 1.
VARIABLE LABELS Healthy "A healthy-looking person can have the AIDS virus".
VALUE LABELS Healthy 1 "A healthy-looking person can have the AIDS virus".

* The AIDS  virus cannot be transmitted by mosquito bites [COUNTRY SPECIFIC].
IF (V754JP = 0) Mosquito = 1.
VARIABLE LABELS Mosquito "The AIDS  virus cannot be transmitted by mosquito bites [COUNTRY SPECIFIC]".
VALUE LABELS Mosquito 1 "The AIDS  virus cannot be transmitted by mosquito bites [COUNTRY SPECIFIC]".

* The AIDS virus cannot be transmitted by supernatural means [COUNTRY SPECIFIC] .
IF (V823 = 0) SNmeans = 1.
VARIABLE LABELS SNmeans "The AIDS virus cannot be transmitted by supernatural means [COUNTRY SPECIFIC]".
VALUE LABELS SNmeans 1 "The AIDS virus cannot be transmitted by supernatural means [COUNTRY SPECIFIC]".

* A person cannot become infected by sharing food with a person who has the AIDS virus [COUNTRY SPECIFIC] .
IF (V754WP = 0) Sfood = 1.
VARIABLE LABELS SFood "A person cannot become infected by sharing food with a person who has the AIDS virus [COUNTRY SPECIFIC]".
VALUE LABELS SFood 1 "A person cannot become infected by sharing food with a person who has the AIDS virus [COUNTRY SPECIFIC]".

* The two most common local misconception.
* Need to pick the two most common misconceptions - typically mosquito bites and sharing food - but this can vary from survey to survey.
COUNT MSConcep = mosquito, Sfood (1).
*COUNT MSConcep = mosquito, SNMeans (1).

* A healthy-looking person can have the AIDS virus and who reject the two most common local misconceptions.
IF (Healthy = 1 & MSConcep = 2) MCReject = 1.
VARIABLE LABELS MCReject "".
VALUE LABELS MCReject 1 "Percentage who say that a healthy-looking person can have the AIDS virus and who reject the two most common local misconceptions".

* Percentage with a comprehensive knowledge about AIDS.
IF (V754CP = 1 & V754DP = 1 & Healthy = 1 & MSConcep = 2) knowAIDS = 1.
VARIABLE LABELS knowAIDS "".
VALUE LABELS knowAIDS 1 "Percentage with a comprehensive knowledge about AIDS".

Note that the selection for the two most common mis-conceptions in the middle of the code is survey specific, and will vary from country to country.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Women/Children HIV/TB Status Tracking Variable (Nigeria)
Next Topic: Maternal and Child HIV status
Goto Forum:
  


Current Time: Wed Dec 11 20:57:08 Coordinated Universal Time 2024