Root mean square
Assume we have a set of observations as numbers, and we also know for each observation what the expected number was. Now let's say that we want to know how much these observations differ from their expected numbers. One approach would be to calculate the individual differences (expected - observed), add them all up, and divide by the number of observations. The problem here is that some of the observations will be larger than the expected values resulting in negative difference values.