Learn R Programming

twang (version 2.6.1)

boxplot.ps: Boxplot for `ps` objects

Description

This function produces a collection of diagnostic plots for ps objects.

Usage

# S3 method for ps
boxplot(x, subset = NULL, color = TRUE, time = NULL, ...)

Arguments

x

A `ps` object

subset

If multiple `stop.method` rules were used in the `ps()` call, `subset` restricts the plots of a subset of the stopping rules that were employed. This argument expects a subset of the integers from 1 to k, if k `stop.method`s were used.

color

If `FALSE`, a grayscale figure will be returned.

time

For use with iptw fits.

...

Additional arguments that are passed to boxplot function, which may bepassed to the underlying `lattice` package plotting functions.

Details

This function produces lattice-style graphics of diagnostic plots.

References

Dan McCaffrey, G. Ridgeway, Andrew Morral (2004). "Propensity Score Estimation with Boosted Regression for Evaluating Adolescent Substance Abuse Treatment", *Psychological Methods* 9(4):403-425.

See Also

[ps]