Description Usage Arguments Details Value Author(s) See Also
Estimate the LATE using an instrumental variable approach to compare with the simulated sampling distribution of participants that likely received and didn't receive the treatment.
1 2 3 4 5 6 7 | IVcomparison(
dataframe = NULL,
formula = NULL,
similarity_measures = NULL,
k = 3,
up_down_weight = "up"
)
|
dataframe |
Dataframe from which you will select the outcome, predictors, and weights for the regression model. |
formula |
Symbolic representation of the model to be estimated. This is written in "typical" R language (i.e. y ~ x1 + x2), such that y is the outcome variable and x_1,..., x_j are the predictors. |
similarity_measures |
Vector(s) from dataframe that contains the similarity measures to be used as weights. |
k |
The penalty that you want to set for down-weighting inattentive respondents. Lower levels of k down-weight low attention participants more severely. |
up_down_weight |
Do you want to up-weight or down-weight? |
This function estimate an IV regression and generate a regression table of results with LaTeX formatting.
Object containing instrumental variable regression call, data, results, etc.
Jeffrey Ziegler (<jeffrey.ziegler[at]emory.edu>)
complierATE
regressionComparison
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.