The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Child Health » Immunization
Re: Immunization [message #15213 is a reply to message #5647] Mon, 18 June 2018 06:31 Go to previous messageGo to previous 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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
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: Tue Apr 16 10:06:13 Coordinated Universal Time 2024