Statistical Procedures

Programming the statistical procedures from SAS
BookmarkSubscribeRSS Feed
RichardPost
Calcite | Level 5

Dear all,

 

To execute a Friedman's test in SAS, one can use proc freq as explained in the following link:

 

https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_freq_sect033.htm

 

In addition it is stated that:

 

‘If there are multiple subjects per treatment in each block, the ANOVA CMH statistic is a generalization of Friedman’s test.’

 

I am really wondering which generalization is referred to here? Since the procedure seems to perform fine in a setting with non-equal repeats per treatment in different blocks the only test I am familiar that could fit this framework is the Benard and Van Elteren's test (1953), see e.g. (http://www.sciencedirect.com/science/article/pii/0010480977900040). 

 

Kind regards,

 

Richard Post MSc

2 REPLIES 2
Ksharp
Super User

Maybe that means non-parameter ANOVA .

 

proc freq;

table a*b/cmh2 cmb score=row ;

run;

StatDave
SAS Super FREQ

The Cochran-Mantel-Haenszel method is a broad, general method for testing in stratified two-way tables. The method includes such things as McNemar's test, Wilcoxon rank sum test, and Cochran's Q, as well as Friedman's test. For more on the method, see the Agresti reference in the References section of the PROC FREQ documentation 

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
  • 2 replies
  • 2684 views
  • 1 like
  • 3 in conversation