What does the background area mean in seaborn regression plot?

寵の児 提交于 2020-07-21 03:47:25

问题


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


回答1:


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.



来源:https://stackoverflow.com/questions/62167783/what-does-the-background-area-mean-in-seaborn-regression-plot

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!