0:00 / 0:00

One-Way ANOVA Hypothesis Test

To perform a hypothesis test for the difference in several means, you will need the following information:
  • The ANOVA table or the raw data (if you can use software)
  • The number of groups or samples kk
  • The significance level αα
  • If it is not provided, you should assume it's 0.05 or see how small or large the p-value is.

Wize Tip
You must know this table:



PAGE BREAK

Hypothesis Test Five Steps

Wize Tip
Review Hypothesis Testing if you need a refresher of the five steps. (See: Hypothesis Testing with One Sample)

  • Step 1: Locate the relevant variables and identify the situation
  • Determine if the question has more than two SRS, the populations are normally distributed, independent, and the variance of the populations can be assumed to be equal.
  • Find the significance level αα.
  • Determine the number of samples kk.
  • Fill in or construct the ANOVA table.

  • Step 2: State the hypotheses
  • In this step we need to determine the null hypothesis HoH_o and the alternative hypothesis HaH_a (also sometimes denoted H1H_1).
  • The null hypothesis
  • Ho:µ1= µ2=...= µkH_o:µ_1=\ µ_2=...=\ µ_k (the population means are all equal)
  • This implies the treatments had no impact on the means.
  • The alternative hypothesis
  • Ha:H_a: at least one of the means μi\mu_i is different from the others
  • This implies treatments don't all have the same impact.
  • Thus, the hypothesis statement takes the form:
  • H0: µ1=µ2=...=µkH_0:\ µ_1=µ_2=...=µ_k
  • Ha:H_a: at least one of the means μi\mu_i is different from the others

PAGE BREAK

  • Step 3: Calculate the Test Statistic
  • Test statistic F=MSBMSW\displaystyle F=\frac{MSB}{MSW}
  • The F-distribution has two degrees of freedom
  • dfnumerator=dfB=k1df_{numerator}=df_{B}=k-1 (degrees of freedom for "Between Groups")
  • dfdenominator=dfW=nkdf_{denominator} =df_{W}= n-k (degrees of freedom for "Within Groups")
  • where nn is the overall sample size.
  • Step 4: Decision Rule
  • Find the p-value to compare with the significance level α\alpha
  • The p-value should either be given in the ANOVA table or obtained using software
  • Alternatively, you can find the critical value to compare with the F statistic
  • You can find the critical value using the appropriate F-table, given the significance level α\alpha and degrees of freedoms (dfnumerator,dfdenominatordf_{numerator}, df_{denominator})
PAGE BREAK
  • Step 5: Conclusion
  • If p-value<α <α \rightarrow Reject HoH_o
  • We have enough statistical evidence to conclude that at least one of the population mean differs.
  • If p-value>α >α \rightarrow Fail to reject HoH_o
  • We do not have enough statistical evidence to conclude that at least one of the population mean differs.

0:00 / 0:00

Example: One-Way ANOVA Hypothesis Testing

Max Powers is a billionaire who owns three hockey teams. Each team has coaches with very different approaches:
  • Team A is coached by a ruthless man with anger management issues;
  • Team B is coached by a retired nurse and grandmother of three;
  • Team C is coached by a yoga instructor

To test if his three teams differ in performance, Max compared them based on their average total points per season:
Mean PointsStandard DeviationTeam A5615.56Team B4214.30Team C778.94\begin{array}{|l|c|c|}\hline & \textbf{Mean Points} & \textbf{Standard Deviation}\\\hline \textbf{Team A} &56&15.56\\\hline \textbf{Team B}&42&14.30\\\hline \textbf{Team C}&77&8.94\\\hline \end{array}

PAGE BREAK
Step 1: Locate the relevant variables and identify the situation
  • The following information is provided in the question:
  • α=0.05 α=0.05\ (No significance level provided so we assumed this)
  • k=3k=3
  • ANOVA table is provided.
  • In this situation we know we have to use a one-way ANOVA test because:
  • The question has more than two SRS.
  • Populations are normally distributed (we aren't told anything in particular so we can assume).
  • Populations are independent (again nothing specific is said so you can simply assume).
  • The variance of the populations can be assumed to be equal (again nothing specific is said so you can simply assume).

Step 2: State the hypotheses
  • H0: µ1=µ2=µ3H_0:\ µ_1=µ_2=µ_3
  • H1: At least one of the means is different from the othersH_1:\ At\ least\ one\ of\ the\ means\ is\ different\ from\ the\ others

Step 3: Calculate the Test Statistic
  • F=MSBMSW=2943.33175.55=16.77F=\displaystyle\frac{MSB}{MSW}=\displaystyle\frac{2943.33}{175.55}=16.77
  • df numerator =k1=31=2df\ numerator\ =k-1=3-1=2
  • df denominator =Nk=303=27df\ deno\min ator\ =N-k=30-3=27

Step 4: Decision Rule
  • P-Value=0.00002=0.00002 (given in ANOVA table)
Step 5: Conclusion
  • 0.00002 < 0.05 => pvalue  α0.00002\ <\ 0.05\ =>\ pvalue\ \le\ α therefore we reject H0. At the 5% level of significance, we have enough evidence to reject H0. At least one of the means differs from the other ones.
*Note that since we p-value is provided in the ANOVA table we could have skipped Steps 3, 4 and used that directly for the conclusion.

Practice: One-Way ANOVA

The Real Housewives of Beverly Hills, Orange County, Atlanta, and New York are arguing in a limo about which city charges the most for nose jobs.


(a) Which of the following are the correct set of hypotheses?
Extra Practice