Do I need to set my data in long or wide format to conduct the Fine & Gray model with competing risks?
I have longitudinal data with follow-up of 10 years. The outcome variable is a response variable and measured several times a year and the independent variable is medicine type, where the patient can get different medicine types a per year.
I only see wide format dataset examples online of STATA. Can anyone please provide a link with an example of the Fine and Gray analysis with data in long format? STATA example please.
I have longitudinal data with follow-up of 10 years. The outcome variable is a response variable and measured several times a year and the independent variable is medicine type, where the patient can get different medicine types a per year.
I only see wide format dataset examples online of STATA. Can anyone please provide a link with an example of the Fine and Gray analysis with data in long format? STATA example please.
