BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Kev3
Calcite | Level 5

How do I calculate the Mann Whitney U statistic? There is not a direct output from PROC NPAR1WAY.

 

PROC NPAR1WAY data=new wilcoxon;
    class Gender;
    var Variable;
    exact wilcoxon;
   run;

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
bstarr
Quartz | Level 8

Hello, 

 

The Wilcoxon rank-sum test is the same as the Mann-Whitney U test, so while SAS does not report a Mann-Whitney U statistic, the results are the same as the Wilcoxon rank-sum test.

 

-Brian

View solution in original post

3 REPLIES 3
bstarr
Quartz | Level 8

Hello, 

 

The Wilcoxon rank-sum test is the same as the Mann-Whitney U test, so while SAS does not report a Mann-Whitney U statistic, the results are the same as the Wilcoxon rank-sum test.

 

-Brian

Kev3
Calcite | Level 5
I need to report to the U statistic. Should I just use SPSS?
bstarr
Quartz | Level 8

As far as I know, SAS doesn't report the U statistic itself. If you need the U statistic specifically and have access to other stats packages that report it, I would use that just to be safe.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 8867 views
  • 2 likes
  • 2 in conversation