Inputs:
y, X,
q, τ
Set ϕ(0) = 0𝖳, ε(0) = 0.
Given ϕ(j−1), ε(j−1), let
-
Using QR, fit the regression model , for i ∈ {q + 1, …, n}.
Let ϕ(j) be the estimated AR row vector.
Repeat steps 2 and 3 until ϕ(j) and converge to steady-state solutions ϕ and βτ, respectively. Return βτ as the final coefficient vector and ϕ as the final AR model coefficient vector.
|