Statistical Procedures

Programming the statistical procedures from SAS
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-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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
  • 9542 views
  • 2 likes
  • 2 in conversation