How to add constraints to the constant in GARCH model?
5 views (last 30 days)
Show older comments
Hi guys! I wish to create a GARCH(1,1) model with a constraint on the constant, take the constraint w = (1-alpha-belta) * 0.8 as an example. I tried to use
Mdl = garch('GARCHLags',1,'ARCHLags',1,'Offset',NaN);
but I do not know how to specify the constraint on the constant.
Could anybody help me? Thank you!
0 Comments
Answers (1)
Karanjot
on 6 Oct 2023
Hi Wenjing,
I understand that you want to learn more about constraints for GARCH (Generalized Autoregressive Conditional Heteroskedasticity) models.
The ‘estimate’ function maximizes the loglikelihood function using ‘fmincon’ from the Optimization Toolbox. ‘fmincon’ has many optimization options, such as choice of optimization algorithm and constraint violation tolerance.
The numeric optimization function ‘fmincon’ further supports inequality constraints. Since the constraints are linear, they can be represented in a matrix form, such as A * x < b. If the parameters are stacked in the [‘constant’, ‘garch’, ‘arch’] format, then the constraints can be formulated as follows:
A = [0 1 1];
b = 1;
lb = [0 0 0];
The constrained optimization can be executed using the below syntax:
fmincon(fun,x0,A,b,[],[],lb,[],[],options);
where the empty matrix ‘[]’ indicates non-existing constraints of other types.
To learn more about constraints for GARCH models, please refer to the below documentation:
I hope this helps!
0 Comments
See Also
Categories
Find more on Conditional Variance Models in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!