# Reduced chi-squared statistic

__: Test statistic__

**Short description**

In statistics, the **reduced chi-square statistic** is used extensively in goodness of fit testing. It is also known as **mean squared weighted deviation** (**MSWD**) in isotopic dating^{[1]} and **variance of unit weight** in the context of weighted least squares.^{[2]}^{[3]}

Its square root is called **regression standard error**,^{[4]} **standard error of the regression**,^{[5]}^{[6]} or **standard error of the equation**^{[7]}
(see Ordinary least squares § Reduced chi-squared)

## Definition

It is defined as chi-square per degree of freedom:^{[8]}^{[9]}^{[10]}^{[11]}^{:{{{1}}}}^{[12]}^{[13]}^{[14]}^{[15]}
[math]\displaystyle{ \chi^2_\nu = \frac{\chi^2} \nu, }[/math]
where the chi-squared is a weighted sum of squared deviations:
[math]\displaystyle{ \chi^2 = \sum_{i} {\frac{(O_i - C_i)^2}{\sigma_i^2}} }[/math]
with inputs: variance [math]\displaystyle{ \sigma_i^2 }[/math], observations *O*, and calculated data *C*.^{[8]}
The degree of freedom, [math]\displaystyle{ \nu = n - m }[/math], equals the number of observations *n* minus the number of fitted parameters *m*.

In weighted least squares, the definition is often written in matrix notation as
[math]\displaystyle{ \chi^2_\nu = \frac{r^\mathrm{T} W r}{\nu}, }[/math]
where *r* is the vector of residuals, and *W* is the weight matrix, the inverse of the input (diagonal) covariance matrix of observations. If *W* is non-diagonal, then generalized least squares applies.

In ordinary least squares, the definition simplifies to: [math]\displaystyle{ \chi^2_\nu = \frac{\mathrm{RSS}}{\nu}, }[/math] [math]\displaystyle{ \mathrm{RSS} = \sum r^2, }[/math] where the numerator is the residual sum of squares (RSS).

When the fit is just an ordinary mean, then [math]\displaystyle{ \chi^2_\nu }[/math] equals the sample standard deviation.

## Discussion

As a general rule, when the variance of the measurement error is known *a priori*, a [math]\displaystyle{ \chi_\nu^2 \gg 1 }[/math] indicates a poor model fit. A [math]\displaystyle{ \chi_\nu^2 \gt 1 }[/math] indicates that the fit has not fully captured the data (or that the error variance has been underestimated). In principle, a value of [math]\displaystyle{ \chi_\nu^2 }[/math] around [math]\displaystyle{ 1 }[/math] indicates that the extent of the match between observations and estimates is in accord with the error variance. A [math]\displaystyle{ \chi_\nu^2 \lt 1 }[/math] indicates that the model is "over-fitting" the data: either the model is improperly fitting noise, or the error variance has been overestimated.^{[11]}^{(p89)}

When the variance of the measurement error is only partially known, the reduced chi-squared may serve as a correction estimated *a posteriori*.

## Applications

### Geochronology

In geochronology, the MSWD is a measure of goodness of fit that takes into account the relative importance of both the internal and external reproducibility, with most common usage in isotopic dating.^{[16]}^{[17]}^{[1]}^{[18]}^{[19]}^{[20]}

In general when:

MSWD = 1 if the age data fit a univariate normal distribution in *t* (for the arithmetic mean age) or log(*t*) (for the geometric mean age) space, or if the compositional data fit a bivariate normal distribution in [log(U/He),log(Th/He)]-space (for the central age).

MSWD < 1 if the observed scatter is less than that predicted by the analytical uncertainties. In this case, the data are said to be "underdispersed", indicating that the analytical uncertainties were overestimated.

MSWD > 1 if the observed scatter exceeds that predicted by the analytical uncertainties. In this case, the data are said to be "overdispersed". This situation is the rule rather than the exception in (U-Th)/He geochronology, indicating an incomplete understanding of the isotope system. Several reasons have been proposed to explain the overdispersion of (U-Th)/He data, including unevenly distributed U-Th distributions and radiation damage.

