9_modelval: Model Validation

Description Usage Arguments References Examples

Description

Compare (estimation, SE estimation, PRESSp, AICp, SBSp, R2 , R2.adj, MSE) Training and validition data

Usage

1
modelval(building.set,response.building, prediction.set, response.prediction)

Arguments

building.set

matrix predictor Training data

response.building

vector response Training data

prediction.set

matrix predictor Validation data

response.prediction

vector response Validation data

References

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

Examples

1
2
3
4
5
6
#### page 373 (table)
b<-SurgicalUnit
p<-SurgicalUnitAdditional

modelval(b[,c(1,2,3,8)],b[,10],p[,c(1,2,3,8)],p[,10])
modelval(b[,c(1,2,3,5,6,8)],b[,10],p[,c(1,2,3,5,6,8)],p[,10])

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

Related to 9_modelval in ALSM...