Uses wght_deriv_calc
to compute the weight derivatives for each
group per coverage level
wght_deriv_array(
parameters,
integrand,
allocations,
X,
A,
G,
runSilent = TRUE,
integrate_allocation = TRUE,
...
)
vector of parameters passed to integrand
function to pass to the argument 'f' of integrate
.
coverage levels in [0, 1]. Can be vector.
covariate matrix
vector of treatment assignments
vector of group assignments
if FALSE, errors are printed to console. Defaults to TRUE.
Indicator of whether the integrand function uses the allocation parameter. Defaults to TRUE.
other arguments passed to integrand.
a length(unique(group)) X length(params) X length(alphas) array of group weight derivatives