简体   繁体   English

Python中statsmodels线性回归中的obs置信区间是什么

[英]What does obs confidence interval in statsmodels linear regression in Python

Once you run the regression model with the module 'statsmodels' in Python, you can get the prediction with these confidence intervals: mean_ci_lower mean_ci_upper obs_ci_lower obs_ci_upper在 Python 中使用模块“statsmodels”运行回归模型后,您可以获得具有以下置信区间的预测:mean_ci_lower mean_ci_upper obs_ci_lower obs_ci_upper

I know what mean_ci means but I have no idea what obs stands for.我知道 mean_ci 是什么意思,但我不知道 obs 代表什么。

obs_ci is the prediction interval, ie a confidence interval for a new observation. obs_ci是预测区间,即新观察的置信区间。

It combines the uncertainty about the mean estimate with the randomness of a new observation for given mean.它结合了均值估计的不确定性和给定均值的新观测值的随机性。 It assumes that residuals are distributed close to normal distribution, uses either normal or t distribution for the prediction interval and is therefore only approximate.它假设残差分布接近正态分布,对预测区间使用正态分布或 t 分布,因此只是近似值。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM