Dear Statalist users,
I am new to longitudinal data analysis and I would most appreciate your help. I have a dataset of over 400 patients who underwent surgery and serial echo examination during follow-up. The number of echo and the time of examination after surgery (in years) changes from patient to patient. I want to analyse the change over time of an echo parameter that is indeed an ordinal variable (0 to 4+). I believe that the correct method is a mixed-effect model using:
further, how can I graph these changes over time? It seems that using the mean of Y over time is not correct. Some authors for similar analysis have estimated the proportion of patients with each degree of y over time and depicted the change in these proportions (but they used SAS). Is it possible to do the same with STATA and how please?
I am using STATA IC 15.1
Thank you very much in advance, any help is greatly appreciated.
I am new to longitudinal data analysis and I would most appreciate your help. I have a dataset of over 400 patients who underwent surgery and serial echo examination during follow-up. The number of echo and the time of examination after surgery (in years) changes from patient to patient. I want to analyse the change over time of an echo parameter that is indeed an ordinal variable (0 to 4+). I believe that the correct method is a mixed-effect model using:
Code:
xtmixed y TimeOfEcho // ID:, mle
I am using STATA IC 15.1
Thank you very much in advance, any help is greatly appreciated.
Comment