print.QuantifQuantile: Print of QuantifQuantile results

Description Usage Arguments Author(s) References See Also Examples

Description

This function displays a small description of QuantifQuantile results.

Usage

1
2
## S3 method for class 'QuantifQuantile'
print(x, ...)

Arguments

x

An object of class QuantifQuantile, which is the result of the QuantifQuantile, QuantifQuantile.d2 or QuantifQuantile.d functions.

...

Not used.

Author(s)

Isabelle Charlier, Davy Paindaveine, Jerome Saracco

References

Charlier, I. and Paindaveine, D. and Saracco, J., Conditional quantile estimation through optimal quantization, Journal of Statistical Planning and Inference, 2015 (156), 14-30.

Charlier, I. and Paindaveine, D. and Saracco, J., Conditional quantile estimator based on optimal quantization: from theory to practice, Submitted.

See Also

QuantifQuantile, QuantifQuantile.d2 and QuantifQuantile.d

plot.QuantifQuantile, summary.QuantifQuantile

Examples

1
2
3
4
5
6
set.seed(644972)
n <- 300
X <- runif(300,-2,2)
Y <- X^2+rnorm(n)
res <- QuantifQuantile(X,Y,testN=seq(10,25,by=5))
print(res)

Example output

Loading required package: rgl
Loading required package: parallel
Warning messages:
1: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display
2: 'rgl_init' failed, running with rgl.useNULL = TRUE 
3: .onUnload failed in unloadNamespace() for 'rgl', details:
  call: fun(...)
  error: object 'rgl_quit' not found 
[1] 10
[1] 15
[1] 20
[1] 25
** QuantifQuantile results **
The result object is a list of length 9.
Most interesting components are the following:

  name        description                                                
1 "$N_opt"    "optimal value for N selected among testN by our criterion"
2 "$hatq_opt" "the estimated conditional quantiles obtained with N_opt"  
3 "$hatISE_N" "estimated ISE as a function of N"                         

 For more information about QuantifQuantile outputs see the 
              QuantifQuantile help page

QuantifQuantile documentation built on May 2, 2019, 2:10 a.m.