The DHS Program User Forum - RDF feed
https://userforum.dhsprogram.com/index.php
Immunization
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=456&th=259#msg_456
I am using the below code:
generate h2day=mdy(h2m,h2d,h2y)
format h2day b3 cmc %d
list b8 cmc h2day h2d h2m h2y b3 in 20/50 if h1==1]]>nrakshan2013-05-21T07:31:09-00:00Re: Immunization
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=568&th=259#msg_568
You may want to refer to The Guide to DHS Statistics. http://www.measuredhs.com/pubs/pdf/DHSG1/Guide_to_DHS_Statis tics_29Oct2012_DHSG1.pdf
The document is bookmarked. Under "Vaccination Rates" you will find useful information regarding vaccinations here.]]>Liz-DHS2013-06-25T15:01:45-00:00Re: Immunization
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=664&th=259#msg_664
elaslan2013-07-30T13:53:25-00:00Re: Immunization
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=5647&th=259#msg_5647
____________________________________________________________ _______________
dates for survival analysis
____________________________________________________________ __________
Compute CMCB= ((H2Y-1900) * 12) + H2M.
Compute CMCD1= ((H3Y-1900) * 12) + H3M.
Compute CMCD2= ((H5Y-1900) * 12) + H5M.
Compute CMCD3= ((H7Y-1900) * 12) + H7M.
Compute CMCP1= ((H4Y-1900) * 12) + H4M.
Compute CMCP2= ((H6Y-1900) * 12) + H6M.
Compute CMCP3= ((H8Y-1900) * 12) + H8M.
Compute CMCM= ((H9Y-1900) * 12) + H9M.
COMPUTE BAGE=CMCB-B3.
COMPUTE D1AGE=CMCD1-B3.
COMPUTE D2AGE=CMCD2-B3.
COMPUTE D3AGE=CMCD3-B3.
COMPUTE P1AGE=CMCP1-B3.
COMPUTE P2AGE=CMCP2-B3.
COMPUTE P3AGE=CMCP3-B3.
COMPUTE MAGE=CMCM-B3.
Var Lab CMCB "Century Month Code of age at BCG".
Var Lab CMCD1 "Century Month Code of age at DPT1".
Var Lab CMCD2 "Century Month Code of age at DPT2".
Var Lab CMCD3 "Century Month Code of age at DPT3".
Var Lab CMCP1 "Century Month Code of age at POLIO1".
Var Lab CMCP2 "Century Month Code of age at POLIO2".
Var Lab CMCP3 "Century Month Code of age at POLIO3".
Var Lab CMCM "Century Month Code of age at MEASLES".
Var Lab BAGE "Age in months at BCG".
Var Lab P1AGE "Age in months at Polio1".
Var Lab P2AGE "Age in months at Polio2".
Var Lab P3AGE "Age in months at Polio3".
Var Lab D1AGE "Age in months at DPT1".
Var Lab D2AGE "Age in months at DPT2".
Var Lab D3AGE "Age in months at DPT3".
Var Lab MAGE "Age in months at Measles".
EXECUTE.
Enjoy.]]>waqas2015-06-19T20:15:14-00:00Re: Immunization
https://userforum.dhsprogram.com/index.phpindex.php?t=rview&goto=15213&th=259#msg_15213
************************************************************
************************************************************
gen CMCB= ((h2y-1900) * 12) + h2m
gen CMCD1= ((h3y-1900) * 12) + h3m
gen CMCD2= ((h5y-1900) * 12) + h5m
gen CMCD3= ((h7y-1900) * 12) + h7m
gen CMCP1= ((h4y-1900) * 12) + h4m
gen CMCP2= ((h6y-1900) * 12) + h6m
gen CMCP3= ((h8y-1900) * 12) + h8m
gen CMCM= ((h9y-1900) * 12) + h9m
gen BAGE=CMCB-b3
gen D1AGE=CMCD1-b3
gen D2AGE=CMCD2-b3
gen D3AGE=CMCD3-b3
gen P1AGE=CMCP1-b3
gen P2AGE=CMCP2-b3
gen P3AGE=CMCP3-b3
gen MAGE=CMCM-b3
label variable CMCB "Century Month Code of age at BCG"
label variable CMCD1 "Century Month Code of age at DPT1"
label variable CMCD2 "Century Month Code of age at DPT2"
label variable CMCD3 "Century Month Code of age at DPT3"
label variable CMCP1 "Century Month Code of age at POLIO1"
label variable CMCP2 "Century Month Code of age at POLIO2"
label variable CMCP3 "Century Month Code of age at POLIO3"
label variable CMCM "Century Month Code of age at MEASLES"
label variable BAGE "Age in months at BCG"
label variable P1AGE "Age in months at Polio1"
label variable P2AGE "Age in months at Polio2"
label variable P3AGE "Age in months at Polio3"
label variable D1AGE "Age in months at DPT1"
label variable D2AGE "Age in months at DPT2"
label variable D3AGE "Age in months at DPT3"
label variable MAGE "Age in months at Measles"