statsmodels.duration.hazard_回归.PHReg.score_残差

PHReg.score_residuals(params)[source]

返回在给定参数向量处计算的得分残差。

Parameters:
paramsndarray

计算得分残差的参数向量。

Returns:
The score residuals, returned as a ndarray having the same
shape as exog.

注释

在没有观察到事件的层中,观测值的得分残差是未定义的,并且在返回的矩阵中包含NaN。


Last update: Oct 16, 2024