Learn R Programming

ibr (version 1.3.1)

plot.forwardibr: 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,\ldots )

Arguments

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).

References

Cornillon, P. A., Hengartner, N. and Matzner-Lober, E. (2009) Recursive Bias Estimation for high dimensional regression smoothers. submitted.

See Also

ibr, forward

Examples

Run this code
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")

Run the code above in your browser using DataLab