More complete explanation of how confint works

16 次查看(过去 30 天)
At the bottom of the page for the function confint, under "Tips", it says, "To calculate confidence bounds, confint uses R-1 (the inverse R factor from QR decomposition of the Jacobian), the degrees of freedom for error, and the root mean squared error." I am not a statistician, so I'm hoping someone can show this explicitly. I am doing a simple least squares fit of y = mx+b. If you could please show the calculation of the confidence interval for the slope, m, as explained above and as a Matlab calculation (not just math), I would really appreciate it. Thanks.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Least Squares 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by