statsmodels.discrete.truncated_model.TruncatedNegativeBinomialResults.resid¶ TruncatedNegativeBinomialResults.resid¶ 残差 注释 计数模型的残差定义为 \[y - p\] 其中 \(p = \exp(X\beta)\)。任何暴露和偏移变量也会被处理。 Last update: Oct 16, 2024