Fitting success estimator from lsqcurvefit.m
1 回表示 (過去 30 日間)
古いコメントを表示
lsqcurvefit.m is attractive relative to nlinfit.m because of its support for ranges associated with the initial conditions / parameter estimates. nlinfit.m has a nice feature which is the output of a fitting success estimator which is the variance of the error term - the MSE.
The question is how can one programmatically collect or compute an MSE-like, goodness-of-fit estimator from the lsqcurvefit.m call? How can one know whether the fit operation failed, or converged on reasonable coefficient estimates in a programmatic sense?
Note that we are collecting all possible outputs produced by the lsqcurvefit.m function call: X, RESNORM, RESIDUAL, EXITFLAG, OUTPUT, LAMBDA, JACOBIAN
Note also that a contributor has suggested that certain outputs of the lsqcurvefit.m can be used as follows:
conf = nlparci(X, RESIDUAL, 'jacobian', JACOBIAN)
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Get Started with Curve Fitting Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!