(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.
1 | simul_prediction_limits(lmobject, newdata, confidence = 0.95)
|
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.