fitlme longitudinal with multiple covariates

1 回表示 (過去 30 日間)
Hans van der Horn
Hans van der Horn 2020 年 12 月 30 日
編集済み: Hans van der Horn 2020 年 12 月 30 日
Hello all,
I would like to conduct a lme with a response variable y, two fixed effects variables (group and timepoint), and 3 covariates (age, sex and education, also fixed I believe). I group time by subject, since every subject has two time points.
Would the following model be the right one?
fitlme(tbl, 'y ~ age + sex + education + group*timepoint + (timepoint | subject)')
thanks very much for your input!
Best
Hans van der Horn

回答 (0 件)

カテゴリ

Help Center および File ExchangeDesign of Experiments (DOE) についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by