try the following example
Code: Select all
%ex7 = "\Example Files\EV7 Manual Data\"
%ch31 = "Chapter 31 - System Estimation"
%wf = @evpath + %ex7 +%ch31 +"\fx.wf1"
wfopen %wf
system sys01
sys01.append dlog(jy) = c(1)
sys01.append dlog(sf) = c(2)
sys01.append dlog(bp) = c(3)
smpl 1980 2000
freeze(tbdv) sys01.arch(deriv=aa,showopts) @diagvech c(indef) arch(1,indef) garch(1,indef)
freeze(g_cor) sys01.garch(cor) 'correlation typo on the output fig as covariance
the last line, the output figure titled as "conditional covariance", not correlation. however, using point and click, it is fine.