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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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