How to Calculate the Root MSE in ANOVA

Written by thomas bourdin
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to Calculate the Root MSE in ANOVA
The root MSE is commonly used when analysing statistics in experimental systems. (Jupiterimages/ Images)

In statistics, the analysis of variance (ANOVA) is a way of analysing different groups of data together to see if they are related or similar. One important test within ANOVA is the root mean square error (MSE). This quantity is a way of estimating the difference between the values predicted by a statistical model and the measured values from the actual system. Calculating the root MSE can be done in a few straightforward steps.

Skill level:


    Sum of Square Errors (SSE)

  1. 1

    Calculate the overall mean of each group of data sets. For example, say there are two groups of data, set A and set B, where set A contains the numbers 1, 2 and 3 and set B contains the numbers 4, 5 and 6. The mean of set A is 2 ( found by adding 1, 2 and 3 together and dividing by 3) and the mean of set B is 5 (found by adding 4, 5 and 6 together and dividing by 3).

  2. 2

    Subtract the mean of the data from the individual data points and square the ensuing value. For example, in the data set A, subtracting 1 by the mean of 2 gives a value of -1. Squaring this number (that is to say, multiplying it by itself) gives 1. Repeating this process for the rest of the data from set A gives 0, and 1, and for set B, the numbers are 1, 0 and 1 as well.

  3. 3

    Sum up all the squared values. From the previous example, summing up all the squared numbers produces the number 4.

    Calculating the Root MSE in ANOVA

  1. 1

    Find the degrees of freedom for error by subtracting the total number of data points by the degrees of freedom for treatment (the number of data sets). In our example, there are six total data points and two different data sets, which gives 4 as the degrees of freedom for error.

  2. 2

    Divide the sum of squares error by the degrees of freedom for error. Continuing the example, dividing 4 by 4 gives 1. This is the mean square error (MSE).

  3. 3

    Take the square root of the MSE. Concluding the example, the square root of 1 is 1. Therefore, the root MSE for ANOVA is 1 in this example.

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.