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 Center 和 File Exchange 中查找有关 Least Squares 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!