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
Error in Wilcoxon test? Missing info #577
Comments
hi wakefield, we use the
which i think this is probably a better approach than excluding ties. cheers |
Hi Jonathon, I'm very happy with the idea that R uses a different method of calculating the p value than SPSS. However, since adding an extra 1200 ties seems to make no difference to the test statistic nor the p value in either program then my impression is that R also ignores ties. As a statistician I think it would be even better if increasing the number of ties made a difference less significant. In the absence of a new version of the Wilcoxon rank test, I think it would still be preferable to report how many ties there are in a data set. Cheers, Wake |
yeah, it's interesting isn't it? intuitively, you'd think ties would make the result less significant, but apparently not. yup, reporting the number of ties seems like a good idea. cheers |
hi @wakecarter, i've just had a quick look at this now, and i'm finding the presence of ties does change the p-value: |
Sorry for the confusion. I rarely use the Wilcoxon one-sample test so I was talking about the paired sample test (using columns A & B) with ties meaning Ai = Bi. |
Hi Jon. That's because you:
If I add a single tie to AC then the results become the same. |
ah! got it! thanks |
(i appreciate your patience in typing all those values out :P) |
hey @wakecarter, this is in the latest release thanks for bringing this up. jonathon |
Hi.
I'm getting different results for a Wilcoxon test in jamovi 0.9.2.3 and SPSS.
e.g. jamovi W = 1006, p = .406; SPSS sum of ranks 1002 and 1276, Z = 0.857, p = .391
I'm wondering whether this is related to the fact that SPSS tells me how many ties have been discounted (5 in this case) and jamovi doesn't.
Please could the total number of non-ties be included in the Wilcoxon output? SPSS gives N for negative ranks, positive ranks and ties separately but I don't mind not having that level of detail.
Thanks in advance,
Wakefield
The text was updated successfully, but these errors were encountered: