Learn R Programming

ALSM (version 0.1.9)

pressc: calculate PRESS

Description

prediction sum of squares

Usage

pressc(fit)

Arguments

fit
model of regression

References

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

Examples

Run this code

######## example page 361
pressc(lm(lny~x2+x3+x4,SurgicalUnit))

Run the code above in your browser using DataLab