Understanding Parameter Errors in fitnlm
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Steven Sagona
am 13 Jul. 2018
Kommentiert: Jeff Miller
am 14 Jul. 2018
Following this question , I have some noisy data that I wish to fit to a sinusoid with some phase. I use fitnlm to perform this fit, and I'm interested in knowing how to find the error of the fit. I see that the output automatically calculates the standard error, but I can't find any documentation on what exactly this means. Is this the reduced chi^2? (And if so, isn't reduced chi^2 not accurate an accurate measurement of error for nonlinear models?)
0 Kommentare
Akzeptierte Antwort
Jeff Miller
am 14 Jul. 2018
And I think Torsten's suggestion for bounding will also work for bounding frequency between 40 & 50:
boundedfreq = 40 + mod(unboundedfreq,10);
2 Kommentare
Jeff Miller
am 14 Jul. 2018
Regarding standard error--no, I misunderstood your question. The standard error in the "Coefficients" table is what you would use for error bars for the estimator (i.e., if you wanted an error bar of one standard error). Note also that the NonLinearModel class has a method "coefCI" that you can use to compute confidence intervals for the coefficient estimates, if you want your error bars to reflect a confidence interval.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Nonlinear Regression 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!