Fit parameter statistics using lsqcurvefit?

3 visualizaciones (últimos 30 días)
Dlovinger
Dlovinger el 12 de Oct. de 2017
Editada: Dlovinger el 12 de Oct. de 2017
I'm looking for statistics on a fit to experimental data to ensure that the fit is good and is not overparameterized. Useful statistics would include t-test, F and p-values, covariance matrix, etc. Now, I'm aware that fitting with fitnlm from the statistics toolbox would accomplish this easily. However, after much trial and error, I've found that the routine in fitnlm does not fit my data very well. Using lsqcurvefit gives much better results and is much faster. Putting the final fit parameters from lsqcurvefit into fitnlm using the same model often results in errors and will not fit. At this point, I need to use lsqcurvefit to get accurate results.
Is there a good method for getting relevant fit statistics with lsqcurvefit? If it comes down to it, it it possible to calculate these t, p, and F manually from the outputs of lsqcurvefit?

Respuestas (0)

Categorías

Más información sobre Least Squares en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by