HoslemTest: Hosmer-Lemeshow Test for Vertical Distributed Logistic...

Description Usage Arguments Value Examples

View source: R/vertical_utilities.R

Description

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.

Usage

1
  HoslemTest(x, nGroups = 10)

Arguments

x

an object of type vdralogistic.

nGroups

the number of groups that the data will be sperated into.

Value

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.

Examples

1
2
3

vdra documentation built on Sept. 9, 2021, 9:10 a.m.