How to Calculate a One-Way ANOVA by Hand

Share

Summary

This video walks through the laborious process of calculating a one-way analysis of variance (ANOVA) by hand. It covers the F-ratio, mean sum of squares, degrees of freedom, and sums of squares, providing step-by-step guidance and a practice problem to illustrate the calculations.

Highlights

Introduction to One-Way ANOVA and the F-Ratio
00:00:00

This section introduces the concept of the one-way analysis of variance (ANOVA) and its test statistic, the F-ratio. The F-ratio is defined as the variance due to group differences divided by the variance due to random chance (within-group differences). A larger F-statistic and significant p-value indicate meaningful differences between groups, while a small F-statistic and non-significant p-value suggest no treatment effects.

Understanding the F-Ratio Formula Components
00:03:21

The video breaks down the F-ratio formula into MS between (mean sum of squares between groups) and MS within (mean sum of squares within groups). It explains that MS between measures variance between groups, and MS within measures variance within groups, serving as the error term. Each MS term is calculated by dividing its corresponding sum of squares (SS) by its degrees of freedom (DF).

Calculating Degrees of Freedom (DF)
00:05:22

This part explains how to quickly calculate the degrees of freedom. DF between is K-1 (number of groups minus 1), and DF within is NT-K (total sample size minus the number of groups). These are presented as the easiest part of the ANOVA calculation.

The Challenging Part: Sums of Squares (SS)
00:06:15

The video highlights that calculating the sums of squares (SS) is the most laborious part, requiring careful step-by-step calculation. It introduces complex notations like "Sigma Sigma" and advises against trying to solve directly without following a structured approach.

Step-by-Step Calculation of Within-Group Statistics
00:07:07

This section outlines the initial steps for calculating within-group statistics. This includes finding the sample size (n), sum of values (Sigma X), and mean (X-bar) for each group. It also introduces the calculation of (Sigma X)^2 / n for each group and the sum of squared values (Sigma x^2) for each group, noting that squaring all values upfront is beneficial.

Step-by-Step Calculation of Across-Group Statistics
00:09:49

The video details how to calculate statistics across groups based on the previously computed within-group values. This involves finding total sample size (NT), overall sum of values (Sigma Sigma X), and crucial terms like (Sigma Sigma X)^2 / NT, the sum of (Sigma X)^2 / n for each group, and the overall sum of squared values (Sigma Sigma x^2). These three terms are essential for the SS formulas.

Practice Problem: Initial Data Setup
00:13:00

A practice problem is introduced with raw data for three groups. The initial setup involves creating squared versions of each data point, a crucial first step for simplifying later calculations. The importance of organizing these statistics for each group is emphasized.

Practice Problem: Calculating Within-Group Statistics (n, Sigma X, X-bar)
00:14:02

The first step in the practice problem is to calculate the sample size (n), sum of values (Sigma X), and mean (X-bar) for each of the three groups. The video demonstrates these calculations and highlights initial observed differences in group means.

Practice Problem: Calculating (Sigma X)^2 / n for each group
00:16:15

This segment shows the calculation of the (Sigma X)^2 / n term for each group using the previously derived Sigma X and n values. This is a vital intermediate step for the sums of squares calculations.

Practice Problem: Calculating Sum of Squared Values (Sigma x^2) for each group
00:17:28

The video then calculates the sum of the squared individual values (Sigma x^2) for each of the three groups. This involves summing the squared data points generated earlier for each group.

Practice Problem: Calculating Across-Group Totals and Key Terms
00:18:22

Building on the within-group calculations, this part demonstrates how to find the total sample size (NT), the overall sum of all values (Sigma Sigma X), and the three critical terms needed for the sums of squares formulas: (Sigma Sigma X)^2 / NT, the sum of (Sigma X)^2 / n from each group, and the overall sum of all squared values (Sigma Sigma x^2).

Practice Problem: Calculating Degrees of Freedom (DF)
00:22:05

With the necessary initial values, the degrees of freedom for between-groups (DF between) and within-groups (DF within) are calculated as K-1 and NT-K, respectively.

Practice Problem: Calculating Sums of Squares (SS)
00:22:50

The video then proceeds to calculate the sums of squares between groups (SS between) and within groups (SS within) by plugging the previously calculated key terms into their respective formulas.

Practice Problem: Calculating Mean Sum of Squares (MS) and the F-Ratio
00:24:04

Finally, the mean sum of squares for between groups (MS between) and within groups (MS within) are calculated by dividing the corresponding SS values by their DF. These MS values are then used to calculate the final F-statistic. The video also briefly mentions calculating the effect size (Eta squared).

Recently Summarized Articles

Loading...