summary.predint {predint}R Documentation

Summarizing objects of class predint

Description

This function gives a summary about the prediction intervals (and limits) computed with predint.

Usage

## S3 method for class 'predint'
summary(object, ...)

Arguments

object

object of class predint

...

further arguments passed over to base::cbind() and base::data.frame()

Value

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.

Examples


# 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.


[Package predint version 2.2.1 Index]