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:
hessndarray, (k_vars, k_vars)

The Hessian, second derivative of loglikelihood function, evaluated at params

Notes

2lnLββ=i=1nλixixi

where the loglinear model is assumed

lnλi=xiβ