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