modelval {ALSM}R Documentation

Model Validation

Description

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

Usage

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


#### 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])

[Package ALSM version 0.2.0 Index]