print.binaryreg: Print Objects

View source: R/print.binaryReg.R

print.binaryregR Documentation

Print Objects

Description

Prints the results of a logistic regression diagnotic analysis (binaryReg).

Usage

## S3 method for class 'binaryreg'
print(x, digits = 4, ...)

Arguments

x

an object of class "binaryreg" from binaryReg.

digits

the number of significant digits to print numeric data.

...

not used for method, required for other methods.

Details

The original regression model should be the output from glm with binomial as the value for the family argument.

Value

The object x is returned invisibly.comp2 Description of 'comp2'

Note

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.


USGS-R/smwrStats documentation built on Oct. 11, 2022, 6:15 a.m.