Is this formula correct for the LME model I'm trying to fit?
2 次查看(过去 30 天)
显示 更早的评论
I'm trying to fit a linear mixed effects model to investigate how time (fixed effect), disease duration at baseline, sex and age at baseline (all random effects) influence "power". I would like the intercept and slope to be allowed to vary per patient, and account for how sex and age might influence the effect of time on power. Would this formula address this?:
Power=Time+(1|Disease duration at baseline)+(1|Sex)+(1|Age at baseline)+
(Time|Patient) +(-1+Time since T1|Sex)+(-1+Time|Age)
Thank you in advance for any help.
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!