利用mgarch的一些功能,就能算出 hedgeratio.
R.t represents the conditional correlation matrix.
S.t represents the conditional covariance matrix.
sigma.t represents the conditional standard deviation sequence.
利用R.t算或S.t算都可以,结果是相同的.
hp.ibm = seriesMerge(hp.s, ibm.s)
hp.ibm.bekk = mgarch(hp.ibm~1, ~bekk(1,1))
hp.ibm.bekk$sigma.t
hp.ibm.bekk$R.t
hp.ibm.bekk$S.t