logit_integrand {inferference} | R Documentation |
Default integrand for the group-level propensity score
Description
Computes the following function:
where is the randomization scheme.
is the covariate(s) vectors.
is the vector of fixed effects.
is the random (group-level) effect.
is the random effect variance.
Usage
logit_integrand(b, X, A, parameters, allocation = A, randomization = 1)
Arguments
b |
vector argument of values necessary for |
X |
n by length(fixed effects) matrix of covariates. |
A |
vector of binary treatments |
parameters |
vector of fixed effect (and random effect if applicable). Random effect should be last element in vector. |
allocation |
The allocation strategy. Defaults to A so that is essentially ignored if allocation is not set to a value within (0, 1). |
randomization |
Randomization probability. Defaults to 1. |
Value
value of the integrand
[Package inferference version 1.0.2 Index]