statsmodels.discrete.discrete_model.LogitResults.resid_pearson

LogitResults.resid_pearson

皮尔逊残差

注释

皮尔逊残差定义为

\[r_j = \frac{(y - M_jp_j)}{\sqrt{M_jp_j(1-p_j)}}\]

其中 \(p_j=cdf(X\beta)\)\(M_j\) 是共享协变量模式 \(j\) 的观测总数。

目前 \(M_j\) 总是设置为 1。


Last update: Oct 16, 2024