Page 1 of 1

[SOLVED] anova repeated measures - post hoc problems

Posted: Fri Sep 22, 2017 8:50 am
by pedrak
Dear Friends,
I have just performed a repeated measures anova (T0, T1, T2) and asked for a post hoc analysis.
Something went wrong in the post hoc, all "SE" were reported with the same value.
Just because it looked strange to me I performed the same analysis with Jasp and R. The results were different .
RM.PNG
RM.PNG (32.95 KiB) Viewed 9106 times
Please find attached a screenshot of the results and the file with the data.

Very best regards
Giuseppe

Re: anova repeated measures - post hoc problems

Posted: Fri Sep 22, 2017 9:10 am
by Ravi
Hi Giuseppe,

How did you calculate the post-hoc tests in R? We use lsmeans to calculate the post-hoc tests which uses the pooled variance from all groups that are being compared. Therefore, all standard errors have the same value. Using the pooled variance has some benefits such as a higher power, and it's a bit more robust when there are only a few counts in certain cells. I think JASP is just doing multiple t-tests and thus is using the variance of the difference between the two groups that are being compared.

Cheers,
Ravi

Re: anova repeated measures - post hoc problems

Posted: Fri Sep 22, 2017 1:03 pm
by pedrak
Hi Ravi,

many thanks for your clear reply, I apologize for thinking it was a mistake. Generally I use the multcomp package in R, but i must confess that for the example above I used R Commander with some of the Rcmdr plugins. The post hoc test are indeed based on multiple t-test with the bonferroni correction.
Thanks again for your time.

Cheers,
Giuseppe

Re: anova repeated measures - post hoc problems

Posted: Fri Sep 22, 2017 1:43 pm
by Ravi
No problem, happy to help :slightly_smiling_face: