score_calc function

Compute scores for a single group

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, ...)

Arguments

  • 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.

Returns

length(theta) vector of scores

  • Maintainer: Bradley Saul
  • License: GPL (>= 2)
  • Last published: 2021-04-21

Useful links