View source: R/summary.predint.R
| summary.predint | R Documentation |
predintThis function gives a summary about the prediction intervals (and limits) computed with predint.
## S3 method for class 'predint'
summary(object, ...)
object |
object of class |
... |
further arguments passed over to |
A data.frame containing the current data (if provided via newdat),
the prediction interval (or limit), the expected value for the future observation,
the bootstrap calibrated coefficient(s), the prediction standard error and
a statement about the coverage for each future observation, if new observations
were provided via newdat.
# Fitting a random effects model based on c2_dat1
fit <- lme4::lmer(y_ijk~(1|a)+(1|b)+(1|a:b), c2_dat1)
# Prediction interval using c2_dat2 as future data
pred_int <- lmer_pi_futmat(model=fit, newdat=c2_dat2, alternative="both", nboot=100)
summary(pred_int)
#----------------------------------------------------------------------------
# Please note that nboot was set to 100 in order to decrease computing time
# of the example. For a valid analysis set nboot=10000.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.