Usage
ATEbounds(formula, data = parent.frame(), maxY = NULL,
minY = NULL, alpha = 0.05, n.reps = 0,
strata = NULL, ratio = NULL, survey = NULL, ...)Arguments
formula
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 tha
data
A data frame containing the relevant variables.
maxY
A scalar. The maximum value of the outcome variable. The default is the
maximum sample value.
minY
A scalar. The minimum value of the outcome variable. The default is the
minimum sample value.
alpha
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.
strata
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.
ratio
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 NUL
survey
The variable name for survey weights. The default is NULL.
n.reps
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 arguments passed to other functions.