Function generates the target weight for the LATE, conditioned on a specific value of the covariates.
wlate1(data, from, to, Z, model, X, eval.X)
data.frame
on which the estimation is performed.
Vector of baseline values for the instruments.
Vector of comparison values for the instruments.
Character vector of names of instruments.
A lm
or glm
object, or a
data.frame
, which can be used to estimate the propensity
to take up treatment for the specified values of the
instruments.
Character vector of variable names for the non-excluded variables the user wishes to condition the LATE on.
Vector of values the user wishes to condition the
X
variables on.
The bounds of integration over unobservable u
, as
well as the multiplier in the weight.