# Homoscedasticity

In statistics, a sequence (or a vector) of random variables is **homoscedastic** /ˌhoʊmoʊskəˈdæstɪk/ if all its random variables have the same finite variance. This is also known as **homogeneity of variance**. The complementary notion is called heteroscedasticity. The spellings *homos kedasticity* and

*heteros*are also frequently used.[1]

**k**edasticityThe assumption of homoscedasticity simplifies mathematical and computational treatment. Serious violations in homoscedasticity (assuming a distribution of data is homoscedastic when in reality it is heteroscedastic /ˌhɛtəroʊskəˈdæstɪk/) may result in overestimating the goodness of fit as measured by the Pearson coefficient.

## Assumptions of a regression model

As used in describing simple linear regression analysis, one assumption of the fitted model (to ensure that the least-squares estimators are each a best linear unbiased estimator of the respective population parameters, by the Gauss–Markov theorem) is that the standard deviations of the error terms are constant and do not depend on the *x*-value. Consequently, each probability distribution for *y* (response variable) has the same standard deviation regardless of the *x*-value (predictor). In short, this assumption is homoscedasticity. Homoscedasticity is not required for the estimates to be unbiased, consistent, and asymptotically normal.[2]

## Testing

Residuals can be tested for homoscedasticity using the Breusch–Pagan test, which performs an auxiliary regression of the squared residuals on the independent variables. From this auxiliary regression, the explained sum of squares is retained, divided by two, and then becomes the test statistic for a chi-squared distribution with the degrees of freedom equal to the number of independent variables. The null hypothesis of this chi-squared test is homoscedasticity, and the alternative hypothesis would indicate heteroscedasticity. Since the Breusch–Pagan test is sensitive to departures from normality or small sample sizes, the Koenker–Bassett or 'generalized Breusch–Pagan' test is commonly used instead. From the auxiliary regression, it retains the R-squared value which is then multiplied by the sample size, and then becomes the test statistic for a chi-squared distribution (and uses the same degrees of freedom). Although it is not necessary for the Koenker–Bassett test, the Breusch–Pagan test requires that the squared residuals also be divided by the residual sum of squares divided by the sample size.[3] Testing for groupwise heteroscedasticity requires the Goldfeld–Quandt test.

## Homoscedastic distributions

Two or more normal distributions, , are homoscedastic if they share a common covariance (or correlation) matrix, . Homoscedastic distributions are especially useful to derive statistical pattern recognition and machine learning algorithms. One popular example is Fisher's linear discriminant analysis.

The concept of homoscedasticity can be applied to distributions on spheres.[4]

## References

- For the Greek etymology of the term, see McCulloch, J. Huston (1985). "On Heteros*edasticity".
*Econometrica*.**53**(2): 483. JSTOR 1911250. - Achen, Christopher H.; Shively, W. Phillips (1995),
*Cross-Level Inference*, University of Chicago Press, pp. 47–48, ISBN 9780226002194. - Pryce, Gwilym. "Heteroscedasticity: Testing and Correcting in SPSS" (PDF). pp. 12–18. Retrieved 26 March 2017.
- Hamsici, Onur C.; Martinez, Aleix M. (2007) "Spherical-Homoscedastic Distributions: The Equivalency of Spherical and Normal Distributions in Classification",
*Journal of Machine Learning Research*, 8, 1583-1623