Steven C. Chapra, Applied Numerical Methods with MATLAB for Engineers and Scientists, Second Edition, Boston, Massachusetts: McGraw-Hill, 2008, page 82-84.
See Also
sgm for geometric mean, shm for harmonic mean, cv for
coefficient of variation (CV), rms for root-mean-square (RMS), relerror
for relative error, and ranges for sample range.