This function computes the sharp bounds on the average treatment effect when some of the outcome data are missing. The confidence intervals for the bounds are also computed.
ATEbounds(
formula,
data = parent.frame(),
maxY = NULL,
minY = NULL,
alpha = 0.05,
n.reps = 0,
strata = NULL,
ratio = NULL,
survey = NULL,
...
)
A formula of the form Y ~ X
where Y
is the name
of the outcome variable and X
is the name of the (randomized)
treatment variable. X
should be a factor variable but its value can
take more than two levels. The missing values for Y
should be coded
as NA
.
A data frame containing the relevant variables.
A scalar. The maximum value of the outcome variable. The default is the maximum sample value.
A scalar. The minimum value of the outcome variable. The default is the minimum sample value.
A positive scalar that is less than or equal to 0.5. This will
determine the (1-alpha
) level of confidence intervals. The default is
0.05
.
A positive integer. The number of bootstrap replicates used for the construction of confidence intervals via B-method of Berran (1988). If it equals zero, the confidence intervals will not be constructed.
The variable name indicating strata. If this is specified, the
quantities of interest will be first calculated within each strata and then
aggregated. The default is NULL
.
A \(J \times M\) matrix of probabilities where \(J\) is the
number of strata and \(M\) is the number of treatment and control groups.
Each element of the matrix specifies the probability of a unit falling into
that category. The default is NULL
in which case the sample estimates
of these probabilities are used for computation.
The variable name for survey weights. The default is
NULL
.
The arguments passed to other functions.
A list of class ATEbounds
which contains the following items:
The matched call.
The outcome variable.
The treatment variable.
The point estimates of the sharp bounds on the average treatment effect.
The point estimates of the sharp bounds on the outcome variable within each treatment/control group.
The B-method confidence interval of the bounds on the average treatment effect.
The Bonferroni confidence interval of the bounds on the average treatment effect.
The Bonferroni confidence interval of the bounds on the outcome variable within each treatment/control group.
The B-method confidence interval of the bounds on the outcome variable within each treatment/control group.
The maximum value of the outcome variable used in the computation.
The minimum value of the outcome variable used in the computation.
The number of observations.
The number of observations within each treatment/control group.
The probability of treatment assignment (within each strata if
strata
is specified) used in the computation.
For the details of the method implemented by this function, see the references.
Horowitz, Joel L. and Charles F. Manski. (1998). “Censoring of Outcomes and Regressors due to Survey Nonresponse: Identification and Estimation Using Weights and Imputations.” Journal of Econometrics, Vol. 84, pp.37-58.
Horowitz, Joel L. and Charles F. Manski. (2000). “Nonparametric Analysis of Randomized Experiments With Missing Covariate and Outcome Data.” Journal of the Americal Statistical Association, Vol. 95, No. 449, pp.77-84.
Harris-Lacewell, Melissa, Kosuke Imai, and Teppei Yamamoto. (2007). “Racial Gaps in the Responses to Hurricane Katrina: An Experimental Study”, Technical Report. Department of Politics, Princeton University.