- Ljung-Box test
In
statistics , there are a large number of tests ofrandomness . The Ljung-Box test is a type ofstatistical test of whether any of a group ofautocorrelation s of atime series are different from zero. Instead of testing randomness at each distinctlag , it tests the "overall" randomness based on a number of lags, and is therefore aportmanteau test .Formal definition
The Ljung-Box test can be defined as follows.:H0: The data are random.:Ha: The data are not random.
The test statistic is::where "n" is the sample size, is the sample autocorrelation at lag "j", and "h" is the number of lags being tested. For
significance level α, thecritical region for rejection of the hypothesis of randomness is rejected if:where is the α-quantile of thechi-square distribution with "h" degrees of freedom. The Ljung-Box test is commonly used inAutoregressive integrated moving average (ARIMA) modeling. Note that it is applied to the residuals of a fitted ARIMA model, not the original series.ee also
* the general term "
Portmanteau test "
* the obsoleteBox-Pierce test
* theWald-Wolfowitz runs test References
*cite article
title = On a Measure of a Lack of Fit in Time Series Models
author = G. M. Ljung
coauthors = G. E. P. Box
journal = Biometrika
year = 1978
volume = 65
pages=297-303
*cite book
title = Introduction to Time Series and Forecasting
edition = 2nd. Ed.
author= Peter Brockwell
coauthors=Richard Davis
publisher=Springer
year=2002
pages= 36
Wikimedia Foundation. 2010.