Embedded in this thread are multiple questions. I'm currently im the process of implementing a DCC GARCH forecast model on quantopian (a python-powered trading platform).
The two step consists of first estimating the conditional volatility over time Dt (as canonicalized by Engle). I apply the traditional log-likelihood with the minimize function from scipy package. For 2nd step, it is the same except I run into a bit of ambiguity:
Consider the log-likelihood for the 2nd step L(ϕ|ˆθ)∝∑Tt=1log(|Rt|)+ϵ′tR−1tϵt. The first term evaluates to an N by N matrix while the second term evaluates to a scalar. Thus, the likelihood for each timestep is an N by N matrix. In implementation, only a scalar is expected to be return, do I just sum all the terms in log(|Rt|) when calculating the actual likelihood?
Furthermore, the current time it takes for the minimize function to converge takes too long, any advice on faster estimation techniques is appreciated.
No comments:
Post a Comment