Content deleted Content added
24112437Ying (talk | contribs) |
wtf was that |
||
(39 intermediate revisions by 27 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:
#''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|
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 |last1=Commandeur |first1=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.
==
===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====
Line 29 ⟶ 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
====Autocorrelation and partial autocorrelation plots====
Line 36 ⟶ 37:
Specifically, for an [[AR(1)]] process, the sample autocorrelation function should have an exponentially decreasing appearance. However, higher-order AR processes are often a mixture of exponentially decreasing and damped sinusoidal components.
For higher-order autoregressive processes, the sample autocorrelation needs to be supplemented with a partial autocorrelation plot. The partial autocorrelation of an AR(''p'') process becomes zero at lag ''p''
The autocorrelation function of a [[moving average model|MA(''q'')]] process becomes zero at lag ''q''
The sample partial autocorrelation function is generally not helpful for identifying the order of the moving average process.
Line 53 ⟶ 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 65 ⟶ 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 82 ⟶ 83:
==Box–Jenkins model estimation==
Estimating the parameters for Box–Jenkins models involves numerically approximating the solutions of nonlinear equations. For this reason, it is common to use statistical software designed to handle to the approach – virtually all modern statistical packages feature this capability. The main approaches to fitting Box–Jenkins models are
▲The main approaches to fitting Box–Jenkins models are non-linear least squares and maximum likelihood estimation. Maximum likelihood estimation is generally the preferred technique. The likelihood equations for the full Box–Jenkins model are complicated and are not included here. See (Brockwell and Davis, 1991) for the mathematical details.
==Box–Jenkins model diagnostics==
Line 105 ⟶ 94:
If these assumptions are not satisfied, one needs to fit a more appropriate model. That is, go back to the model identification step and try to develop a better model. Hopefully the analysis of the residuals can provide some clues as to a more appropriate model.
One way to assess if the residuals from the Box–Jenkins model follow the assumptions is to generate [[statistical graphics]] (including an autocorrelation plot) of the residuals. One could also look at the value of the [[
==References==
{{Reflist}}
==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}}
* {{
==External links==
* [https://web.archive.org/web/20070318000551/http://statistik.mathematik.uni-wuerzburg.de/timeseries/ A First Course on Time Series Analysis]
* [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
* [http://support.sas.com/resources/papers/proceedings13/454-2013.pdf The Box–Jenkins methodology for time series models] by Theresa Hoang Diem Ngo
{{NIST-PD}}
{{Authority control}}
{{DEFAULTSORT:Box-Jenkins}}
[[Category:Time series
|