separationplot-package | R Documentation |
Visual representations of model fit or predictive success in the form of "separation plots." See Greenhill, Brian, Michael D. Ward, and Audrey Sacks. "The separation plot: A new visual method for evaluating the fit of binary models." American Journal of Political Science 55.4 (2011): 991-1002.
The DESCRIPTION file:
This package was not yet installed at build time.
Index: This package was not yet installed at build time.
A package to create "separation plots" as described in Greenhill, Ward, and Sacks (2011).
Brian D. Greenhill, Michael D. Ward and Audrey Sacks
Maintainer: Brian Greenhill <bgreenhill@albany.edu>
Greenhill, Brian, Michael D. Ward, and Audrey Sacks. "The separation plot: A new visual method for evaluating the fit of binary models." American Journal of Political Science 55.4 (2011): 991-1002.
# Very simple example from the introduction to the paper:
separationplot(pred=c(0.774, 0.364, 0.997, 0.728, 0.961, 0.422),
actual=c(0,0,1,0,1,1), shuffle=FALSE,
line=FALSE, type="rect", rectborder=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.