postHoc in anovaRM

General help and assistance with jamovi. Bug reports can be made at our issues page: https://github.com/jamovi/jamovi/issues . (If you're unsure feel free to discuss it here)
Post Reply
andrea7121
Posts: 3
Joined: Fri Oct 02, 2020 6:05 pm

postHoc in anovaRM

Post 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?
User avatar
jonathon
Posts: 2613
Joined: Fri Jan 27, 2017 10:04 am

Re: postHoc in anovaRM

Post 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
andrea7121
Posts: 3
Joined: Fri Oct 02, 2020 6:05 pm

Re: postHoc in anovaRM

Post 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"
Post Reply