Description Usage Arguments Details Value
Compute the confidence and prediction intervals
for a linear regression model model
.
1 2 | confidence_intervals(model, pvalue = 0.05,
xlim = range(model$model[ , 2]), x.length = 20)
|
model |
a linear model obtained using |
pvalue |
a p-value. |
xlim |
a vector of two numeric values.
|
x.length |
an integer, indicating the number of points to compute. |
None.
Return a list
containing a vector x
of x-values
(ranging from xlim[1]
to xlim[2]
), the corresponding values
y.confidence
for confidence interval, the corresponding values
y.prediction
for prediction interval.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.