n*****3 发帖数: 66 | 1 how to fit a mixed model with subject nested in treatment group, and time
points nested in visit? so, there are two treatment groups, subjects have 7
visits, each visit has 3 session (time points). Is there a way to specify
two nested effects? | x******6 发帖数: 160 | 2 Is this the hierarchical structure from high to low?
Treatment group
subject
visit
session
if so, then I think you can do
repeated session / visit(subject) subject_ID(treatment_ID)
7
【在 n*****3 的大作中提到】![](/moin_static193/solenoid/img/up.png) : how to fit a mixed model with subject nested in treatment group, and time : points nested in visit? so, there are two treatment groups, subjects have 7 : visits, each visit has 3 session (time points). Is there a way to specify : two nested effects?
| n*****3 发帖数: 66 | 3 how to fit a mixed model with subject nested in treatment group, and time
points nested in visit? so, there are two treatment groups, subjects have 7
visits, each visit has 3 session (time points). Is there a way to specify
two nested effects? | x******6 发帖数: 160 | 4 Is this the hierarchical structure from high to low?
Treatment group
subject
visit
session
if so, then I think you can do
repeated session / visit(subject) subject_ID(treatment_ID)
7
【在 n*****3 的大作中提到】![](/moin_static193/solenoid/img/up.png) : how to fit a mixed model with subject nested in treatment group, and time : points nested in visit? so, there are two treatment groups, subjects have 7 : visits, each visit has 3 session (time points). Is there a way to specify : two nested effects?
| n*****3 发帖数: 66 | 5 Thank you for replying!
but the syntax doesn't work. any other suggestions?
【在 x******6 的大作中提到】![](/moin_static193/solenoid/img/up.png) : Is this the hierarchical structure from high to low? : Treatment group : subject : visit : session : if so, then I think you can do : repeated session / visit(subject) subject_ID(treatment_ID) : : 7
| s*********i 发帖数: 218 | 6 Which two nesting effects do you mean? I saw three. There is a software
called HLM that handles 3-level models, but yours has 4 levels. I guess SAS
can handle this?
how to fit a mixed model with subject nested in treatment group, and time
points nested ........
【在 n*****3 的大作中提到】![](/moin_static193/solenoid/img/up.png) : how to fit a mixed model with subject nested in treatment group, and time : points nested in visit? so, there are two treatment groups, subjects have 7 : visits, each visit has 3 session (time points). Is there a way to specify : two nested effects?
| x******6 发帖数: 160 | 7 Try this:
Repeat session /subject= visit(subject);
Repeat session/ subject=subject_ID(treatment_id); |
|