separationplot-package {separationplot} | R Documentation |
Separation Plots
Description
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.
Details
The DESCRIPTION file:
Package: | separationplot |
Type: | Package |
Title: | Separation Plots |
Version: | 1.4 |
Date: | 2023-04-08 |
Author: | Brian D. Greenhill, Michael D. Ward and Audrey Sacks |
Maintainer: | Brian Greenhill <bgreenhill@albany.edu> |
Depends: | RColorBrewer, Hmisc, MASS, foreign |
Description: | 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. |
License: | Artistic-2.0 |
Index of help topics:
separationplot Generate a Separation Plot separationplot-package Separation Plots sp.categorical Separation plots for variables with more than two outcome levels
A package to create "separation plots" as described in Greenhill, Ward, and Sacks (2011).
Author(s)
Brian D. Greenhill, Michael D. Ward and Audrey Sacks
Maintainer: Brian Greenhill <bgreenhill@albany.edu>
References
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.
Examples
# 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)
[Package separationplot version 1.4 Index]