statsmodels.discrete.truncated_model.HurdleCountModel.score_obs#

HurdleCountModel.score_obs(params)[source]#

Hurdle model score (gradient) vector of the log-likelihood.

Parameters:
paramsarray_like

The parameters of the model

Returns:
score_obsndarray, 2-D

The derivative of the log-likelihood for each observation, evaluated at params, with shape (nobs, k_params).