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
Maybe that means non-parameter ANOVA .
proc freq;
table a*b/cmh2 cmb score=row ;
run;
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 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.