statsmodels.gam.generalized_additive_model.LogitGam.hessian_factor

LogitGam.hessian_factor(params)

Logit model Hessian factor

Parameters:

params (array_like) – The parameters of the model

Returns:

hess – The Hessian factor, second derivative of loglikelihood function with respect to the linear predictor evaluated at params

Return type:

ndarray, (nobs,)