fitrm and ranova, multiple within level

2 views (last 30 days)
Alain Vinet
Alain Vinet on 13 Aug 2015
Commented: Manuel Rausch on 25 Oct 2017
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)

Harsha Medikonda
Harsha Medikonda on 18 Aug 2015
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
Manuel Rausch
Manuel Rausch on 25 Oct 2017
This is not helpful. They are specifically asking for multiple within factors, which is not provided in the link.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!