Often the geochronologist will determine a series of age measurements on a single sample, with the measured value [math]\displaystyle{ x_i }[/math] having a weighting [math]\displaystyle{ w_i }[/math] and an associated error [math]\displaystyle{ \sigma_{x_i} }[/math] for each age determination. As regards weighting, one can either weight all of the measured ages equally, or weight them by the proportion of the sample that they represent. For example, if two thirds of the sample was used for the first measurement and one third for the second and final measurement, then one might weight the first measurement twice that of the second.

The arithmetic mean of the age determinations is [math]\displaystyle{ \overline{x} = \frac{\sum_{i=1}^N x_i} N, }[/math] but this value can be misleading, unless each determination of the age is of equal significance.

When each measured value can be assumed to have the same weighting, or significance, the biased and unbiased (or "sample" and "population" respectively) estimators of the variance are computed as follows: [math]\displaystyle{ \sigma^2 = \frac{\sum_{i=1}^N (x_i - \overline{x})^2}N \text{ and } s^2 = \frac{N}{N-1} \cdot \sigma^2 = \frac{1}{N - 1} \cdot \sum_{i=1}^{N} (x_i - \overline{x})^2. }[/math]

The standard deviation is the square root of the variance.

When individual determinations of an age are not of equal significance, it is better to use a weighted mean to obtain an "average" age, as follows: [math]\displaystyle{ \overline{x}^* = \frac{\sum_{i=1}^N w_i x_i}{\sum_{i=1}^N w_i}. }[/math]

The biased weighted estimator of variance can be shown to be [math]\displaystyle{ \sigma^2 = \frac{\sum_{i=1}^N w_i (x_i - \overline{x}^*)^2}{\sum_{i=1}^N w_i}, }[/math] which can be computed as [math]\displaystyle{ \sigma^2 = \frac{\sum_{i=1}^N w_i x_i^2 \cdot \sum_{i=1}^N w_i - \big(\sum_{i=1}^N w_i x_i\big)^2}{\big(\sum_{i=1}^N w_i\big)^2}. }[/math]

The unbiased weighted estimator of the sample variance can be computed as follows: [math]\displaystyle{ s^2 = \frac{\sum_{i=1}^N w_i}{\big(\sum_{i=1}^N w_i\big)^2 - \sum_{i=1}^N w_i^2} \cdot {\sum_{i=1}^N w_i (x_i - \overline{x}^*)^2}. }[/math] Again, the corresponding standard deviation is the square root of the variance.

The unbiased weighted estimator of the sample variance can also be computed on the fly as follows: [math]\displaystyle{ s^2 = \frac{\sum_{i=1}^N w_i x_i^2 \cdot \sum_{i=1}^N w_i - \big(\sum_{i=1}^N w_i x_i\big)^2}{\big(\sum_{i=1}^N w_i\big)^2 - \sum_{i=1}^N w_i^2}. }[/math]

The unweighted mean square of the weighted deviations (unweighted MSWD) can then be computed, as follows: [math]\displaystyle{ \text{MSWD}_u = \frac{1}{N-1} \cdot \sum_{i=1}^N \frac{(x_i - \overline{x})^2}{\sigma_{x_i}^2}. }[/math]

By analogy, the weighted mean square of the weighted deviations (weighted MSWD) can be computed as follows: [math]\displaystyle{ \text{MSWD}_w = \frac{\sum_{i=1}^N w_i}{\big(\sum_{i=1}^N w_i\big)^2 - \sum_{i=1}^N w_i^2 } \cdot \sum_{i=1}^N \frac{w_i (x_i - \overline{x}^*)^2}{(\sigma_{x_i})^2}. }[/math]

### Rasch analysis

In data analysis based on the Rasch model, the reduced chi-squared statistic is called the outfit mean-square statistic, and the information-weighted reduced chi-squared statistic is called the infit mean-square statistic.^{[21]}

## References

