Description Usage Arguments Value Author(s) See Also Examples
This function extracts the estimated regression coefficients from an "outference"
object.
1 2 |
object, |
an object of class |
model, |
if |
..., |
other arguments. |
This function returns the desired vector of regression coefficients.
Shuxiao Chen <sc2667@cornell.edu>
outference
for model fitting;
summary.outference
for summaries;
confint.outference
for confidence intervals of regression coefficients;
plot.outference
for plotting the outlying measure;
predict.outference
for making predictions.
1 2 3 4 5 6 7 | ## 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)
coef(fit, model = "original") # the coefficients from the fit using all the data
coef(fit, model = "removed") # the coefficients from the fit after outlier removal
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.