Learn R Programming

MPV (version 1.64)

PRESS: PRESS statistic

Description

Computation of Allen's PRESS statistic for an lm object.

Usage

PRESS(x)

Value

Allen's PRESS statistic.

Arguments

x

An lm object

Author

W.J. Braun

See Also

lm

Examples

Run this code
data(p4.18)
attach(p4.18)
y.lm <- lm(y ~ x1 + I(x1^2))
PRESS(y.lm)
detach(p4.18)

Run the code above in your browser using DataLab