glm
/enriched_glm
Function to compute/extract a function that returns the scores
(derivatives of the log-likelihood) for an object of class
glm
/enriched_glm
# S3 method for glm
get_score_function(object, ...)
an object of class glm
orenriched_glm
currently not used
The computed/extracted function has arguments
the regression coefficients at which the scores are computed. If missing then the maximum likelihood estimates are used
the dispersion parameter at which the score function is evaluated. If missing then the maximum likelihood estimate is used