Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

boxplot.ps

Boxplot for 'ps' objects


Description

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

Usage

## S3 method for class '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]


twang

Toolkit for Weighting and Analysis of Nonequivalent Groups

v2.0
GPL-3 | file LICENSE
Authors
Matthew Cefalu <Matthew_Cefalu@rand.org>, Greg Ridgeway, Dan McCaffrey, Andrew Morral, Beth Ann Griffin, and Lane Burgette
Initial release
2021-03-22

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.