Description Usage Arguments Author(s) See Also Examples
This function plots the Cook's distance, or DFFITS, or the estimated outlying coefficients, as well as the cutoff based on the outlier detection method.
1 2 |
x, |
an object of class |
..., |
other arguments. |
Shuxiao Chen <sc2667@cornell.edu>
outference
for model fitting;
summary.outference
for summaries;
coef.outference
for extracting coefficients;
confint.outference
for confidence intervals of regression coefficients;
predict.outference
for making predictions.
1 2 3 4 5 6 | ## Brownlee’s Stack Loss Plant Data
data("stackloss")
## fit the model
## detect outlier using Cook's distance with cutoff = 4
fit <- outference(stack.loss ~ ., data = stackloss, method = "cook", cutoff = 4)
plot(fit) # plot the Cook's distance of each observation
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.