Produces indices in x of percentile steps by 1/breaks and respective percentiles.
Usage
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
library(LOGIT)
mod <- rnorm(100,0,1)
iQuantile(mod)
Results
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(LOGIT)
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/LOGIT/iQuantile.Rd_%03d_medium.png", width=480, height=480)
> ### Name: iQuantile
> ### Title: iQuantile
> ### Aliases: iQuantile
> ### Keywords: models
>
> ### ** Examples
>
> library(LOGIT)
> mod <- rnorm(100,0,1)
> iQuantile(mod)
$index
[1] 1 7 13 20 27 33 40 47 53 60 67 73 80 87 93 100
$cuts
[1] -2.67683101 -1.11328832 -0.92697097 -0.68225622 -0.43330932 -0.30098400
[7] -0.10588500 0.02358238 0.14566164 0.21860849 0.40131306 0.55846804
[13] 0.93091853 1.21098445 1.46371656 2.28896162
>
>
>
>
>
> dev.off()
null device
1
>