Trial ends in

# 10.2: One-Way ANOVA

TABLE OF
CONTENTS
JoVE Core
Statistics

A subscription to JoVE is required to view this content.

Education
One-Way ANOVA

### 10.2: One-Way ANOVA

One-way ANOVA analyzes more than three samples categorized by one factor. For example, it can compare the average mileage of sports bikes. Here, the data is categorized by one factor - the company. However, one-way ANOVA cannot be used to simultaneously compare the sample mean of three or more samples categorized by two factors. An example of two factors would be sports bikes from different companies driven in different terrains, such as a desert or snowy landscape. Here, two-way ANOVA is used since two factors are involved, namely company and terrain.

Two hypotheses, namely the null and the alternative hypothesis, are stated before analyzing samples using one-way ANOVA. The null hypothesis states that the means of the samples used during analysis are equal, while the alternative hypothesis states that the sample means are unequal. After stating the two hypotheses, the variances between samples and within samples are calculated. The variance between samples is computed as the variance of the sample means multiplied by the sample size, n. The variance within samples is computed as the average of the sample variances.

Next, the F statistic is calculated as the ratio of the variance between samples to the variance within samples. If the value of the F statistic is greater than 1, smaller P-values are obtained. This occurs when the variance between samples is high or the variance within samples. From this, it is inferred that the sample means are unequal, and the null hypothesis is rejected. If the value of the F statistic is closer to or equal to 1, larger P-values are obtained. This happens when the variance between the samples is close to or equal to the variance within the samples. In such a case, it is inferred that the sample means are equal, so one fails to reject the null hypothesis.

This text is adapted from Openstax, Introductory Statistics, Section 13.1 One way ANOVA

#### Tags

One-Way ANOVA Samples Factor Average Mileage Sports Bikes Company Two Factors Comparison Null Hypothesis Alternative Hypothesis Variances F Statistic P-values

X