-
Notifications
You must be signed in to change notification settings - Fork 29
[Feature Rquest][RM ANOVA]: Add Siegel-Castellan post hoc test to Friedman #3426
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for your report @PerPalmgren - can you share the data you used here? Because I verified with the PMCMRplus package and the results in Field's SPSS book and there the results seem to be in order, so I'm curious to see where the discrepancy could lie. |
Hi @JohnnyDoorn. I used the dataset from Mark Goss-Sampson's manual “Statistical Analysis with JASP: A Guide for Students” and I attach it here. It might be the dataset, but it would be great if we can verify this. Some students pointed this out when we were doing group work using three different software programs (JASP, SPSS, and DATAtab). |
Thanks @PerPalmgren. I've looked into it some more, and it seems there are two ways of conducting the Conover test:
Since I am not an expert here, I will reach out to the author of the PMCMRplus package. Maybe it would've been easier if it would have been "just" a JASP bug :p |
@JohnnyDoorn |
@JohnnyDoorn |
@JohnnyDoorn it seems like SPSS and DATAtab is not using Conover but a post hoc comparisons using Wilcoxon signed-rank tests between all pairs of conditions, with Bonferroni correction. Maybe it could be an option for JASP to offer this as an alternative! |
There was a previous issue where I did not implement the code from PMCMRplus correctly (see here, towards the end), which could explain the different result in the book. I find the results interesting, and think perhaps a raincloud plot is a better illustration of the data, because there you can see the individual data points with the lines indicating increases/decreases: Here you can see what is also confirmed by the rank biserial correlations from the Conover test, which is that for the 18-36 and 36-48 differences all values are lower/higher in one condition (rrb = 1), and for the 18-48 most are higher in one condition. Perhaps the lower p-value in the Conover test stems from the added power when considering all three conditions during the pairwise comparisons? |
@JohnnyDoorn I need to check this with some other people. I do not feel 100 % comfortable with this, with very low p-values and large effect sizes between 18 and 48. |
@PerPalmgren Please do - I'm curious to find out more and I feel this is one of those topics where it gets a bit murky to browse online. |
@PerPalmgren I've checked out the package some more, and it seems that SPSS and Datatab are using he Siegel-Castellan follow-up test. Here is the code to first reproduce the JASP results (with Conover test), and then the SPSS/Datatab results (with Siegel test):
Now, when to use which is not a question I can confidently answer, unfortunately... For such small data sets it can be so tricky because just a single pair of observations can have a big impact on the SE/t/p. |
@JohnnyDoorn Thank you for looking in to this and clarifying. I am not so much into coding but I think for the non-parametric choice in the Rm-ANOVA module in JASO it would be great to have both the Conover (as you say probably higher power) but also a more traditional option such as Siegel-Castellan approach. Just to harmonise with other statically softwares. |
Hi @PerPalmgren, The PMCMRplus creator was very responsive and informative, and also pointed me to this article with some simulation studies about Friedman post hoc tests and the Conover test indeed seems to be the most liberal. Based on this, I agree that it would be nice to add the Siegel-Castellan post hoc tests. In response to the different result in the book, he also wrote
Cheers |
@JohnnyDoorn @tomtomme |
JASP Version
0.19.3
Commit ID
No response
JASP Module
ANOVA
What analysis are you seeing the problem on?
Friedman´s text (non-parametric ANOVA)
What OS are you seeing the problem on?
Windows 11
Bug Description
When I run a Friedman´s test (non-parametric ANOVA) in JASP the posthoc analysis give strange p-values (both unadjusted and corrected) compared to other statistical softawares such as SPSS (and DATAtab). See pictures below. Is there a bug in JASP
?
Expected Behaviour
Give similar p-values in the post hoc analysis as SPSS and DATAtab
Steps to Reproduce
Here is output from DATATab (similar results as SPSS) and different from JASP
Log (if any)
No response
More Debug Information
No response
Final Checklist
The text was updated successfully, but these errors were encountered: