The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Child Health » Immunization
Immunization [message #456] Tue, 21 May 2013 03:31 Go to next message
nrakshan is currently offline  nrakshan
Messages: 2
Registered: March 2013
Location: Baltimore, MD
Member
Hi, I want to assess age appropriate immunization for children in the DHS 2006 Pakistan. I want to check if the child got the each vaccine at the time of his/her life when the vaccination was due. I am having difficulty in calculating the age at the time of vaccine receipt. For example for BCG h2d, h2m, and h2y are the variables that describe the time when vaccine was given. However, when I compare this with cmc, current age of child, this gives very erroneous results. I appreciate some guidance.

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


Noor Rakshani

[Updated on: Tue, 21 May 2013 03:32]

Report message to a moderator

Re: Immunization [message #568 is a reply to message #456] Tue, 25 June 2013 11:01 Go to previous messageGo to next message
Liz-DHS
Messages: 1516
Registered: February 2013
Senior Member
Dear User,
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.
Re: Immunization [message #664 is a reply to message #568] Tue, 30 July 2013 09:53 Go to previous messageGo to next message
elaslan is currently offline  elaslan
Messages: 3
Registered: July 2013
Member
nice
Re: Immunization [message #5647 is a reply to message #456] Fri, 19 June 2015 16:15 Go to previous messageGo to next message
waqas is currently offline  waqas
Messages: 35
Registered: June 2015
Location: Islamabad, Pakistan
Member

Use following sytax for producing age at time of vaccination.


____________________________________________________________ _______________
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.


Waqas Imran
Re: Immunization [message #15213 is a reply to message #5647] Mon, 18 June 2018 06:31 Go to previous messageGo to next message
mianrashid is currently offline  mianrashid
Messages: 13
Registered: February 2016
Location: Pau, France
Member
Hello, For Pakistan I do this, is it fine?

************************************************************
************************************************************
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"



MianRashid
Re: Immunization [message #15342 is a reply to message #15213] Mon, 02 July 2018 13:25 Go to previous message
Trevor-DHS is currently offline  Trevor-DHS
Messages: 805
Registered: January 2013
Senior Member
This is ok when both month and year of vaccination are given, but doesn't handle cases where the month is 44, 66, 97, 98, or 99, or the year is 4444, 6666, 9997, 9998, 9999. Nor does it handle the case where the mother reports that the vacciniation was given, but no date is given.
Previous Topic: Vaccination coverage using 2013 ndhs data set: Nigerian & dhs
Next Topic: Antibiotic use for ARI Nepal 2011 (using stata)
Goto Forum:
  


Current Time: Sat Dec 21 20:17:15 Coordinated Universal Time 2024