Description Usage Arguments Value Author(s) See Also Examples
Allen's PRESS statistic is computed for a fitted model.
1 | press(obj)
|
obj |
A |
A single numeric value.
W.J. Braun
1 2 3 4 5 6 7 8 | litters.lm <- lm(brainwt ~ bodywt + lsize, data = litters)
press(litters.lm)
litters.lm0 <- lm(brainwt ~ bodywt + lsize -1, data=litters)
press(litters.lm0) # no intercept
litters.lm1 <- lm(brainwt ~ bodywt, data=litters)
press(litters.lm1) # bodywt only
litters.lm2 <- lm(brainwt ~ bodywt + lsize + lsize:bodywt, data=litters)
press(litters.lm2) # include an interaction term
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.