# Reduced chi-squared statistic

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

Its square root is called regression standard error, standard error of the regression, or standard error of the equation (see Ordinary least squares#Reduced chi-squared)

## Definition

It is defined as chi-squared per degree of freedom:

$\chi _{\nu }^{2}={\frac {\chi ^{2}}{\nu }},$ where the chi-squared is a weighted sum of squared deviations:

$\chi ^{2}=\sum _{i}{\frac {(O_{i}-C_{i})^{2}}{\sigma _{i}^{2}}}$ with inputs: variance $\sigma _{i}^{2}$ , observations O, and calculated data C. The degree of freedom, $\nu =n-m$ , 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

$\chi ^{2}=r^{\mathrm {T} }Wr,$ where r is the vector of residuals, and W is the weight matrix, the inverse of the input (diagonal) covariance matrix of observations.

## Discussion

As a rule of thumb, when the variance of the measurement error is known a priori, a $\chi _{\nu }^{2}\gg 1$ indicates a poor model fit. A $\chi _{\nu }^{2}>1$ indicates that the fit has not fully captured the data (or that the error variance has been underestimated). In principle, a value of $\chi _{\nu }^{2}=1$ indicates that the extent of the match between observations and estimates is in accord with the error variance. A $\chi _{\nu }^{2}<1$ indicates that the model is "over-fitting" the data: either the model is improperly fitting noise, or the error variance has been overestimated.

When the variance of the measurement error is only partially known, the reduced chi-squared may serve as a correction estimated a posteriori, see weighted arithmetic mean#Correcting for over- or under-dispersion.

## 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.

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 $x_{i}$ having a weighting $w_{i}$ and an associated error $\sigma _{x_{i}}$ 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

${\overline {x}}={\frac {\sum _{i=1}^{N}x_{i}}{N}},$ 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:

$\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 {N}{N^{2}-N}}\cdot \sum _{i=1}^{N}(x_{i}-{\overline {x}})^{2}.$ 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:

${\overline {x}}^{*}={\frac {\sum _{i=1}^{N}w_{i}x_{i}}{\sum _{i=1}^{N}w_{i}}}.$ The biased weighted estimator of variance can be shown to be

$\sigma ^{2}={\frac {\sum _{i=1}^{N}w_{i}(x_{i}-{\overline {x}}^{*})^{2}}{\sum _{i=1}^{N}w_{i}}},$ which can be computed on the fly as

$\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}}}.$ The unbiased weighted estimator of the sample variance can be computed as follows:

$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}}.$ 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:

$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}}}.$ The unweighted mean square of the weighted deviations (unweighted MSWD) can then be computed, as follows:

${\text{MSWD}}_{u}={\frac {1}{N-1}}\cdot \sum _{i=1}^{N}{\frac {(x_{i}-{\overline {x}})^{2}}{\sigma _{x_{i}}^{2}}}.$ By analogy, the weighted mean square of the weighted deviations (weighted MSWD) can be computed as follows:

${\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}}}.$ ### 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.

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.