View source: R/print.binaryReg.R
print.binaryreg | R Documentation |
Prints the results of a logistic regression diagnotic analysis
(binaryReg
).
## S3 method for class 'binaryreg' print(x, digits = 4, ...)
x |
an object of class "binaryreg" from |
digits |
the number of significant digits to print numeric data. |
... |
not used for method, required for other methods. |
The original regression model should be the output from glm
with
binomial
as the value for the family
argument.
The object x
is returned invisibly.comp2 Description of
'comp2'
The printed output contains the original call; a summary of the deviance residuals; the coefficients with their estimates, standard errors, z scores, and attained p-values; a summary of the deviance comparison between the model and null model (no explanatory varaibles), also known as the G-squared or -2 log-likelihood; the response profile, which matches the value of the response variable to 0 or 1 and the number of observations in each group; the le Cessie-van Houwelingen and Hosmer-Lemeshow goodness of fit tests; three assessments of the predictinve power: the MaFadden R-squared and the adjusted R-squared, the classification table, the concordance index, and the area under the reciever operating characteristics curve; and selected test criteria with observations that exceed one of more of the criteria.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.