simul_prediction_limits: (Stat 5100) Get a confidence interval for an individual new...

Description Usage Arguments

View source: R/utilities.R

Description

(Stat 5100) Get a confidence interval for an individual new prediction. Note that this is different from the confidence interval for the mean of the response variable at a particular X-profile.

Usage

1
simul_prediction_limits(lmobject, newdata, confidence = 0.95)

Arguments

lmobject

The linear model object from the lm() function.

newdata

A dataframe that contains the same variables used to train the lm object (no response variable needed).

confidence

The simultaneous confidence level for the predictions.


ethanancell/stat5100package documentation built on April 18, 2021, 2:40 a.m.