Uncertainties and confidence intervals for both linear and nonlinear regression
Show older comments
Hi,
I want to know if there exists a Matlab function that computes the uncertainty in the slope for a linear regression and its confidence interval.
Besides, I'm working with nonlinear regression (using nlinfit). I know that nlparci provides the confidence interval of each estimated parameter but how can I compute the uncertainty of such parameters?
Thanks in advance.
1 Comment
Tao Sympoh
on 10 Dec 2018
Hi Efren,
Finding out the uncertaity of slope and intercept in a linear regression using least-sqaure fitting is a solved problem. You can check this link for some detail: https://www.chem.utoronto.ca/coursenotes/analsci/stats/ErrRegr.html
It is in fact a problem of error propagation from the uncertainty of data to that of the parameters.
Hope this helps!
Accepted Answer
More Answers (0)
Categories
Find more on Resampling Techniques 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!