What I would like to generate is a variable for all individuals that represents how many vaccine doses they have had by a specific date (the date they answered a survey)
I have date on vaccine doses. Dose 1, Doses 2 etc.
I have the dates of these doses. This is different for each individual.
I have the date that they answered a survey. This is different for each individual.
Can anyone help as to how to generate this new variable which would tell me on the date of survey response how many doses of vaccine they had using the above data.
Thanks in advance.
I have date on vaccine doses. Dose 1, Doses 2 etc.
I have the dates of these doses. This is different for each individual.
I have the date that they answered a survey. This is different for each individual.
Can anyone help as to how to generate this new variable which would tell me on the date of survey response how many doses of vaccine they had using the above data.
Thanks in advance.
Comment