Learn R Programming

ALSM (version 0.1.9)

plotmodel.s: plot Criterias for Model Selection

Description

plot R2.p, R2.adj.p, Cp, AICp, SBCp and PRESSP Values for All Possible Regression Modes

Usage

plotmodel.s(x,y)

Arguments

x
matrix of predictors

y
response vector

References

Michael H. Kutner; Christopher J. Nachtsheim; John Neter; William Li. Applied Linear Statistical Models Fifth Edition .chapter 9

Examples

Run this code

### figure 9.4, page 356
plotmodel.s(SurgicalUnit[,1:4],SurgicalUnit[,10])

Run the code above in your browser using DataLab