Content deleted Content added
→Stationarity and seasonality: For knowledge Tags: Mobile edit Mobile web edit |
wtf was that |
||
(17 intermediate revisions by 13 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
==Modeling approach==
The original model uses an iterative three-stage modeling approach:
#''
#''[[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|
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 |
==Box–Jenkins model identification==
===Stationarity and seasonality===
The first step in developing a Box–Jenkins model is to determine
====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====
Seasonality (or periodicity) can usually be assessed from an autocorrelation plot, a [[seasonal subseries plot]], or a [[spectral plot]].
====Differencing to achieve stationarity====
Box and Jenkins recommend the differencing approach to achieve stationarity. However, [[curve fitting|fitting a curve]] and subtracting the fitted values from the original data can also be used in the context of Box–Jenkins models.
====Seasonal differencing====
At the model identification stage, the goal is to detect seasonality, if it exists, and to identify the order for the seasonal autoregressive and seasonal moving average terms. For many series, the period is known and a single seasonality term is sufficient. For example, for monthly data one would typically include either a seasonal AR 12 term or a seasonal MA 12 term. For Box–Jenkins models, one does not explicitly remove seasonality before fitting the model. Instead, one includes the order of the seasonal terms in the model specification to the [[ARIMA]] estimation software. However, it may be helpful to apply a seasonal difference to the data and regenerate the autocorrelation and partial autocorrelation plots. This may help in the model identification of the non-seasonal component of the model. In some cases, the seasonal differencing may remove most or all of the seasonality effect.
===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 |
====Autocorrelation and partial autocorrelation plots====
Line 55 ⟶ 54:
| Autoregressive model. Use the partial autocorrelation plot to help identify the order.
|-
! One or more spikes, rest are essentially zero (or close to zero)
| [[Moving average model]], order identified by where plot becomes zero.
|-
Line 67 ⟶ 66:
| Include seasonal autoregressive term.
|-
! No decay to zero (or it decays extremely slowly)
| Series is not stationary.
|}
Hyndman & Athanasopoulos suggest the following:<ref>{{cite
: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 101 ⟶ 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=
* {{citation |last=Pankratz |first=Alan |year=1983 |title=Forecasting with Univariate Box–Jenkins Models: Concepts and Cases |publisher= [[John Wiley & Sons]] }}
==External links==
* [https://web.archive.org/web/20070318000551/http://statistik.mathematik.uni-wuerzburg.de/timeseries/ A First Course on Time Series Analysis] – an open source book on time series analysis with SAS (Chapter 7)
* [http://www.itl.nist.gov/div898/handbook/pmc/section4/pmc445.htm Box–Jenkins models] in the Engineering Statistics Handbook of [[NIST]]
* [http://robjhyndman.com/papers/BoxJenkins.pdf Box–Jenkins modelling] by Rob J Hyndman
Line 111 ⟶ 110:
{{NIST-PD}}
{{Authority control}}
{{DEFAULTSORT:Box-Jenkins}}
|