Breusch–Godfrey Test
   HOME

TheInfoList



OR:

In
statistics Statistics (from German language, German: ''wikt:Statistik#German, Statistik'', "description of a State (polity), state, a country") is the discipline that concerns the collection, organization, analysis, interpretation, and presentation of ...
, the Breusch–Godfrey test is used to assess the validity of some of the modelling assumptions inherent in applying regression-like models to observed data series. In particular, it
tests Test(s), testing, or TEST may refer to: * Test (assessment), an educational assessment intended to measure the respondents' knowledge or other abilities Arts and entertainment * ''Test'' (2013 film), an American film * ''Test'' (2014 film), ...
for the presence of serial correlation that has not been included in a proposed model structure and which, if present, would mean that incorrect conclusions would be drawn from other tests or that sub-optimal estimates of model parameters would be obtained. The regression models to which the test can be applied include cases where lagged values of the dependent variables are used as
independent variables Dependent and independent variables are variables in mathematical modeling, statistical modeling and experimental sciences. Dependent variables receive this name because, in an experiment, their values are studied under the supposition or demand ...
in the model's representation for later observations. This type of structure is common in
econometric models Econometric models are statistical models used in econometrics. An econometric model specifies the statistical relationship that is believed to hold between the various economic quantities pertaining to a particular economic phenomenon. An econome ...
. The test is named after
Trevor S. Breusch Trevor Stanley Breusch (born c. 1953) is an Australian econometrician and was until his retirement Professor of Econometrics and Deputy Director of Crawford School of Public Policy at the Australian National University. He is noted for the Bre ...
and
Leslie G. Godfrey Leslie George Godfrey (born 1946) is a British econometrician Econometrics is the application of statistical methods to economic data in order to give empirical content to economic relationships. M. Hashem Pesaran (1987). "Econometrics," ' ...
.


Background

The Breusch–Godfrey test is a test for
autocorrelation Autocorrelation, sometimes known as serial correlation in the discrete time case, is the correlation of a signal with a delayed copy of itself as a function of delay. Informally, it is the similarity between observations of a random variable ...
in the errors in a regression model. It makes use of the residuals from the model being considered in a regression analysis, and a test statistic is derived from these. The null hypothesis is that there is no serial correlation of any order up to ''p''. Because the test is based on the idea of Lagrange multiplier testing, it is sometimes referred to as an LM test for serial correlation. A similar assessment can be also carried out with the Durbin–Watson test and the Ljung–Box test. However, the test is more general than that using the Durbin–Watson statistic (or Durbin's ''h'' statistic), which is only valid for nonstochastic regressors and for testing the possibility of a first-order autoregressive model (e.g. AR(1)) for the regression errors. The BG test has none of these restrictions, and is statistically more powerful than Durbin's ''h'' statistic.


Procedure

Consider a
linear regression In statistics, linear regression is a linear approach for modelling the relationship between a scalar response and one or more explanatory variables (also known as dependent and independent variables). The case of one explanatory variable is call ...
of any form, for example :Y_t = \beta_1+ \beta_2 X_ + \beta_3 X_ + u_t \, where the errors might follow an AR(''p'') autoregressive scheme, as follows: :u_t = \rho_1 u_ + \rho_2 u_ + \cdots + \rho_p u_ + \varepsilon_t. \, The simple regression model is first fitted by
ordinary least squares In statistics, ordinary least squares (OLS) is a type of linear least squares method for choosing the unknown parameters in a linear regression model (with fixed level-one effects of a linear function of a set of explanatory variables) by the prin ...
to obtain a set of sample residuals \hat_t. Breusch and Godfrey proved that, if the following auxiliary regression model is fitted : \hat_t = \alpha_0 + \alpha_1 X_ + \alpha_2 X_ + \rho_1 \hat_ + \rho_2 \hat_ + \cdots + \rho_p \hat_ + \varepsilon_t \, and if the usual
Coefficient of determination In statistics, the coefficient of determination, denoted ''R''2 or ''r''2 and pronounced "R squared", is the proportion of the variation in the dependent variable that is predictable from the independent variable(s). It is a statistic used i ...
(R^2 statistic) is calculated for this model: : R^2 := \frac , where \bar stands for the
arithmetic mean In mathematics and statistics, the arithmetic mean ( ) or arithmetic average, or just the ''mean'' or the ''average'' (when the context is clear), is the sum of a collection of numbers divided by the count of numbers in the collection. The colle ...
over the last n samples. With n=T-p number of data-points available for the second regression \hat_t, where T is the total number of observations. Note that the value of n depends on the number of lags of the error term (p ). Then the following
asymptotic approximation In mathematical analysis, asymptotic analysis, also known as asymptotics, is a method of describing limiting behavior. As an illustration, suppose that we are interested in the properties of a function as becomes very large. If , then as beco ...
can be used for the distribution of the test statistic : n R^2\,\sim\,\chi^2_p, \, when the null hypothesis holds (that is, there is no serial correlation of any order up to ''p''). Here ''n'' is


Software

* In R, this test is performed by function bgtest, available in package lmtest. * In
Stata Stata (, , alternatively , occasionally stylized as STATA) is a general-purpose statistical software package developed by StataCorp for data manipulation, visualization, statistics, and automated reporting. It is used by researchers in many fie ...
, this test is performed by the command estat bgodfrey. * In
SAS SAS or Sas may refer to: Arts, entertainment, and media * ''SAS'' (novel series), a French book series by Gérard de Villiers * ''Shimmer and Shine'', an American animated children's television series * Southern All Stars, a Japanese rock ba ...
, the GODFREY option of the MODEL statement in PROC AUTOREG provides a version of this test. * In Python Statsmodels, the acorr_breusch_godfrey function in the module statsmodels.stats.diagnostic * In EViews, this test is already done after a regression, at "View" → "Residual Diagnostics" → "Serial Correlation LM Test". * In Julia, the ''BreuschGodfreyTest'' function is available in the ''HypothesisTests'' package. * In gretl, this test can be obtained via the modtest command, or under the "Test" → "Autocorrelation" menu entry in the GUI client.


See also

*
Breusch–Pagan test In statistics, the Breusch–Pagan test, developed in 1979 by Trevor Breusch and Adrian Pagan, is used to test for heteroskedasticity in a linear regression model. It was independently suggested with some extension by R. Dennis Cook and Sanf ...
* Durbin–Watson test * Ljung–Box test * Autoregressive-moving-average model


References


Further reading

* * * {{DEFAULTSORT:Breusch-Godfrey Test Statistical tests Regression diagnostics Regression with time series structure