statsmodels.discrete.discrete_model.Probit.hessian¶
-
Probit.
hessian
(params)[source]¶ Probit model Hessian matrix of the log-likelihood
- 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∂β∂β′=−λi(λi+x′iβ)xix′iwhere
λi=qiϕ(qix′iβ)Φ(qix′iβ)and q=2y−1