Filter löschen
Filter löschen

fitlme longitudinal with multiple covariates

2 Ansichten (letzte 30 Tage)
Hans van der Horn
Hans van der Horn am 30 Dez. 2020
Bearbeitet: Hans van der Horn am 30 Dez. 2020
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

Antworten (0)

Kategorien

Mehr zu Geometric Transformation and Image Registration finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by