RMS

The RMS value is a measure of “goodness of fit”. It is an intuitive measure; the smaller the RMS value the better the fit between the distribution of the sample data and the test distribution.

The RMS value is defined as:

is the number of sample intervals

the sum of squared residuals is defined as:

is the number of points in interval K

is the expected number of points in interval K