statsmodels.discrete.discrete_model.Poisson.hessian¶
-
Poisson.
hessian
(params)[source]¶ Poisson model Hessian matrix of the loglikelihood
Parameters: params (array-like) – The parameters of the model Returns: hess – The Hessian, second derivative of loglikelihood function, evaluated at params Return type: ndarray, (k_vars, k_vars) Notes
∂2lnL∂β∂β′=−n∑i=1λixix′iwhere the loglinear model is assumed
lnλi=xiβ