Hi all-
I have the following dataset:
patient ID quarter CHF (and so on...there are ~23 more column variables then- all binary 0/1, with 1=yes the person has the condition)
3 14 0
3 16 0
3 20 1
3 23 0
...and so on
I want each patient to show 36 quarters (so 1-36) regardless of if they have the condition or not. Right now, the quarters that are showing up are only the ones that people have a "yes" for the condition in.
Does anytone know how I would add in the quarters that are missing. It is different w/ each patient.
Thanks!