Bookmark and Share   st: Stata equivalent to a specific SAS sub-
command cmh scores=table in proc freq  From   Stephen Kay <> To
 "''" <> Date   Thu, 1 Jul 2010 15:20:55 +0100   I've been asked
to replicate in Stata some clinical trial analysis originally
conducted in SAS (which I've never possessed).  Basically an
ANCOVA model is run first with three factors and one
(continuous) covariate. The dependent variable is change in 
yscore from baseline to twelve months and the continuous
covariate is the baseline value of this yscore. One of the
factors is a binary treatment and it is the least squared mean
difference between the two treatments together with its CI's
that is the main outcome from this analysis. I've replicated
these results in Stata. Instead of taking the p value (generated
from this ANCOVA model) for this mean difference however the
original analysis took it from  a separate SAS command that
reads something like:  proc freq data="" noprint;*stratified CMH
test; tables factor1*factor2*treatment*ys