I am trying to estimate co-variance of two time series using range based EWMA proposed by Harris & Yilmaz(2010) (Estimation of the conditional variance–covariance matrix of returns using the intraday range).
Here first I have calculated the range-based variance of both the time series as follows
Code: Select all
set range = (1/4*log(2))*(PH-PL)^2+(PO-PC{1})^2
esmooth(alpha=0.06,smoothed=ewmarange) range Code: Select all
ret = log(PC/PC{1})
retsqr = ret^2
esmooth(alpha=0.06,smoothed=ewmaret) retsqrAnd in the final step, the return co-variance of the two time series will be estimated using the cov ewma. Is it possible in RATS to estimate the covariance using ewma with predefined alpha(in this case 0.06)? In the GARCHMV.RPF example, the for MV=ewma, the alpha is also estimated.
Can you please explain how to estimate it.