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. 11, 2024, 6:51 p.m.