Hi everyone,
I am trying to reshape a dataset from long to wide.
The unique ID is bs_pat_id and the sub-observations are event and unique by bs_pat_id.
My variable event is numeric. And it DOES exist.
I typed reshape error to check for errors.
Please find below commands and results.
Can anyone help?
Thanks.
Marie
reshape wide (_all), i( bs_pat_id) j( event)
(note: j = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20)
variable event not found
r(111);
. reshape error
(note: j = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20)
event is unique within bs_pat_id;
there is no error with which "reshape error" can help.
I am trying to reshape a dataset from long to wide.
The unique ID is bs_pat_id and the sub-observations are event and unique by bs_pat_id.
My variable event is numeric. And it DOES exist.
I typed reshape error to check for errors.
Please find below commands and results.
Can anyone help?
Thanks.
Marie
reshape wide (_all), i( bs_pat_id) j( event)
(note: j = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20)
variable event not found
r(111);
. reshape error
(note: j = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20)
event is unique within bs_pat_id;
there is no error with which "reshape error" can help.
Comment