首页 > 解决方案 > 获取参数估计的置信区间

问题描述

使用cftool拟合的回归线时,默认情况下,它显示参数估计的 95% 置信区间为

Linear model Poly1:
     f(x) = p1*x + p2

Coefficients (with 95% confidence bounds):
   p1 =         ...  (..., ...)
   p2 =         ...  (..., ...)

有没有办法使用这个曲线拟合工具箱获得99%的置信区间?

标签: matlabregressiontostringcurve-fittingconfidence-interval

解决方案


使用对象的confint方法cfit

ci = confint(fitresult, 0.99)

您可能想查看标题为“ Fit Postprocessing ”的文档文章。


推荐阅读