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

采纳的回答

Jordan Ross
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 CenterFile Exchange 中查找有关 Conditional Variance Models 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by