press: Prediction Error Sum of Squares

View source: R/press.R

pressR Documentation

Prediction Error Sum of Squares

Description

Computes the prediction error sum of squares statistic (PRESS) (Helsel and Hirsch, 2002) for a linear regression model.

Usage

press(model)

Arguments

model

an object of class "lm" or the output from lsfit.

Value

The prediction error sum of squares statistic.

References

Helsel, D.R. and Hirsch, R.M., 2002, Statistical methods in water resources: U.S. Geological Survey Techniques of Water-Resources Investigations, book 4, chap. A3, 522 p.

See Also

multReg, lm


USGS-R/smwrStats documentation built on Oct. 11, 2022, 6:15 a.m.