Box–Jenkins method: Difference between revisions

Content deleted Content added
Importing Wikidata short description: "Method to find best fit of a time-series model" (Shortdesc helper)
wtf was that
 
(6 intermediate revisions by 5 users not shown)
Line 1:
{{Short description|Method to find best fit of a time-series model}}
In [[time series analysis]], the '''Box–Jenkins method,''',<ref>{{cite book |lastlast1=Box |firstfirst1=George |last2=Jenkins |first2=Gwilym |year=1970 |title=Time Series Analysis: Forecasting and Control |url=https://archive.org/details/timeseriesanalys0000boxg |url-access=registration |___location=San Francisco |publisher=Holden-Day }}</ref> named after the [[statistician]]s [[George Box]] and [[Gwilym Jenkins]], applies [[autoregressive moving average]] (ARMA) or [[autoregressive integrated moving average]] (ARIMA) models to find the best fit of a time-series model to past values of a [[time series]].
 
==Modeling approach==
The original model uses an iterative three-stage modeling approach:
 
#''[[Model identification]] and [[model selection]]'': making sure that the variables are [[stationary process|stationary]], identifying [[seasonality]] in the dependent series (seasonally differencing it if necessary), and using plots of the [[autocorrelation|autocorrelation (ACF)]] and [[partial autocorrelation|partial autocorrelation (PACF)]] functions of the dependent time series to decide which (if any) autoregressive or moving average component should be used in the model.
#''[[Parameter estimation]]'' using computation algorithms to arrive at coefficients that best fit the selected ARIMA model. The most common methods use [[maximum likelihood estimation]] or [[non-linear least-squares estimation]].
#''[[Statistical model validation|Statistical model checking]]'' by testing whether the estimated model conforms to the specifications of a stationary univariate process. In particular, the residuals should be independent of each other and constant in mean and variance over time. (Plotting the mean and variance of residuals over time and performing a [[Ljung–Box test]] or plotting autocorrelation and partial autocorrelation of the residuals are helpful to identify misspecification.) If the estimation is inadequate, we have to return to step one and attempt to build a better model.
The data they used were from a gas furnace. These data are well known as the Box and Jenkins gas furnace data for benchmarking predictive models.
 
Commandeur & Koopman (2007, §10.4)<ref>{{cite book |lastlast1=Commandeur |firstfirst1=J. J. F. |last2=Koopman |first2=S. J. |year=2007 |title=Introduction to State Space Time Series Analysis |publisher=[[Oxford University Press]] }}</ref> argue that the Box–Jenkins approach is fundamentally problematic. The problem arises because in "the economic and social fields, real series are never stationary however much differencing is done". Thus the investigator has to face the question: how close to stationary is close enough? As the authors note, "This is a hard question to answer". The authors further argue that rather than using Box–Jenkins, it is better to use state space methods, as stationarity of the time series is then not required.
 
==Box–Jenkins model identification==
Line 18:
 
====Detecting stationarity====
Stationarity can be assessed from a [[run sequence plot]]. The run sequence plot should show constant ___location and [[Scale (ratio)|scale]]. It can also be detected from an [[autocorrelation plot]]. Specifically, non-stationarity is often indicated by an autocorrelation plot with very slow decay. One can also utilize a [[Dickey-Fuller test]] or [[Augmented Dickey-Fuller test]].
 
====Detecting seasonality====
Line 30:
 
===Identify ''p'' and ''q''===
Once stationarity and seasonality have been addressed, the next step is to identify the order (i.e. the ''p'' and ''q'') of the autoregressive and moving average terms. Different authors have different approaches for identifying ''p'' and ''q''. Brockwell and Davis (1991)<ref>{{cite book |lastlast1=Brockwell |firstfirst1=Peter J. |last2=Davis |first2=Richard A. |year=1991 |title=Time Series: Theory and Methods |publisher=Springer-Verlag |page=273|bibcode=1991tstm.book.....B }}</ref> state "our prime criterion for model selection [among ARMA(p,q) models] will be the AICc", i.e. the [[Akaike information criterion]] with correction. Other authors use the autocorrelation plot and the partial autocorrelation plot, described below.
 
====Autocorrelation and partial autocorrelation plots====
Line 70:
|}
 
Hyndman & Athanasopoulos suggest the following:<ref>{{cite webbook|last1=Hyndman|first1=Rob J|last2=Athanasopoulos|first2=George|title=Forecasting: principles and practice|url=https://www.otexts.org/fpp/8/5|access-date=18 May 2015}}</ref>
 
:The data may follow an ARIMA(''p'',''d'',0) model if the ACF and PACF plots of the differenced data show the following patterns:
Line 100:
 
==Further reading==
* {{citation | title= Comparison of Box–Jenkins and objective methods for determining the order of a non-seasonal ARMA model | author1-first= S. | author1-last= Beveridge | author2-first= C. | author2-last= Oickle | journal= [[Journal of Forecasting]] | year= 1994 | volume= 13 | issue= 5 | pages= 419–434 | doi= 10.1002/for.3980130502}}
* {{citation |last=Pankratz |first=Alan |year=1983 |title=Forecasting with Univariate Box–Jenkins Models: Concepts and Cases |publisher= [[John Wiley & Sons]] }}