I have a GARCH with an exogenous variable with a delta coefficient. I analysed the maximum likelihood estimation to find the four parameters.
There is somethign wrong.
omega = theta(1,1);
alpha = theta(2,1);
beta = theta(3,1);
delta = theta(4,1);
lb = [0.0000001;
0;
0;
0.0000001];
ub = [1000000;
0.999999;
0.999999;
100000];
A = [0 1 1 0;1 0 0 1];
b = [0.9999999; 0];
What I should do for input = omega + delta >0.
I think this is the problem of the output.
[x,fval,exitflag,output,lambda,grad,hessian] = fmincon('log_lk_GARCHVIX',theta0,A,b,[],[],lb,ub)
The output give me most of parameters equatl to zero and 1 equal to 1.