Seaborn回归图中背景面积是什么意思? [英] What does the background area mean in seaborn regression plot?

查看:47
本文介绍了Seaborn回归图中背景面积是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用seaborn时,蓝色背景是什么意思或在回归图中确定的是什么?是什么决定了其两端的宽度?

解决方案

根据 seaborn文档,该区域代表了置信区间.可以通过ci参数设置:

<块引用>

回归估计的置信区间大小.这会在回归线周围使用半透明带绘制.这置信区间是使用自举估算的;对于大建议您通过设置此参数为 None

对于置信区间的统计意义,我建议你维基百科定义:><块引用>

置信区间表示总体参数的值其中参数与观测值之间的差异估计在 10% 的水平上不具有统计显着性

严格来说,新样本落入置信区间的可能性为95%(使用95%作为默认值).实际上,置信区间表示与数据分散相关的预测误差.

What does the background in blue mean or determine in the regression plot when using seaborn? What determines its width at both ends?

解决方案

According to seaborn documentation, that area rappresents the confidence interval. You can set it through the ci parameter:

Size of the confidence interval for the regression estimate. This will be drawn using translucent bands around the regression line. The confidence interval is estimated using a bootstrap; for large datasets, it may be advisable to avoid that computation by setting this parameter to None

For the statistical meaning of confidence interval, I suggest you the wikipedia definition:

The confidence interval represents values for the population parameter for which the difference between the parameter and the observed estimate is not statistically significant at the 10% level

Strictly speaking, there is 95% of probability (seaborn uses 95% as default value) that a new sample falls in the confidence interval. In practice, the confidence interval indicates the forecast error associated with data dispersion.

这篇关于Seaborn回归图中背景面积是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