Skip to main content

Autoregressive Model (AR)

Given a time series x1,โ€ฆ,xtx_1, \ldots, x_t, a pp-th order autoregressive model (denoted AR(pp)) is defined as a linear function of the input series xx:

xt=โˆ‘i=1paixtโˆ’i+etx_t = \sum_{i=1}^p a_i x_{t-i} + e_t

where {ai}\{a_i\} are the model coefficients and the series {et}\{e_t\} can represent either a controlled external input or noise. Note that the expression

โˆ‘i=1paixtโˆ’i=a1xtโˆ’1+a2xtโˆ’2+โ‹ฏ+apxtโˆ’p\sum_{i=1}^p a_i x_{t-i} = a_1 x_{t-1} + a_2 x_{t-2} + \cdots + a_p x_{t-p}

describes a convolution filter. We can implement AR(pp) using either a feedforward neural network with a rolling window or a convolutional network on the entire series.