Description Usage Arguments Value Examples
View source: R/vertical_utilities.R
Run the Hosmer-Lemeshow test for an object created by 2-party, 3-party, or K-party vdra logistic regression. Only the party that holds the response may invoke this function.
1 | HoslemTest(x, nGroups = 10)
|
x |
an object of type |
nGroups |
the number of groups that the data will be sperated into. |
Returns an object of class hoslemdistributed
. Objects of this class have a method for the function print
. The following component must be included in a hoslemdistributed
object.
hoslem |
a vector containing three numeric quantities: the chi-square value of the test, the degrees of freedom of the test, and p-value of the test, in that order. |
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.