Search for...

How to Calculate ANOVA by Hand

by Damon Verial, Demand Media Google

    After collecting data from two groups, researchers often use ANOVA (analysis of variance) to contrast differences between the groups. Before beginning the ANOVA calculations, you need to have the basic summary statistics of the data you collected. Though you can easily compute ANOVA with statistical software, calculating ANOVA by hand will allow you to understand the individual steps involved and how they contribute to showing the differences between groups.

    Items you will need

    • A data set
    Step 1

    List your summary statistics for easy reference. Your summary statistics include the individual data points for the first group, "x;" the number of data points for the second group, "y;" and the number of data points for each group, "n." Make these summary statistics easy to see and reference in preparation for the ANOVA calculation.

    Step 2

    Add the data points for each group. Add up all of the data points for the first group, and call the result "SX." Do the same for the data points in the second group and call the result "SY."

    Step 3

    Calculate the mean correction. Use the formula C = (SX + SY)^2 / (2n).

    Step 4

    Calculate the sum of squares between groups, SSB. Use the formula SSB = [(SX^2 + SY^2) / n] -- C.

    Step 5

    Square all of the data points. Write these results in an easy-to-reference way.

    Step 6

    Sum all of the squared data points. Do not separate the sums for the two groups; the final result should be a single sum. Call this final sum D.

    Step 7

    Calculate the sum of squares total, SST. Use the formula SST = D -- C.

    Step 8

    Calculate the sum of squares within groups, SSW. Use the formula SST -- SSB.

    Step 9

    Compute the degrees of freedom for between and within groups, "dfb" and "dfw," respectively. For between groups, dfb = 1, and for within groups dfw = 2n -- 2.

    Step 10

    Compute the mean square for between groups, MSB. Use the formula MSB = SSB / dfb.

    Step 11

    Compute the mean square for within groups, MSW. Use the formula, MSW = SSW / dfw.

    Step 12

    Calculate the final statistic, the F statistic. Use the formula, F = MSB / MSW.

    Style Your World With Color

    References

    • "Experimental Designs Using ANOVA"; Barbara Tabachnick and Linda Fidell; 2007

    About the Author

    Having obtained a Master of Science in psychology in East Asia, Damon Verial has been applying his knowledge to related topics since 2010. Having written professionally since 2001, he has been featured in financial publications such as SafeHaven and the McMillian Portfolio. He also runs a financial newsletter at Stock Barometer.

    Watch An Education Video!