Info

This question is closed. Reopen it to edit or answer.

Looking to duplicate SPSS MIXED in MATLAB

2 views (last 30 days)
James Akula
James Akula on 23 Aug 2018
Closed: MATLAB Answer Bot on 20 Aug 2021
I have a repeated measures data-set with some missing data. Subjects from three different groups were randomly assigned to either two levels of a treatment or sham and then tested three times. Not everyone showed up for all followup testing.
In SPSS, I get a table determining the significance of all main effects and interactions using a fixed effects model by executing
MIXED Value BY Treatment Test Group
/FIXED=Treatment Test Group Treatment*Test Treatment*Group Test*Group Treatment*Test*Group
/REPEATED=Test | SUBJECT(Subject)
What is the equivalent in MATLAB? I cannot make fitlm do it, but I suspect I am feeding it the wrong formula.

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!