필터 지우기
필터 지우기

How to add constraints to the constant in GARCH model?

조회 수: 3 (최근 30일)
Wenjing Fan
Wenjing Fan 2022년 1월 24일
답변: Karanjot 2023년 10월 6일
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!

답변 (1개)

Karanjot
Karanjot 2023년 10월 6일
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!

카테고리

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