SAS Procedures

Help using Base SAS procedures
BookmarkSubscribeRSS Feed
ballardw
Super User

@docfermi wrote:

Thank you so much!  That's quite helpful.  Besides normality assumption criteria, two sample t-test to look for difference in the means vs. Mann-Whitney U test for difference in the medians?  


The Normal approximation and t Approximations are based on the values transformed to ranks. So those tests are of the "mean rank".

 

The "groups" are ordered by  value of the analysis variable, the ranks are assigned from the combined sample, and the tests are run on the ranks of the values. .

 

 

PGStats
Opal | Level 21

Use option MEDIAN in proc npar1way to test the difference in medians.

PG
docfermi
Calcite | Level 5

My mistake, I just realized that sas didn't run exact Wilcoxon due to higher sample frequency than the limit for exact wilcoxon. 

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 Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 17 replies
  • 18078 views
  • 7 likes
  • 4 in conversation