IVcomparison: Estimate Instrumental Variable Model for LATE

Description Usage Arguments Details Value Author(s) See Also

View source: R/IVcomparison.R

Description

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.

Usage

1
2
3
4
5
6
7
IVcomparison(
  dataframe = NULL,
  formula = NULL,
  similarity_measures = NULL,
  k = 3,
  up_down_weight = "up"
)

Arguments

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?

Details

This function estimate an IV regression and generate a regression table of results with LaTeX formatting.

Value

Object containing instrumental variable regression call, data, results, etc.

Author(s)

Jeffrey Ziegler (<jeffrey.ziegler[at]emory.edu>)

See Also

complierATE regressionComparison


zieglerjef/openEnded documentation built on Nov. 30, 2020, 2:03 p.m.