hl_chisq: Hosmer-Lemeshow Test

Description Usage Arguments

View source: R/hl-chisq.R

Description

Tests for differences between observed and expected counts using the Hosmer-Lemeshow chi-squared test.

Usage

1
hl_chisq(obs, exp, ng = 10, lower.tail = FALSE)

Arguments

obs

Observed counts

exp

Expected counts

ng

Number of groups (default is 10)

lower.tail

Logical value for whether p-value should be from lower tail of the distribution.


mattwarkentin/precogs documentation built on Jan. 12, 2020, 6:24 p.m.