| Literature DB >> 15025774 |
Viv Bewick1, Liz Cheek, Jonathan Ball.
Abstract
This review introduces one-way analysis of variance, which is a method of testing differences between more than two groups or treatments. Multiple comparison procedures and orthogonal contrasts are described as methods for identifying specific differences between pairs of treatments.Entities:
Mesh:
Year: 2004 PMID: 15025774 PMCID: PMC420045 DOI: 10.1186/cc2836
Source DB: PubMed Journal: Crit Care ISSN: 1364-8535 Impact factor: 9.097
Illustrative data set
| Treatment 1 | Treatment 2 | Treatment 3 | |
| 10 | 19 | 14 | |
| 12 | 20 | 16 | |
| 14 | 21 | 18 | |
| Mean | 12 | 20 | 16 |
| Standard deviation | 2 | 1 | 2 |
Sum of squares calculations for illustrative data
| Treatment | Observation (x) | Treatment mean (fitted value) | Treatment mean - grand mean (explained deviation) | x - treatment mean (residual) | x - grand mean (total deviation) |
| 1 | 10 | 12 | -4 | -2 | -6 |
| 1 | 12 | 12 | -4 | 0 | -4 |
| 1 | 14 | 12 | -4 | 2 | -2 |
| 2 | 19 | 20 | 4 | -1 | 3 |
| 2 | 20 | 20 | 4 | 0 | 4 |
| 2 | 21 | 20 | 4 | 1 | 5 |
| 3 | 14 | 16 | 0 | -2 | -2 |
| 3 | 16 | 16 | 0 | 0 | 0 |
| 3 | 18 | 16 | 0 | 2 | 2 |
| Sum of squares | 96 | 18 | 114 |
Analysis of variance table for illustrative example
| Source of variation | df | SS | MS | F | |
| Between treatments | 2 | 96 | 48 | 16 | 0.0039 |
| Error (within treatments) | 6 | 18 | 3 | ||
| Total | 8 | 114 |
df, degrees of freedom; F, test statistic; MS, mean squares; SS, sums of squares.
An abridged table of the Simplified Acute Physiology Scores for ICU patients according to presence of infection on ICU admission and/or ICU-acquired infection
| Infection state | ||||
| Patient no. | Noinfection (group 1) | Infection on admission (group 2) | ICU-acquired infection (group 3) | On admission and ICU-acquired infection (group 4) |
| 1 | 37.9 | 39.9 | 28.1 | 34.5 |
| 2 | 19.0 | 21.3 | 29.1 | 41.5 |
| 3 | 30.4 | 19.4 | 30.0 | 40.1 |
| 4 | 31.4 | 24.6 | 34.3 | 53.1 |
| 5 | 44.4 | 51.5 | 32.4 | 46.3 |
| ↓ | ↓ | ↓ | ↓ | ↓ |
| 100 | 25.3 | 30.2 | 27.4 | 39.5 |
| Sample mean | 35.2 | 39.5 | 39.4 | 40.9 |
| Sample standard deviation | 14.5 | 15.1 | 14.1 | 14.1 |
ICU, intensive care unit.
Figure 1Box plots of the Simplified Acute Physiology Score (SAPS) scores according to infection. Means are shown by dots, the boxes represent the median and the interquartile range with the vertical lines showing the range. ICU, intensive care unit.
Analysis of variance for the SAPS scores for ICU patients according to presence of infection on ICU admission and/or ICU-acquired infection
| Source of variation | df | SS | MS | F | |
| Between infections | 3 | 1780.2 | 593.4 | 2.84 | 0.038 |
| Error (within infections) | 396 | 82,730.7 | 208.9 | ||
| Total | 399 | 84,509.9 |
The P value of 0.038 indicates a significant difference between at least two of the infection means. df, degrees of freedom; F, test statistic; ICU, intensive care unit; MS, mean squares; SAPS, Simplified Acute Physiology Score; SS, sums of squares.
Duncan's multiple range test for the data from Table 4
| α | 0.05 | |||
| Error degrees of freedom | 396 | |||
| Error mean square | 208.9133 | |||
| Number of means | 2 | 3 | 4 | |
| Critical range | 4.019 | 4.231 | 4.372 | |
| Duncan groupinga | Mean | N | Infection group | |
| A | 40.887 | 100 | 4 | |
| A | 39.485 | 100 | 2 | |
| A | 39.390 | 100 | 3 | |
| B | 35.245 | 100 | 1 | |
aMeans with the same letter are not significantly different.
Contrast coefficients for the three planned comparisons
| Coefficients for orthogonal contrasts | |||
| Infection | Contrast 1 | Contrast 2 | Contrast 3 |
| 1 (no infection) | 3 | 0 | 0 |
| 2 | -1 | 0 | 2 |
| 3 | -1 | 1 | -1 |
| 4 | -1 | -1 | -1 |
Analysis of variance for the three planned comparisons
| Source | df | SS | MS | F | |
| Infection | 3 | 1780.2 | 593.4 | 2.84 | 0.038 |
| Contrast 1 | 1 | 1639.6 | 1639.6 | 7.85 | 0.006 |
| Contrast 2 | 1 | 112.1 | 112.1 | 0.54 | 0.464 |
| Contrast 3 | 1 | 28.5 | 28.5 | 0.14 | 0.712 |
| Error | 396 | 82,729.7 | 208.9 | ||
| Total | 399 | 84,509.9 |
df, degrees of freedom; F, test statistic; MS, mean squares; SS, sums of squares.
Plasma colloid osmotic pressure of infants in three age groups
| Age group | ||
| 1–4 months | 5–8 months | 9–12 months |
| 24.4 | 25.8 | 26.1 |
| 23.0 | 25.6 | 27.7 |
| 25.4 | 28.2 | 21.8 |
| 24.8 | 22.6 | 23.9 |
| 23.6 | 22.0 | 27.7 |
| 25.0 | 23.8 | 22.6 |
| 23.4 | 27.3 | 26.0 |
| 22.5 | 22.8 | 27.4 |
| 21.7 | 25.4 | 26.6 |
| 26.2 | 26.1 | 28.2 |
Units shown are mmHg.
Figure 2Box plots of plasma colloid osmotic pressure (COP) for each age group. Means are shown by dots, boxes indicate median and interquartile range, with vertical lines depicting the range.
Contrast coefficients for linear and quadratic trends
| Coefficients for orthogonal contrasts | ||
| Age group | Linear | Quadratic |
| 1–4 months | -1 | 1 |
| 5–8 months | 0 | -2 |
| 9–12 months | 1 | 1 |
Analysis of variance for linear and quadratic trends
| Source | df | SS | MS | F | |
| Treatment | 2 | 16.22 | 8.11 | 2.13 | 0.138 |
| Linear | 1 | 16.20 | 16.20 | 4.26 | 0.049 |
| Quadratic | 1 | 0.02 | 0.02 | 0.01 | 0.937 |
| Error | 27 | 102.7 | 3.8 | ||
| Total | 29 | 118.9 |
df, degrees of freedom; F, test statistic; MS, mean squares; SS, sums of squares.
Figure 3Plot of residuals versus fits for the data in Table 4. Response is Simplified Acute Physiology Score.
Figure 4Normal probability plot of residuals for the data in 4. Response is Simplified Acute Physiology Score.