Menu location: **Analysis_Analysis of Variance_Crossover**.

This function calculates a number of test statistics for simple crossover trials.

If a group of subjects is exposed to two different treatments A and B then a crossover trial would involve half of the subjects being exposed to A then B and the other half to B then A. A washout period is allowed between the two exposures and the subjects are randomly allocated to one of the two orders of exposure. The periods when the groups are exposed to the treatments are known as period 1 and period 2. This function evaluated treatment effects, period effects and treatment-period interaction. For further information please refer to Armitage and Berry (1994).

Please note that the treatment-period interaction statistic is included for interest only; two-stage procedures are not now recommended for crossover trials (Senn, 1993).

__Technical Validation__

Statistics for the analysis of crossover trials, with optional baseline run-in observations, are calculated as follows (Armitage and Berry, 1994; Senn, 1993):

- where m is the number of observations in the first group (say drug first); n is the number of observations in the second group (say placebo first); X_{Di} is an observation from the drug treated arm in the first group; X_{Pi} is an observation from the placebo arm in the first group; X_{Dj} is an observation from the drug treated arm in the second group; X_{Pj} is an observation from the placebo arm in the second group; t_{relative} is the test statistic, distributed as Student t on n+m-1 degrees of freedom, for the relative effectiveness of drug vs. placebo; t_{tp} is the test statistic, distributed as Student t on n+m-2 degrees of freedom, for the treatment-period interaction; and t_{treatment} and t_{period} are the test statistics, distributed as Student t on n+m-2 degrees of freedom for the treatment and period effect sizes respectively (null hypothesis = 0). Any baseline observations are subtracted from the relevant observations before the above are calculated.

__Example__

From Armitage and Berry (1994, p. 247).

Test workbook (ANOVA worksheet: Drug 1, Placebo 1, Drug 2, Placebo 2).

The following data represent the number of dry nights out of 14 in two groups of bedwetters. The first group were treated with drug X and then a placebo and the second group were treated with the placebo then drug x. An acceptable washout period was allowed between these two treatments.

Drug 1 | Placebo 1 | Drug 2 | Placebo 2 |

8 | 5 | 11 | 12 |

14 | 10 | 8 | 6 |

8 | 0 | 9 | 13 |

9 | 7 | 8 | 8 |

11 | 6 | 9 | 8 |

3 | 5 | 8 | 4 |

6 | 0 | 14 | 8 |

0 | 0 | 4 | 2 |

13 | 12 | 13 | 8 |

10 | 2 | 7 | 9 |

7 | 5 | 10 | 7 |

13 | 13 | 6 | 7 |

8 | 10 | ||

7 | 7 | ||

9 | 0 | ||

10 | 6 | ||

2 | 2 |

To analyse these data in StatsDirect you must first prepare them in four workbook columns appropriately labelled. Alternatively, open the test workbook using the file open function of the file menu. Then select Crossover from the Analysis of Variance section of the analysis menu. Select the column labelled "Drug 1" when asked for drug 1, then "Placebo 1" for placebo 1. Click on the cancel button when you are asked for baseline levels. Repeat this process for drug 2 and placebo 2.

For this example:

__Crossover tests__

Period 1 | Period 2 | Difference | |

Group 1 | 8.117647 | 5.294118 | 2.823529 |

Group 2 | 7.666667 | 8.916667 | -1.25 |

Test for relative effectiveness of drug / placebo:

combined diff = 2.172414, SE = 0.61602

t = 3.526533, DF = 28, P = .0015

Test for treatment effect:

diff 1 - diff 2 = 4.073529, SE = 1.2372

effect magnitude = 2.036765, 95% CI = 0.767502 to 3.306027

t = 3.292539, DF = 27, P = .0028

Test for period effect:

diff 1 + diff 2 = 1.573529, SE = 1.2372

t = 1.271847, DF = 27, P = .2143

Test for treatment / period interaction:

sum 1 - sum 2 = -3.171569, SE = 2.440281

t = -1.299673, DF = 27, P = .2047

The absence of a statistically significant period effect or treatment period interaction permits the use of the statistically highly significant statistic for effect of drug vs. placebo. With 95% confidence we can say that the true population value for the magnitude of the treatment effect lies somewhere between 0.77 and 3.31 extra dry nights each fortnight.

Copyright © 2000-2017 StatsDirect Limited, all rights reserved. Download a free trial here.