model.s {ALSM}R Documentation

Criteria for Model Selection

Description

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

Usage

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


### table 9.2, page 353
library("leaps")
model.s(SurgicalUnit[,1:4],SurgicalUnit[,10])


[Package ALSM version 0.2.0 Index]