Page 1 of 1

postHoc in anovaRM

Posted: Fri Oct 02, 2020 6:13 pm
by andrea7121
Hi there,

I cannot figure out how to get post-hoc tests within the anovaRM() function in jmv for R when there is more than one factor and interactions are present. For example, if I have one between-subjects factor I give it a label on the "bs = " line. And my within-subjects factor gets a label on the "rm = " line. Then in the results their interaction is labeled automatically (e.g., Between:Within).

When I use "postHoc = " to ask for post-hoc tests, I can't seem to get tests for all the subgroups. I'm restricted to the marginal group means for each factor. I tried:

postHoc = list(list("Between","Within","Between:Within")) but including this last term produced an error (*note "Between" and "Within" are standing in here in my example for the actual labels I'd have given to these two factors).

Any suggestions?

Re: postHoc in anovaRM

Posted: Mon Oct 05, 2020 5:09 am
by jonathon
hi andrea,

try running the analysis from within jamovi, put it in "syntax mode" (available from the kebab menu, top right), and take a look at the generated syntax.

cheers

jonathon

Re: postHoc in anovaRM

Posted: Wed Oct 07, 2020 5:57 pm
by andrea7121
Thank you Jonathon! That gave me what I needed. For anyone else searching this topic, here's how I was able to set this up:

postHoc = list(
"Between",
c("Between","Within"),
"Within"