no, this is a difference in difference, where i want to look at the time*treatment interaction term...this term parses out the effect due to just treatment, controllng for the pre post time trend. A mixed model, or a two way ANOVA with repeated value is the way to conduct analysis, but i am looking for samples size calculation for this prospective study. GLMPower seems to be the new way to handle sample calculations, but it doens mention if it applies to binary data or not. here is SAS code that i used. Again, my question is does PROC GLMPoser apply to binary data, and if not, how bad of an error would it be to use GLMPower to binary data? data TrainingSummaryData; input Training $ Pre Post; datalines; test 0.70 0.75 cntl 0.70 0.7875 ; run; ods graphics on; proc glmpower data=TrainingSummaryData; class Training; model Pre Post = Training; repeated Time contrast; power mtest = hlt alpha = 0.05 power = .8 ntotal = . stddev = 0.25 0.5 1.0 matrix ("Corr6") = (0.6) /* corrmat = "Corr";*/ corrs = "Corr6" ; run;
... View more