Problems with GJR-GARCH/EGARCH estimation with fmincon (sqp)
6 ビュー (過去 30 日間)
古いコメントを表示
Hello everyone,
I was studying the GJR-GARCH and EGARCH models and realized that the Conditional Log-Likelihood function is non-smooth, since the parameters that must be estimated will eventually branch (due to a conditional if statement in the case of a GJR-GARCH model) or lie inside a modulus (in the case of a EGARCH model).
My issue is that the Econometrics Toolbox uses fmincon with the 'sqp' algorithm, which is supposed to be designed for smooth problems. What am I missing, shouldn´t fmincon be inappropriate for the purpose of GJR-GARCH and EGARCH estimation?
Thanks for your help!
Duarte
0 件のコメント
採用された回答
Jordan Ross
2016 年 9 月 23 日
Hi Duarte,
It is true that the log-likelihood surface of GJR and EGARCH are not a globally smooth function like y = x^2.
The situation is somewhat similar to y = abs(sin(x)) * (x<=2).
Is this function differentiable? Well, not globally. At x=0 and x=2, the derivatives are not well defined. However, it is differentiable almost everywhere. At the maximum (say x=pi/2), the function is differentiable. As long as the starting value is very close to that point, a gradient-based optimizer should converge to that point, because the function is concave in a neighborhood around the maximum.
Actually in most of the econometric models estimated by MLE, the likelihood function is complicated and there is no guarantee of convergence. My suggestion is to try many starting values and refine-tune the optimization options, so as to increase the chance of getting a good estimator.
In most cases, our functionalities of GJR-GARCH and EGARCH work well and are useful for volatility forecasting.
As for the default choice of algorithm, 'SQP', it was chosen because it offers a nice blend of accuracy and runtime performance. There have been instances in which other algorithms, such as 'Interior-Point', give better results, but in the vast majority of cases various algorithms provide very similar answers provided the model chosen is a good description of the data generating process.
If you want to use an algorithm other than 'SQP', then the "estimate" methods accepts an optional "Options" input which allows you to change it. Please see the following documentation for how to do so: http://www.mathworks.com/help/econ/cvm.estimate.html
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Conditional Variance Models についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!