Hello everybody!
I have a set of experimental data from biaxial tensile tests which is stress and stretch for 2 axes (stress1, lamda1 and stress2, lamda2). I am trying to fit a model that is shown the Four_Fiber_Family_model.m. Briefly it is a model that calculates stress1 as a function of lamda1 and lamda2, and stress2 as a function of lamda1 and lamda2 again. This model has 8 parameters. I use fminsearch to fit the model in the Main_code_fitting.m. The objective function i minimize is s simple sum of squares function described in Objective_Func.m.
The problem is this:
It seems like the model "overfits" the data.
I would expext something like this (continuus smooth curve - as a model function should be):
but i get this:
Both of these images are from the same data sets, using the same mathematical model, same objective function etc. The only difference is the initial parameter guess.
In the first case it is : [1.1e-14, 152, 6.6e-19, 179.7, 2.3, 7.9e-20, 0.0003, 1.55]
In the second case it is : [15, 1, 1, 1, 0.5, 1, 1, deg2rad(55)]
It is not the fitting quality that concerns me, buth rather the fact that a different set of initial parameters can have that effect on the fitted curve. I am attatching a zoomed in version of the second image:
Even when i get rid of the multiple data points in y axis for the same value of x axis, this behavior is still present:
You can see that it follows the data in an unnatural way.
Has anybody seen that again? Do you have any suggestion on how to deal with it? How is it possible for the fitting to behave so differently in this way, by changing the initial parameters only?
Thanks in advance! Any help would be appreciated!!
P.S. I am attatching the code, the functions and 2 sets of data ("sample_anastasia.xls" and "130L-130C.xls") for anybody that is willing to play with it.