R/PRESS.R

Defines functions PRESS

Documented in PRESS

PRESS <- function(x) {
  sum(resid(x)^2/(1-lm.influence(x)$hat)^2)
}

Try the MPV package in your browser

Any scripts or data that you put into this service are public.

MPV documentation built on Sept. 8, 2023, 5:44 p.m.