- ↑
^{1.0}^{1.1}Wendt, I., and Carl, C., 1991,The statistical distribution of the mean squared weighted deviation, Chemical Geology, 275–285. - ↑ Strang, Gilbert; Borre, Kae (1997) (in en).
*Linear algebra, geodesy, and GPS*. Wellesley-Cambridge Press. pp. 301. ISBN 9780961408862. https://books.google.com/books?id=MjNwWUY8jx4C&pg=PA301. - ↑ Koch, Karl-Rudolf (2013) (in en).
*Parameter Estimation and Hypothesis Testing in Linear Models*. Springer Berlin Heidelberg. Section 3.2.5. ISBN 9783662039762. https://books.google.com/books?id=n3bvCAAAQBAJ&pg=PA162. - ↑ Julian Faraway (2000),
*Practical Regression and Anova using R* - ↑ Kenney, J.; Keeping, E. S. (1963).
*Mathematics of Statistics*. van Nostrand. p. 187. - ↑ Zwillinger, D. (1995).
*Standard Mathematical Tables and Formulae*. Chapman&Hall/CRC. p. 626. ISBN 0-8493-2479-3. - ↑ Hayashi, Fumio (2000).
*Econometrics*. Princeton University Press. ISBN 0-691-01018-8. - ↑
^{8.0}^{8.1}Laub, Charlie; Kuhl, Tonya L. (n.d.),*How Bad is Good? A Critical Look at the Fitting of Reflectivity Models using the Reduced Chi-Square Statistic*, University California, Davis, http://neutrons2.ornl.gov/workshops/sns_hfir_users/posters/Laub_Chi-Square_Data_Fitting.pdf, retrieved 30 May 2015 - ↑ Taylor, John Robert (1997),
*An introduction to error analysis*, University Science Books, p. 268 - ↑ Kirkman, T. W. (n.d.),
*Chi-Square Curve Fitting*, http://www.physics.csbsju.edu/stats/chi_fit.html, retrieved 30 May 2015 - ↑
^{11.0}^{11.1}Bevington, Philip R. (1969),*Data Reduction and Error Analysis for the Physical Sciences*, New York: McGraw-Hill - ↑ Measurements and Their Uncertainties: A Practical Guide to Modern Error Analysis, By Ifan Hughes, Thomas Hase [1]
- ↑ Dealing with Uncertainties: A Guide to Error Analysis, By Manfred Drosg [2]
- ↑ Practical Statistics for Astronomers, By J. V. Wall, C. R. Jenkins
- ↑ Computational Methods in Physics and Engineering, By Samuel Shaw Ming Wong [3]
- ↑ Dickin, A. P. 1995. Radiogenic Isotope Geology. Cambridge University Press, Cambridge, UK, 1995, ISBN 0-521-43151-4, ISBN 0-521-59891-5
- ↑ McDougall, I. and Harrison, T. M. 1988. Geochronology and Thermochronology by the
^{40}Ar/^{39}Ar Method. Oxford University Press. - ↑ Lance P. Black, Sandra L. Kamo, Charlotte M. Allen, John N. Aleinikoff, Donald W. Davis, Russell J. Korsch, Chris Foudoulis 2003. TEMORA 1: a new zircon standard for Phanerozoic U–Pb geochronology. Chemical Geology 200, 155–170.
- ↑ M. J. Streule, R. J. Phillips, M. P. Searle, D. J. Waters and M. S. A. Horstwood 2009. Evolution and chronology of the Pangong Metamorphic Complex adjacent to themodelling and U-Pb geochronology Karakoram Fault, Ladakh: constraints from thermobarometry, metamorphic modelling and U-Pb geochronology. Journal of the Geological Society 166, 919–932 doi:10.1144/0016-76492008-117
- ↑ Roger Powell, Janet Hergt, Jon Woodhead 2002. Improving isochron calculations with robust statistics and the bootstrap. Chemical Geology 185, 191–204.
- ↑ Linacre, J. M. (2002). "What do Infit and Outfit, Mean-square and Standardized mean?".
*Rasch Measurement Transactions***16**(2): 878. https://www.rasch.org/rmt/rmt162f.htm.

Original source: https://en.wikipedia.org/wiki/Reduced chi-squared statistic.
Read more |