Re: Ever use of specific contraceptive methods [message #2222 is a reply to message #2221] |
Thu, 29 May 2014 15:47 |
Liz-DHS
Messages: 1516 Registered: February 2013
|
Senior Member |
|
|
Dear User,
I found a note in our DHS-VI recode application: "ever used of methods was removed from DHS-VI"
Here are some snippets of CSPro code which may help you with your analysis. The is based on our Core Standard Questionnaire,but the raw variables should be similar.
{ ***USE
if EVERUSE(k) = 1 then
evuse = 1
elseif EVERUSE(k) = missing & evuse <> 1 then
evuse = missing
elseif evuse = notappl then
evuse = 2
endif;
if evuse = 1 & cuse <> 1 then
cuse = ( pos( "Y", A304) ); { Currently using other traditional methods }
endif;
***USE }
{ ***USE
evuse = EVERUSE(j); { Ever used method }
if evuse = 1 then
cuse = ( pos(currmeth[j:1],A304) > 0 ); { Currently using method }
endif;
***USE }
|
|
|