score_matrix: Calculate matrix of log Likelihood derivatives

Description Usage Arguments Value

View source: R/score_functions.R

Description

Calculate matrix of log Likelihood derivatives

Usage

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

Value

N X length(params) matrix of scores


inferference documentation built on April 21, 2021, 5:06 p.m.