determineG: Determine Groups

Description Usage Arguments Details Value Examples

Description

determineG Determines the appropriate number of groups when performing the Hosmer-Lemeshow test.

Usage

1
determineG(n, m)

Arguments

n

number of observations in dataset

m

number of successes in dataset

Details

This function takes a sample size (n) and number of success (m) to determine the appropriat number of groups to use with the Hosmer-Lemeshow test.

Value

returns appropriate group size or an error upon failure

Examples

1
determineG(n=10000,m=500)

Spoted21/lrt documentation built on May 9, 2019, 3:30 a.m.