hoslem_test: Hosmer-Lemeshow Goodness of Fit (GOF) Test

Description Usage Arguments Details

Description

Perform a Hosmer-Lemeshow Goodness of Fit (GOF) Test

Usage

1
hoslem_test(x, y, g = 10)

Arguments

x

a numeric vector of observations, binary (0/1).

y

expected values.

g

number of bins to use to calculate quantile.

Details

The Hosmer-Lemeshow test is a statistical test for goodness of fit for logistic regression models.


liuhongwei2018/calibration documentation built on Dec. 8, 2019, 1:35 p.m.