CecileProust-Lima / lcmm

R package lcmm
https://CecileProust-Lima.github.io/lcmm/
58 stars 13 forks source link

Contrast after lcmm #279

Closed HaibinLi0817 closed 1 month ago

HaibinLi0817 commented 1 month ago

image When I summarise the results from the longitudinal model, I obtain the fixed effects. For example, when age 65 is set to 0, the coefficient for male is -0.83140. Can I interpret this as meaning the mean difference in CESD score was -0.83 at age 65? However, this result differs from the predicted value obtained using predictY (difference: -3.042017). cbind(women$times,women$pred) image cbind(men$times,men$pred) image men$pred[1]-women$pred[1] image image

Originally posted by @HaibinLi0817 in https://github.com/CecileProust-Lima/lcmm/issues/278#issuecomment-2407352536