Usage
binnedplot(x ,y, nclass=NULL,
xlab="Expected Values", ylab="Average residual",
main="Binned residual plot",
cex.pts=0.8, col.pts=1, col.int="gray")
Arguments
x
The expected values from the logistic regression.
y
The residuals values from logistic regression (observed values
minus expected values).
nclass
Number of categories (bins) based on their fitted values in which
the data are divided. Default=NULL and will take the value of nclass
according to the $n$ such that if $n >=100$,
nclass=floor(sqrt
xlab
a label for the x axis, default is "Expected Values".
ylab
a label for the y axis, default is "Average residual".
main
a main title for the plot, default is "Binned residual plot".
See also title
.
cex.pts
The size of points, default=0.8.
col.pts
color of points, default is black
col.int
color of intervals, default is gray