lm_press_stat: PRESS and other statistics from lm model

Description Usage Arguments Author(s) Examples

Description

Returns the PRESS statistic (predictive residual sum of squares). Useful for evaluating predictive power of regression models.

Usage

1

Arguments

obj

A linear regression model (class 'lm'). Required.

Author(s)

LOPES, J. E.

Examples

1
2
fit <- step(lm(mpg~., data = mtcars), trace = 0)
lm_press_stat(fit)

evandeilton/cvforecast documentation built on May 16, 2019, 9:36 a.m.