Do the average weight losses after 12 months differ significantly across the four diet plans?
Solution.
Effect of diet plan on average weight loss: The explanatory variable is diet plan, which is categorical. The response variable is amount of weight loss after 12 months, which is quantitative. Boxplots and numerical summaries follow:

Side-by-side boxplots of weight loss (kilograms) for the Atkins, Ornish, Weight Watchers, and Zone diets; the four distributions overlap substantially, with the Ornish diet showing one low and three high outliers.
diet N Mean StDev Median IQR Atkins 21 3.92 6.05 3.90 9.15 (all in kilograms) Ornish 20 6.56 9.29 5.45 6.81 (all in kilograms) Wgt Watch 26 4.59 5.39 3.60 6.85 (all in kilograms) Zone 26 4.88 6.92 3.40 8.63 (all in kilograms)
These boxplots and statistics seem to indicate that the four diets do not differ substantially with regard to weight loss after 12 months. The mean and median weight loss are both positive for all four diets, indicating that subjects did tend to lose some weight on these diets, roughly 4-6 kilograms on average. The boxplots also show substantial overlap between the four distributions. The means and medians are very similar for three of the diets, with the Ornish diet having a somewhat larger mean and median weight loss (6.56 and 5.45 kilograms, respectively) than the others. All four distributions of weight loss appear to be fairly symmetric, perhaps a bit skewed to the right. The variability in weight losses is also similar across all four diet plans, with the Ornish diet having the most variability, largely due to its one small and three large outliers.
Because we have a categorical explanatory variable and a quantitative response variable, we will apply ANOVA to these data. The technical conditions appear to be met: The subjects were randomly assigned to diet plans, the distributions look fairly normal (see the following normal probability plots), and the standard deviations are similar (ratio of largest to smallest is 9.29/5.39, which is less than 2).

Panel of normal probability plots of weight loss for the Atkins, Ornish, Weight Watchers, and Zone groups; in each panel the points follow the line within the 95 percent confidence bands.
The hypotheses are:
\(H_0\text{:}\) \(\mu_A = \mu_O = \mu_W = \mu_Z\text{,}\) where \(\mu_i\) represents the underlying treatment mean weight loss after 12 months with diet \(i\text{.}\) This hypothesis says that the treatment mean is the same for all four diets.
\(H_a\text{:}\) that at least two of the treatment means differ; in other words, that at least one diet does have a different treatment mean than the others
Minitab produces the following ANOVA table:

Analysis of Variance table: diet DF 3, Adj SS 77.60, Adj MS 25.87, F-Value 0.54, P-Value 0.659; Error DF 89, Adj SS 4293.71, Adj MS 48.24; Total DF 92, Adj SS 4371.31.
The small F-statistic (\(F = 0.54\)) and large p-value (0.659) reveals that the experimental data provide essentially no evidence against the null hypothesis. The p-value reveals that differences among the group means at least as big as those found in this experiment would occur about 66% of the time by randomization alone even if there were no true differences among the diets. In other words, the treatment means do not differ significantly, and there is no evidence that these four diets produce different average amounts of weight loss.






