Fitting with nlinfit
3 ビュー (過去 30 日間)
古いコメントを表示
Hi
I am fitting a function to some data using nlinfit in the following way
[b, r, J, COVB, mse] = nlinfit(v(:, 1), v(:, 2), model, b1, statset('Display','iter'));
My problem is that I want to find the uncertainties on the fitted parameters given in b1. Is it correct that the uncertainties on the final parameters in "b" are simply the square root of the diagonal elements of COVB?
Thanks in advance.
Best, Niles.
0 件のコメント
回答 (1 件)
the cyclist
2012 年 6 月 21 日
Yes. The diagonal elements of COVB are the (estimated) variances of each coefficient distribution, and their square roots are the standard deviations. So, assuming by "uncertainty" you mean one standard deviation, then you are correct.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Regression についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!