Confidence index of lsqcurvefit?

20 Ansichten (letzte 30 Tage)
Jonathan
Jonathan am 2 Jul. 2012
Hi,
I am using the lsqcurvefit function in a model, and am wondering what the default confidence index is for the coefficients that the lsqcurvefit spits out. ( x = lsqcurvefit(@myFun,x0,x,y,lb,ub,options) I have looked through the options and cannot seem to find something that will give me a confidence index of the coefficients.
Thank you in advance for any help

Akzeptierte Antwort

Star Strider
Star Strider am 2 Jul. 2012
Bearbeitet: Star Strider am 2 Jul. 2012
The output of 'lsqcurvefit' will not give you confidence limits on the estimated parameters. You have to use 'nlparci' to calculate them. (It defaults to 95% confidence limits, but you can change those.) You can also use 'nlpredci' to get confidence intervals on the fitted curve.

Weitere Antworten (0)

Kategorien

Mehr zu Interpolation finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by