10.4 - Minitab: One-Way ANOVA10.4 - Minitab: One-Way ANOVA
In one research study, 20 young pigs are assigned at random among 4 experimental groups. Each group is fed a different diet. (This design is a completely randomized design.) The data are the pigs' weights in kg after being raised on these diets for 10 months. We wish to ask whether mean pig weights are the same for all 4 diets.
- \(H_0: \mu_1 = \mu_2 = \mu_3 = \mu_4\)
- \(H_a:\) Not all \(\mu\) are equal
Contained in the Minitab file: ANOVA_ex.mpx
Note that in this file the data were entered so that each group is in its own column. In other words the responses are in a separate column for each factor level. In later examples, you will see that Minitab will also conduct a one-way ANOVA if the responses are all in one column with the factor codes in another column.
Minitab® – One-Way ANOVA
To perform an Analysis of Variance (ANOVA) test in Minitab:
- Open the Minitab file: ANOVA_ex.mpx
- From the menu bar, select Stat > ANOVA > One-Way.
- Click the drop-down menu and select Responses are in a separate column for each factor level.
- Enter the variables Feed_1, Feed_2, Feed_3, and Feed_4 to insert them into the Responses box.
- Choose the Comparisons button and check the box next to Tukey. Under Results also select Tests.
- OK and OK
The result should be the following output:
|Null hypothesis||All means are equal|
|Alternative hypothesis||At least one mean is different|
Equal variances were assumed for the analysis
|Factor||4||Feed_1, Feed_2, Feed_3, Feed_4|
Analysis of Variance
|Source||DF||Adj SS||Adj MS||F-Value||P-Value|
Pooled StDev = 2.75386
Grouping Information Using the Tukey Method and 95% Confidence
Means that do not share a letter are significantly different.
|Feed_2 - Feed_1||8.56||1.74||(3.57, 13.55)||4.91||0.001|
|Feed_3 - Feed_1||39.66||1.74||(34.67, 44.65)||22.77||0.000|
|Feed_4 - Feed_1||25.70||1.74||(20.71, 30.69)||14.76||0.000|
|Feed_3 - Feed_2||31.10||1.74||(26.11, 36.09)||17.86||0.000|
|Feed_4 - Feed_2||17.14||1.74||(12.15, 22.13)||9.84||0.000|
|Feed_4 - Feed_3||-13.96||1.74||(-18.95, -8.97)||-8.02||0.000|
Tukey Simultaneous Tests for Differences of Means
Individual confidence level = 98.87%