How can I calculate the error estimates on the solution for the LSQNONLIN function in from the Optimization Toolbox?

11 views (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 28 Oct 2010
There are no functions in the Optimization Toolbox for obtaining the error estimates on the parameters at the solution. However, the Statistics Toolbox has the functions NLINFIT, NLINTOOL, NLPREDCI, and NLPARCI for calculating confidence intervals on estimates of parameters in nonlinear models.
The function LSQNONLIN does return the Jacobian as the 7th optional output argument. From the Jacobian, you can calculate the error estimates. Refer to a Statistics manual on how to calculate the error from the Jacobian.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!