BookmarkSubscribeRSS Feed
Cengo
Calcite | Level 5

I’m a beginner user at SAS programming.I want to know what steps to do the permutation test for Kruskal-Wallis and k sample Anderson-Darling Test (SAS code) ?

 

Would you give me the specific steps?

 

Thanks 🙂

1 REPLY 1
ballardw
Super User

Proc univariate with the NORMAL option on the proc statement does a number of tests for normality including Anderson-Darling

 

Proc freq will do a Kruskal-Wallis test if the Tables statement has the options Scores=Rank CMH2 (look at the second CMH statistic labeled "Row mean Scores Differ"

 

without a data set or variable names it is really hard provide code. The online help for the procedures will have examples of the needed syntax

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 1 reply
  • 1024 views
  • 0 likes
  • 2 in conversation