plot.forwardibr: Plot diagnostic for an ibr object

View source: R/plot.forwardibr.R

plot.forwardibrR Documentation

Plot diagnostic for an ibr object

Description

One plot is currently available: a plot of residuals against fitted values.

Usage

## S3 method for class 'forwardibr'
plot(x,global=FALSE,... )

Arguments

x

Object of class forwardibr.

global

Boolean: if global is TRUE the color code is between the min and the max of x (except infinite value); if global is FALSE the color code is between the min and the max of each row.

...

further arguments passed to image.

Value

The function plot.forwardibr give an image plot of the values of the criterion obtained by the forward selection process. Image is read from the bottom to the top. At the bottom row, there are all the univariate models and the selected variable is given by the lowest criterion. This variable is selected for the second row. At the second (bottom) row the second variable included is those which give the lowest criterion for this row etc. All the variables included in the final model (selected by forward search) are numbered on the image (by order of inclusion).

Author(s)

Pierre-Andre Cornillon, Nicolas Hengartner and Eric Matzner-Lober.

References

Cornillon, P.-A.; Hengartner, N.; Jegou, N. and Matzner-Lober, E. (2012) Iterative bias reduction: a comparative study. Statistics and Computing, 23, 777-791.

Cornillon, P.-A.; Hengartner, N. and Matzner-Lober, E. (2013) Recursive bias estimation for multivariate regression smoothers Recursive bias estimation for multivariate regression smoothers. ESAIM: Probability and Statistics, 18, 483-502.

Cornillon, P.-A.; Hengartner, N. and Matzner-Lober, E. (2017) Iterative Bias Reduction Multivariate Smoothing in R: The ibr Package. Journal of Statistical Software, 77, 1–26.

See Also

ibr, forward

Examples

## Not run: data(ozone, package = "ibr")
ibrsel <- forward(ibr(ozone[,-1],ozone[,1],df=1.2)
plot(ibrsel)
plot(apply(ibrsel,1,min,na.rm=TRUE),type="l")

## End(Not run)

ibr documentation built on Sept. 13, 2023, 5:08 p.m.