Skip to content

Commit 066b1db

Browse files
authored
Fix AR equations and reword page (#123)
1 parent d0157f9 commit 066b1db

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

website/docs/classic-time-series-models/autoregressive-model.md

+10-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,16 @@
22
title: Autoregressive Model (AR)
33
slug: /autoregressive
44
---
5-
Assume we are given a time series $$x_1,\cdots, x_t$$, P-th order autoregressive (AR (P)) models the output as a linear function of the input series
5+
Assume we are given a time series $x_1,\ldots,x_t$, a $P$-th order autoregressive model (denoted AR(P)) is defined as a linear function of the input series $x$:
66

7-
$x_t = \sum_{i=1}^P a_i x_{t-i} + e_t$
7+
$$
8+
x_t = \sum_{i=1}^P a_i x_{t-i} + e_t
9+
$$
810

9-
where $\{a_i]}$ are the coefficients. The series $\{e_t\}$ can represent either a controlled external input or noise.
11+
where $\{a_i\}$ are the model coefficients. The series $\{e_t\}$ can represent either a controlled external input or noise. Note that:
1012

11-
Note that the equation $\sum_{i=1}^p$ a_i x_{t-i} = a_1x_{t-1} + a_2x_{t-2}+\cdots + \cdots + a_Px_{t-P}$ describes a convolution filter. We can implement AR(P) using either a feedforward neural networks with rolling window or a convolutional network on the entire series.
13+
$$
14+
\sum_{i=1}^P a_i x_{t-i} = a_1x_{t-1} + a_2x_{t-2} + \cdots + a_Px_{t-P}
15+
$$
16+
17+
describes a convolution filter. We can implement AR(P) using either a feedforward neural network with a rolling window or a convolutional network on the entire series.

0 commit comments

Comments
 (0)