Re: M-GARCH-M in GARCH Wizard
Posted: Mon Mar 09, 2015 11:56 am
It's sometimes a bad idea to copy code from a user's question. In:
equation mkteq mkt
# constant dy hhs(1,1) hhs(1,2) hhs(2,1) hhs(2,2)
equation iaeq ia
# constant dy hhs(1,1) hhs(1,2) hhs(2,1) hhs(2,2)
hhs(1,2) and hhs(2,1) are, by construction, identical so you can't use them both and have nothing to test. The correct set up for an "M" model that includes all the variances and covariances is:
equation mkteq mkt
# constant dy hhs(1,1) hhs(1,2) hhs(2,2)
equation iaeq ia
# constant dy hhs(1,1) hhs(1,2) hhs(2,2)
What would a11=a12 be testing?
You can export the variances/covariances quite simply as
open copy mygarchcovariances.xls
copy(format=xls,org=columns) / hhs
You can construct the correlations within RATS, but you can do it just as easily from the covariances in whatever the target application is for those.
equation mkteq mkt
# constant dy hhs(1,1) hhs(1,2) hhs(2,1) hhs(2,2)
equation iaeq ia
# constant dy hhs(1,1) hhs(1,2) hhs(2,1) hhs(2,2)
hhs(1,2) and hhs(2,1) are, by construction, identical so you can't use them both and have nothing to test. The correct set up for an "M" model that includes all the variances and covariances is:
equation mkteq mkt
# constant dy hhs(1,1) hhs(1,2) hhs(2,2)
equation iaeq ia
# constant dy hhs(1,1) hhs(1,2) hhs(2,2)
What would a11=a12 be testing?
You can export the variances/covariances quite simply as
open copy mygarchcovariances.xls
copy(format=xls,org=columns) / hhs
You can construct the correlations within RATS, but you can do it just as easily from the covariances in whatever the target application is for those.