Compute scores for a single group
Used by score_matrix
to log likelihood derivatives for a single group.
score_calc(parameters, integrand, hide.errors = TRUE, ...)
parameters
: vector of parameters passed to integrand
integrand
: function to used for the integrand. Defaults to logit_integrand
.hide.errors
: Hide errors printed from grad
. Defaults to true....
: additional arguments pass to the integrand function.length(theta) vector of scores
Useful links