iQuantile: iQuantile

Description Usage Arguments Format Details Value Author(s) References Examples

View source: R/iQuantile.R

Description

Produces indices in x of percentile steps by 1/breaks and respective percentiles.

Usage

1
iQuantile(x, breaks=15)

Arguments

x

list

breaks

number of breaks

Format

x

The function has two arguments: a list and numnber of breaks.

Details

iQuantile is used internally by the hlGOF.test.

Value

numeric

Author(s)

Joseph M. Hilbe, Arizona State University.

References

Hilbe, J. M. (2015), Practical Guide to Logistic Regression, Chapman & Hall/CRC.

Hilbe, J. M. (2009), Logistic Regression Models, Chapman & Hall/CRC.

Examples

1
2
3
library(LOGIT)
mod <- rnorm(100,0,1)
iQuantile(mod)

Example output

$index
 [1]   1   7  13  20  27  33  40  47  53  60  67  73  80  87  93 100

$cuts
 [1] -2.47581225 -1.40997200 -1.19353450 -0.77327473 -0.49114423 -0.38533155
 [7] -0.25488799 -0.08930092  0.06462623  0.21364053  0.38572636  0.50977363
[13]  0.65211447  0.93774157  1.10527272  2.09655081

LOGIT documentation built on May 29, 2017, 10:26 a.m.

Related to iQuantile in LOGIT...