Calculate matrix of log Likelihood derivatives
score_matrix(integrand, X, A, G, parameters, runSilent = TRUE, ...)
function passed to log_likelihood
. Defaults to
logit_integrand
covariate matrix
vector of treatment assignments
vector of group assignments
vector of parameters passed to integrand
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
.
N X length(params) matrix of scores