confint.outference: Form confidence intervals for regression coeffcients from an...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/outference.R

Description

This function constructs confidence intervals for the regression coefficients from an "outference" object. The syntax is the same as confint.lm.

Usage

1
2
## S3 method for class 'outference'
confint(object, parm = NULL, level = 0.95, ...)

Arguments

object,

an object of class "outference".

parm,

indexes of which parameter to consider. If set to NULL, then all parameters are considered.

level,

the confidence level.

...,

other arguments.

Value

A matrix with columns being lower and upper confidence limits for each parameter.

Author(s)

Shuxiao Chen <[email protected]>

See Also

outference for model fitting;

summary.outference for summaries;

coef.outference for extracting coefficients;

plot.outference for plotting the outlying measure;

predict.outference for making predictions.

Examples

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)
confint(fit)

shuxiaoc/outference documentation built on Dec. 5, 2017, 3:48 a.m.