Arguments
formula
(required). Takes the form of T ~ X1 + X2
, where T
is a binary
treatment indicator and X1
and X2
are the pre-treatment covariates, and T
,
X1
, and X2
are contained
data
(required). Data frame containing the variables called in the formula
.
The dataframe should not include variables with the names psclass
, psweights
, or
pscore
, as these are expressly reserved in the o
model
Method used to estimate the propensity score. May be "logit" (default),
"probit", "nnet", "GAM", or "cart".
discard
Whether to discard units that fall outside some measure of support of the
distance score. 0 (default)=keep all units. 1=keep all units with common support. 2=discard
only control units outside the support of the distance measure of the treated units.
reestimate
Specifies whether to reestimate the propensity score model after
discarding units (default=FALSE).
counter
Whether to display counter indicating the progress of the matching
(default=TRUE).
...
Additional arguments to be passed to distance
, depending on the model
to be used.