Last chance! 50% off unlimited learning
Sale ends in
Last chance! 50% off unlimited learning
Sale ends in
stop.method
objects built into the twang
package
that encode rules for selecting propensity score weightsps
function uses a stop.method
object for instructions
on how to select the propensity score weights. twang
has some
stop.method
objects built in but the user may implement their own if
they wish and pass them to ps
for it to optimize.
A valid stop.method
object is a list that defines the following
twang
package has functions es.stat
,
ks.stat
, and strata.stat
. The user may
implement their own.}
metric
function and summarizes them into a single number.
twang
currently utilizes mean
and max
for rule.summary
}
TRUE
then ps
will try to
optimize the weights directly rather than utilizing gbm
}
bal.stat
should
handle missing values. Current options are "level",
"exclude", or "lowest"}
stop.method
s for labeling the resulting weights}
In addition, the object must have class(mystopmethod) <- "stop.method"