hello, i am working with a data set that i would like to analyze using st commands. however, the data i was given is not in the right format.
there is one line per patient with several dates that correspond to different types of events. the reshape long would be used if the variable corresponded to the same thing (say hemoglobin at day 0, 1, 10, n)
but here there are failure events and different types measurements and all have their own datevariable.
any suggestions as to how to reshape the data set so i can have a single time variable and the different events referring to the same time variable?
thank you
mathieu
there is one line per patient with several dates that correspond to different types of events. the reshape long would be used if the variable corresponded to the same thing (say hemoglobin at day 0, 1, 10, n)
but here there are failure events and different types measurements and all have their own datevariable.
any suggestions as to how to reshape the data set so i can have a single time variable and the different events referring to the same time variable?
thank you
mathieu
Comment