predict.aov1r: Prediction interval for one-way random effect ANOVA

Description Usage Arguments Value References Examples

View source: R/aov1r.R

Description

Prediction interval for the one-way random effect ANOVA model, based on a Satterthwaite approximation of the degrees of freedom.

Usage

1
2
## S3 method for class 'aov1r'
predict(object, level = 0.95, ...)

Arguments

object

an output of aov1r

level

confidence level

...

ignored

Value

A vector of length two, the bounds of the prediction interval.

References

T. Y. Lin, C. T. Liao. Prediction intervals for general balanced linear random models. Journal of Statistical Planning and Inference 138 (2008), 3164 – 3175. <doi:10.1016/j.jspi.2008.01.001>

Examples

1
2
3
dat <- simAOV1R(I=2, J=3, mu=10, sigmab=1, sigmaw=1)
fit <- aov1r(y ~ group, data=dat)
predict(fit)

AOV1R documentation built on Nov. 10, 2020, 3:52 p.m.