Hello, Simone. Both of these worked for me:
NPAR TESTS /M-W= y BY group(0 1).
NPTESTS
/INDEPENDENT TEST (y) GROUP (group)
/MISSING SCOPE=ANALYSIS USERMISSING=EXCLUDE
/CRITERIA ALPHA=0.05 CILEVEL=95.
Could you substitute your variable for "y" and your grouping variable for "group" and try:
VARIABLE LEVEL y (SCALE) group (ORDINAL).
NPTESTS
/INDEPENDENT TEST (y) GROUP (group)
/MISSING SCOPE=ANALYSIS USERMISSING=EXCLUDE
/CRITERIA ALPHA=0.05 CILEVEL=95.
------------------------------
Rick Marcantonio
Quality Assurance
IBM
------------------------------
Original Message:
Sent: Thu September 22, 2022 02:09 AM
From: Simone Trimmel
Subject: SPSS Statistics (v28) performs Kruskal-Wallis instead of Mann-Whitney U test
Dear community,
I am trying to compare 2 groups of samples with a Mann-Whitney U test. In previous tests, I compared the same samples, grouped according to another parameter, and everything worked out. Now, when I try to follow the same procedure (Analyze > Nonparametric Tests > Independent Samples), SPSS performs automatically a Kruskal-Wallis test. When I select the Mann-Whitney test manually, I receive the notification that the results could not be computed.
What could be the reason for this? Even though I can also work with the results from Kruskal-Wallis, I would still like to understand why Mann-Whitney does not work in my case and what will be the implications for data interpretation (in terms of how reliable my conclusions will be).
I would be grateful for support!
------------------------------
Simone Trimmel
------------------------------
#SPSSStatistics