Professional Documents
Culture Documents
The
difference is that in regression the variable of interest is regressed onto a linear function of other
known (explanatory) variables, whereas here X t is expressed as a linear function of its own past
values thus the description "autoregressive". As the values of X t at p previous times are
involved in the model, it is said to be an AR(p) model.
Now we need to calculate the parameters i for prediction. There are two such methods: least
squares estimation and maximum likelihood estimation (MLE).
To calculate the least squares estimators, we need to minimize following expression (here we
let p=2):
N
(X
t 1
1 X t 1 2 X t 2 ) 2
(15)
with respect to 1 and 2 . But since we do not have the information for t=1 or t=2, an
assumption is made here that X1 and X2 are fixed, and excluding the first two terms from the sum
of squares. That is, to minimize
N
(X
t 3
1 X t 1 2 X t 2 ) 2
f ( X 1 , X 2 ,..., X N ) f (X t | X t 1 )
(16)
t 1