get_score_function.glm {enrichwith} | R Documentation |
Function to compute/extract a function that returns the scores
(derivatives of the log-likelihood) for an object of class
glm
/enriched_glm
Description
Function to compute/extract a function that returns the scores
(derivatives of the log-likelihood) for an object of class
glm
/enriched_glm
Usage
## S3 method for class 'glm'
get_score_function(object, ...)
Arguments
object |
an object of class |
... |
currently not used |
Details
The computed/extracted function has arguments
- coefficients
the regression coefficients at which the scores are computed. If missing then the maximum likelihood estimates are used
- dispersion
the dispersion parameter at which the score function is evaluated. If missing then the maximum likelihood estimate is used
[Package enrichwith version 0.3.1 Index]