statsmodels.othermod.betareg.BetaModel.hessian#
- BetaModel.hessian(params, observed=None)[source]#
Hessian, second derivative of loglikelihood function
- Parameters:
- params
ndarray Parameter at which Hessian is evaluated.
- observedbool,
optional If True, then the observed Hessian is returned. If False, then the expected information matrix is returned. If None, the default, then the choice is made by the model’s
hess_typeattribute, which is “oim”, i.e. observed, unlessfitwas called withcov_type="eim".
- params
- Returns:
- hessian
ndarray Hessian, i.e., observed information, or expected information matrix.
- hessian