fitrm and ranova, multiple within level

How can I use fitrm to prepare for a ranova with 2 within level (quantity measures n times over 3 conditions in each subject) 2 between (sex, country) and one covariate (age) and must it be submitted to ranova

Answers (1)

Hi Alain,
I understand that you wish to specify within-subject factors with the "fitrm" function.
Refer to the link below. The second example for "fitrm" shows how you can define and use within-subject variables with "fitrm" function.
Once you retrieve the repeated measures model, you can supply this as an input for "ranova". Refer to the link below for the usage of "ranova" function.
Regards,
Harsha

1 Comment

This is not helpful. They are specifically asking for multiple within factors, which is not provided in the link.

Sign in to comment.

Asked:

on 13 Aug 2015

Commented:

on 25 Oct 2017

Community Treasure Hunt

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

Start Hunting!