based on the codes posted aove, I estimate the following:
Code: Select all
system(model=simplevar)
variables a b
lags 1
det constant
end(system)
garch(p=1,q=1,model=simplevar,mv=cc, pmethod=simplex,piters=20,iters=1000)
In other words, I would like the variance equations to look something like:
"variance_t_a = constant + beta1*variance_t-1_a + beta2*variance_t-1_b + beta3*(error_t-1_a)^2 - beta4*(error_t-1_b)^2"
and
"variance_t_b = constant + beta5*variance_t-1_b + beta6*variance_t-1_a + beta7*(error_t-1_b)^2 - beta8*(error_t-1_a)^2"
How can I do this? Is there any way to do so without coding things manually using the "maximize" command?
I greatly appreciate any help and comment.
Thank you!!!