statsmodels.genmod.generalized_linear_model.GLM.score_obs# GLM.score_obs(params, scale=None)[source]# Score first derivative of the log-likelihood for each observation Parameters: paramsndarrayParameter at which score is evaluated. scaleNone or floatIf scale is None, then the default scale will be calculated. Default scale is defined by self.scaletype and set in fit. If scale is not None, then it is used as a fixed scale. Returns: score_obsndarray, 2dThe first derivative of the log-likelihood function evaluated at params for each observation.