- BetaModel.score_hessian_factor(params, return_hessian=False, observed=True)¶
Derivatives of loglikelihood function w.r.t. linear predictors.
This calculates score and hessian factors at the same time, because there is a large overlap in calculations.
Parameter at which score is evaluated.
If False, then only score_factors are returned If True, the both score and hessian factors are returned
If True, then the observed Hessian is returned (default). If False, then the expected information matrix is returned.