Trivariate VAR-GARCH model

Discussions of ARCH, GARCH, and related models
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: Trivariate VAR-GARCH model

Unread post by TomDoan »

prashantj wrote:Thanks Tom, When I test for standardized resiudals using the following syntax,
dec vect[series] stdresids(3)
do i=1,3
set stdresids(i) = ([vector] stdr=inv(%decomp(h(t)))*r(t)),stdr(i)
end do i

But I got the following message:
## MAT15. Subscripts Too Large or Non-Positive
Error was evaluating entry 1484
The Error Occurred At Location 0109 of loop/block
Line 2 of loop/block

I wish to get standardized residuals seperately for four series under consideration. So I replace 3 with 4 and run the syntax but the message is the same. Kindly help me out.
Change that to:

Code: Select all

dec vect[series] stdresids(3)
do i=1,3
   set stdresids(i) %regstart() %regend() = ([vector] stdr=inv(%decomp(h(t)))*r(t)),stdr(i)
end do i
Note that these are standardized by Cholesky factorization, so they are (theoretically) unit variance, uncorrelated series. However, a different order of factorization would create a different set of standardized series. Thus these are not "the" standardized residuals, but "a" set of standardized residuals.
Post Reply