score_matrix function

Calculate matrix of log Likelihood derivatives

Calculate matrix of log Likelihood derivatives

score_matrix(integrand, X, A, G, parameters, runSilent = TRUE, ...)

Arguments

  • integrand: function passed to log_likelihood. Defaults to logit_integrand
  • X: covariate matrix
  • A: vector of treatment assignments
  • G: vector of group assignments
  • parameters: vector of parameters passed to integrand
  • runSilent: If FALSE, prints errors to console. Defaults to TRUE.
  • ...: additional arguments passed to integrand or grad. For example, one can change the method argument in grad.

Returns

N X length(params) matrix of scores

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

Useful links