I have a cross over AB/BA with binary variable. I have 16 subjects who take 2 treatments in 2 periods. the 16 are diveded in 2 groups which follow 2 diffrerent sequences:AB and BA
I have to analyze it as:
PROC GENMOD DATA= sample DESCENDING; CLASS TREATMENT PERIOD SUBID; MODEL Y = TREATMENT PERIOD /LINK=LOGIT DIST=BIN; REPEATED SUBJECT=SUBID ; RUN;
Simulation is your best bet. However, with transformations (logit) you might be able to use PROC GLMPOWER. You will need good estimates of the correlation over time to get an accurate estimate. If you have SAS/STAT14.1, look at Example 48.3 Repeated Measures ANOVA as a starting place.
Steve Denham
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
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.