Home » Topics » Child Health » Creating h3, h5 and h7 variables
Creating h3, h5 and h7 variables [message #666] |
Wed, 31 July 2013 14:26 |
j5anderson
Messages: 1 Registered: July 2013 Location: University of Florida
|
Member |
|
|
Hello,
I have a question about how h3, h5 and h7 variables are created. In the DHS women's questionnaire, there are options for the interviewer to code '44' if the mother showed a vaccination card and there was an indication that the vaccine was received, but did not have a corresponding date. There is also an option for coding '66' for the day of the vaccination date if the mother indicated that the DPT vaccine was received but was not recorded on the card. How are these responses handled in calculating h3, h5 and h7 variables for DPT1-3? I am using a Coverage Evaluation Survey (CES) data set, which employs the same questionnaire format for vaccinations and would like to create variables identical to h3, h5 and h7 in DHS datasets. Thanks for any help,
John
|
|
|
Re: Creating h3, h5 and h7 variables [message #738 is a reply to message #666] |
Thu, 05 September 2013 17:54 |
Liz-DHS
Messages: 1516 Registered: February 2013
|
Senior Member |
|
|
Dear User,
You may want to refer to the Standard Recode Manual http://www.measuredhs.com/pubs/pdf/DHSG4/Recode6_DHS_22March 2013_DHSG4.pdf and look at REC43 Health History. The sections are bookmared. Rec43 will give you an idea of how these variables are used. You might also want to refer to The Guide to DHS Statistics http://www.measuredhs.com/pubs/pdf/DHSG1/Guide_to_DHS_Statis tics_29Oct2012_DHSG1.pdf. There is a section on Vaccination Rates bookmarked.
Below is some code from one of our standard applications. This may shed some light on these vaccination variables.
************************************************************ ************************************************************ *************************
PROC AWSEC5A_EDT
if V015 = 1 then
for i in AWSEC5A_EDT do
idx = V201 - A502 + 1;
if i <> idx then errmsg( 4300, i, idx ) endif;
if V008 - B3(idx) < 12*hsecs then
{ IDX95(i) = idx; } { index for cs section }
HIDX(i) = idx;
if B5(i) then { Child alive }
{ Has health card }
if A504 in 3,missing then
if A505 = 1 then
H1(i) = 3
elseif A505 = missing then
H1(i) = missing
else
H1(i) = 0
endif
else
H1(i) = A504
endif;
{ BCG }
H2(i) = vrec( D506B, M506B, Y506B, A510A, (A510A=1), 1 );
if H2(i) <> 1 then
H2D(i) = notappl;
H2M(i) = notappl;
H2Y(i) = notappl;
else
H2D(i) = D506B;
H2M(i) = M506B;
H2Y(i) = Y506B;
endif;
{ DPT 1 }
H3(i) = vrec( D506D1, M506D1, Y506D1, A510E, A510F, 1 );
if H3(i) <> 1 then
H3D(i) = notappl;
H3M(i) = notappl;
H3Y(i) = notappl;
else
H3D(i) = D506D1;
H3M(i) = M506D1;
H3Y(i) = Y506D1;
endif;
{ POLIO 1 }
H4(i) = vrec( D506P1, M506P1, Y506P1, A510B, A510D, 1+(A510C=1) );
if H4(i) <> 1 then
H4D(i) = notappl;
H4M(i) = notappl;
H4Y(i) = notappl;
else
H4D(i) = D506P1;
H4M(i) = M506P1;
H4Y(i) = Y506P1;
endif;
{ DPT 2 }
H5(i) = vrec( D506D2, M506D2, Y506D2, A510E, A510F, 2 );
if H5(i) <> 1 then
H5D(i) = notappl;
H5M(i) = notappl;
H5Y(i) = notappl;
else
H5D(i) = D506D2;
H5M(i) = M506D2;
H5Y(i) = Y506D2;
endif;
{ POLIO 2 }
H6(i) = vrec( D506P2, M506P2, Y506P2, A510B, A510D, 2+(A510C=1) );
if H6(i) <> 1 then
H6D(i) = notappl;
H6M(i) = notappl;
H6Y(i) = notappl;
else
H6D(i) = D506P2;
H6M(i) = M506P2;
H6Y(i) = Y506P2;
endif;
{ DPT 3 }
H7(i) = vrec( D506D3, M506D3, Y506D3, A510E, A510F, 3 );
if H7(i) <> 1 then
H7D(i) = notappl;
H7M(i) = notappl;
H7Y(i) = notappl;
else
H7D(i) = D506D3;
H7M(i) = M506D3;
H7Y(i) = Y506D3;
endif;
{ POLIO 3 }
H8(i) = vrec( D506P3, M506P3, Y506P3, A510B, A510D, 3+(A510C=1) );
if H8(i) <> 1 then
H8D(i) = notappl;
H8M(i) = notappl;
H8Y(i) = notappl;
else
H8D(i) = D506P3;
H8M(i) = M506P3;
H8Y(i) = Y506P3;
endif;
{ MEASLES }
H9(i) = vrec( D506M, M506M, Y506M, A510G, (A510G=1), 1 );
if H9(i) <> 1 then
H9D(i) = notappl;
H9M(i) = notappl;
H9Y(i) = notappl;
else
H9D(i) = D506M;
H9M(i) = M506M;
H9Y(i) = Y506M;
endif;
{ POLIO 0 }
H0(i) = vrec( D506P0, M506P0, Y506P0, A510B, (A510C=1), 1 );
if H0(i) <> 1 then
H0D(i) = notappl;
H0M(i) = notappl;
H0Y(i) = notappl;
else
H0D(i) = D506P0;
H0M(i) = M506P0;
H0Y(i) = Y506P0;
endif;
{ Ever had vaccination }
H10(i) = YesNo( A509 );
{ Diarrhea recently }
if A514 = 1 then
H11(i) = 2
elseif A514 = 8 then
H11(i) = 8
elseif A514 = missing then
H11(i) = missing
else
H11(i) = 0
endif;
H11B(i) = YesNo( A515 );
|
|
|
Goto Forum:
Current Time: Sat Dec 7 21:20:27 Coordinated Universal Time 2024
|