statsmodels.discrete.discrete_model.Probit.hessian

Probit.hessian(params)[source]

Probit model Hessian matrix of the log-likelihood

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ββ=λi(λi+xiβ)xixi

where

λi=qiϕ(qixiβ)Φ(qixiβ)

and q=2y1