890 likes | 1.15k Views
On the Analysis of Crossover Designs Dallas E. Johnson Professor Emeritus Kansas State University. dejohnsn@ksu.edu 785-532-0510 (Office) 785-539-0137 (Home) Dallas E. Johnson 1812 Denholm Dr. Manhattan, KS 66503-2210. Note that . and.
E N D
On the Analysis of Crossover Designs Dallas E. Johnson Professor Emeritus Kansas State University
dejohnsn@ksu.edu 785-532-0510 (Office) 785-539-0137 (Home) Dallas E. Johnson 1812 Denholm Dr. Manhattan, KS 66503-2210
Note that and
To answer these kinds of questions, Shanga simulated two period/two treatment crossover experiments satisfying four different conditions: (1) no carryover and equal variances (C0V0), (2) no carryover and unequal variances(C0V1), (3) carryover and equal variances (C1V0), and (4) carryover and unequal variances (C1V1).
Each of 1000 sets of data under each of these conditions was analyzed four different ways assuming: (1) no carryover and equal variances (C0V0), (2) no carryover and unequal variances(C0V1), (3) carryover and equal variances (C1V0), and (4) carryover and unequal variances (C1V1).
PROCMIXED; TITLE2'EQUAL VARIANCES'; CLASSES SEQ PERIOD TRT PERSON; MODEL PEF=SEQ TRT PERIOD/DDFM=SATTERTH; REPEATED TRT/SUBJECT=PERSON(SEQ) TYPE=CS; LSMEANS TRT /PDIFF; RUN; PROCMIXED; TITLE2'UNEQUAL VARIANCES'; CLASSES SEQ PERIOD TRT PERSON; MODEL PEF=SEQ TRT PERIOD/DDFM=SATTERTH; REPEATED TRT/SUBJECT=PERSON(SEQ) TYPE=CSH; LSMEANS TRT /PDIFF; RUN;
NOTE: Failing to assume carryover when carryover exists invalidates the tests for equal treatment effects and the invalidation generally gets worse as the
TITLE1'A THREE PERIOD/THREE TRT DESIGN'; TITLE2'ANALYSIS ASSUMES NO CARRY-OVER'; PROCMIXED; TITLE3'ANALYSIS USING SAS-MIXED'; CLASSES SEQ PER TRT SUBJ; MODEL Y=SEQ TRT PER/DDFM=SATTERTH; RANDOM SUBJ(SEQ); LSMEANS TRT PER/PDIFF; RUN;