Can someone provide an example of how to calculate power/sample size for cochran mantel haenszel? The response variable is binary and there are two stratum (one has 3 levels and the other is binary).
I'm not aware of a way to do a power analysis specifically for the CMH test. However, since your response is binary, you could instead take a model-based approach to the same sort of test by using a logistic model with your stratifying variables as predictors in the model. For this approach you could get a power analysis using the LOGISTIC statement in PROC POWER. See the discussion and examples in the POWER documentation.
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.