Multivariate Ljung-Box tests
Dear Tom,
I use a BEKK model in my research, after estimating, I want to make sure my model was proper specified, so I applied multivariate Ljung-Box tests for both residuals for mean equation and squared residuals for variance equation. My codes are
Since the entire residual vector needs to be standardized, I want to make sure that I make it right.
Also, the user guide says that the results will be different if I choose a different facrorization. I want to know what other facrorizations I can choose.
I appreciate that your kindly help.
I use a BEKK model in my research, after estimating, I want to make sure my model was proper specified, so I applied multivariate Ljung-Box tests for both residuals for mean equation and squared residuals for variance equation. My codes are
- Code: Select all
dec vect[series] zu(%nvar)
do time=%regstart(),%regend()
compute %pt(zu,time,%solve(%decomp(hh(time)),rd(time)))
end do time
set z1s = (zu(1))**2
set z2s = (zu(2))**2
set z3s = (zu(3))**2
@mvqstat(lags=6)
# z1s z2s z3s
Since the entire residual vector needs to be standardized, I want to make sure that I make it right.
Also, the user guide says that the results will be different if I choose a different facrorization. I want to know what other facrorizations I can choose.
I appreciate that your kindly help.