PRESS: Prediction fits

Description Usage Arguments Details Value Author(s) Examples

Description

Various summaries of predictions and PRESS residuals.

Usage

1
2
3
4
5
R2pred(object = NULL)
RMSEP(object)
PRESS(object = NULL)
PRESS.res(object = NULL)
PRESS.pred(object = NULL)

Arguments

object

a fitted model of type lm or mvr.

Details

Predictions are extracted and summaries/residuals are computed.

Value

Returns either an object of summaries or residuals.

Author(s)

Kristian Hovde Liland

Examples

1
2
3
4
5
6
7
8
9
data <- data.frame(y = rnorm(8),
				   x = factor(c('a','a','a','a','b','b','b','b')),
				   z = factor(c('a','a','b','b','a','a','b','b')))
mod <- lm(y ~ x + z, data=data)
RMSEP(mod)
R2pred(mod)
PRESS(mod)
PRESS.res(mod)
PRESS.pred(mod)

mixlm documentation built on May 2, 2019, 6:08 p.m.

Related to PRESS in mixlm...