Hello everyone.

I am working with Stata where I'm trying to combine the different variables on child vaccination into one variable that will show that a child received all the basic vaccines, but the result I'm getting for Nigeria is different from what is on the report.

Here is my code:

gen vacn=bcg&dpt1&dpt2&dpt3&polio1&polio2&polio3&measl es
tab vacn [iw=wt]
label values vacn yesno
label var vacn "child received basic vaccination"
tab vacn [iw=wt]

I don't know what I am doing wrong.
Can someone help me please?

Thank you