Immunization [message #456] |
Tue, 21 May 2013 03:31 |
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
|
|
|