January 1st, 2005, 4:54 am
Hi,I am trying to estimate the parameters of the Garch option pricing model using fmincon.This is complicated by using the Monte Carlo to simulate the stock path till maturity.I have a function that returns the sum of error squared between the actual option price and the estimated price.There are 3 variables , and all must be +ve, also I have the following inequality ,x(3)+x(2)+x(2)*C < 1The function have been tested with parameters is DUAN paper and it gave the same result, So the function is working. But when I start with different initial parameter values it fails to converge with the following error:fmincon (npsol): Possible error. Solver information for Inform = 1:Optimal solution found but not to requested accuracyAny ideas how to setup fmincon would be greatly appreciated !!!Thanks