dear Tom
how can i get the IRF from the VARMA model
may you give me an example?
thank you very very much
TomDoan wrote:How do you have the VARMA model represented? State space form or linear equations with residuals?
dec vect[rect] psi(nsteps)
compute psi(1)=%identity(n)
do i=1,nsteps-1
if i<=q
compute psi(i+1)=theta(i)*psi(1)
else
compute psi(i+1)=%zeros(n,n)
do j=1,%imin(p,i)
compute psi(i+1)=psi(i+1)+phi(j)*psi(i+1-j)
end do j
end do iReturn to Other Time Series Analysis
Users browsing this forum: No registered users and 2 guests