# Autoregressive Model

An Autoregressive Model is a representation of a random process (e.g. time series) which outcome variable is linear function on its previous values.

## References

### 2016

• (The Pennsylvania State University, 2016) ⇒ The Pennsylvania State University (2016). “Online Course Statistics 501" https://onlinecourses.science.psu.edu/stat501/node/358
• A time series is a sequence of measurements of the same variable(s) made over time. Usually the measurements are made at evenly spaced times - for example, monthly or yearly. Let us first consider the problem in which we have a y-variable measured as a time series. As an example, we might have y a measure of global temperature, with measurements observed each year. To emphasize that we have measured values over time, we use "t" as a subscript rather than the usual "i," i.e., $y_t$ means $y$ measured in time period t. An autoregressive model is when a value from a time series is regressed on previous values from that same time series. for example, $y_t$ on $y_{t−1}$:

$y_t=\beta_0+\beta_1y_t−1+\varepsilon_t$

In this regression model, the response variable in the previous time period has become the predictor and the errors have our usual assumptions about errors in a simple linear regression model. The order of an autoregression is the number of immediately preceding values in the series that are used to predict the value at the present time. So, the preceding model is a first-order autoregression, written as AR(1).

If we want to predict $y$ this year ($y_t$) using measurements of global temperature in the previous two years ($y_{t−1},y_{t−2}$), then the autoregressive model for doing so would be:

$y_t=\beta_0+\beta_1y_{t−1}+\beta_2y_{t−2}+\varepsilon_t.$
This model is a second-order autoregression, written as AR(2), since the value at time tt is predicted from the values at times $t−1$ and $t−2$. More generally, a kth-order autoregression, written as AR(k), is a multiple linear regression in which the value of the series at any time $t$ is a (linear) function of the values at times $t−1,t−2,…,t−k$.

• Definition
The notation $AR(p)$ indicates an autoregressive model of order p. The AR(p) model is defined as
$X_t = c + \sum_{i=1}^p \varphi_i X_{t-i}+ \varepsilon_t \,$
where $\varphi_1, \ldots, \varphi_p$ are the parameters of the model, $c$ is a constant, and $\varepsilon_t$ is white noise. This can be equivalently written using the backshift operator B as
$X_t = c + \sum_{i=1}^p \varphi_i B^i X_t + \varepsilon_t$
so that, moving the summation term to the left side and using polynomial notation, we have
$\phi (B)X_t= c + \varepsilon_t \, .$
An autoregressive model can thus be viewed as the output of an all-pole infinite impulse response filter whose input is white noise.

Some parameter constraints are necessary for the model to remain wide-sense stationary. For example, processes in the AR(1) model with $|\varphi_1 | \geq 1$ are not stationary. More generally, for an AR(p) model to be wide-sense stationary, the roots of the polynomial $\textstyle z^p - \sum_{i=1}^p \varphi_i z^{p-i}$ must lie within the unit circle, i.e., each root $z_i$ must satisfy $|z_i|\lt 1$