DATA Step, Macro, Functions and more

permutation test for Kruskal-Wallis and k sample Anderson-Darling Test (SAS code)

Reply
New Contributor
Posts: 2

permutation test for Kruskal-Wallis and k sample Anderson-Darling Test (SAS code)

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 Smiley Happy

Super User
Posts: 13,338

Re: permutation test for Kruskal-Wallis and k sample Anderson-Darling Test (SAS code)

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

Ask a Question
Discussion stats
  • 1 reply
  • 83 views
  • 0 likes
  • 2 in conversation