Learn R Programming

AOV1R (version 0.1.0)

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

Description

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

Usage

# S3 method for 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 <U+2013> 3175. <doi:10.1016/j.jspi.2008.01.001>

Examples

Run this code
# NOT RUN {
dat <- simAOV1R(I=2, J=3, mu=10, sigmab=1, sigmaw=1)
fit <- aov1r(y ~ group, data=dat)
predict(fit)
# }

Run the code above in your browser using DataLab