Get 95% Confidence Values from Fit Coefficients
21 views (last 30 days)
Show older comments
Hey, I've run a curve fit and have various coefficient outputs. For example:
A = 13.34 (12.37, 14.31)
B = 9.955 (6.182, 13.73)
Any idea how I can save a vector such as:
dA=(12.37, 14.31) and dB=(6.182, 13.73)? Everything is run via my .m file so I don't want to do this by any mouse-commands in a GUI but rather via a command within the .m file. Thanks.
0 Comments
Accepted Answer
Sean de Wolski
on 19 Dec 2011
per comments:
doc confint
will explain how to extract the confidence interval parameters from a fit object.
3 Comments
Sean de Wolski
on 19 Dec 2011
Did you run the curve fit in the curve fit tool (cftool) of the curve fitting toolbox?
More Answers (1)
See Also
Categories
Find more on Linear and Nonlinear Regression in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!