Hi everyone,
I'm performing a linear mixed model as follow:
xtmixed A_SCMMSE i.tertile_map_bl##c.visite A_AGE sexe || ctrpat :
A_SCMMSE is a cognitive performance score
tertile_map_bl is a variable representing tertiles of mean blood pressure at baseline
visite is my continuous time variable (visite=0 or 2 or 4 or 6) (number of the visit)
then age and sex
I would like to predict the difference of cognitive performances between patients in the first tertile and patients in the second one, at different time points.
I have some trouble to write the lincoms with a continuous covariate. I had worked in the past with time as a qualitative variable and things were pretty much easier for me.
I had typed for example :
lincom 3.tertile_map_bl+3.tertile_map_bl#4.visit-1.tertile_map_bl-1.tertile_map_bl#4.visit
but my model was considering visit as a qualitative variable xi:... i.visite
Could you please help me?
Thank you so much in advance for your valuable help,
Best
Pierre
I'm performing a linear mixed model as follow:
xtmixed A_SCMMSE i.tertile_map_bl##c.visite A_AGE sexe || ctrpat :
A_SCMMSE is a cognitive performance score
tertile_map_bl is a variable representing tertiles of mean blood pressure at baseline
visite is my continuous time variable (visite=0 or 2 or 4 or 6) (number of the visit)
then age and sex
I would like to predict the difference of cognitive performances between patients in the first tertile and patients in the second one, at different time points.
I have some trouble to write the lincoms with a continuous covariate. I had worked in the past with time as a qualitative variable and things were pretty much easier for me.
I had typed for example :
lincom 3.tertile_map_bl+3.tertile_map_bl#4.visit-1.tertile_map_bl-1.tertile_map_bl#4.visit
but my model was considering visit as a qualitative variable xi:... i.visite
Could you please help me?
Thank you so much in advance for your valuable help,
Best
Pierre
Comment