How to calculate anova by hand

Written by damon verial Google
  • Share
  • Tweet
  • Share
  • Email

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.

Skill level:

Other People Are Reading

Things you need

  • A data set

Show MoreHide


  1. 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.

  2. 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."

  3. 3

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

  4. 4

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

  5. 5

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

  6. 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.

  7. 7

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

  8. 8

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

  9. 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.

  10. 10

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

  11. 11

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

  12. 12

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

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.