ciReg: Confidence Intervals for Regression models

Description Usage Arguments Value See Also Examples

View source: R/ciReg.R

Description

Calculates and prints the confidence intervals for the fitted model.

Usage

1
ciReg(fit, conf.level = 0.95, print.out = TRUE)

Arguments

fit

an object of classlm, i.e. the output from lm.

conf.level

confidence level of the intervals.

print.out

if TRUE, print out the output on the screen.

Value

The function returns a two-column matrix containing the upper and lower endpoints of the intervals.

See Also

lm, summary, anova.

Examples

1
2
3
4
##Peruvian Indians data
data(peru.df)
fit=lm(BP ~ age + years + weight + height, data = peru.df)
ciReg(fit)

s20x documentation built on Aug. 23, 2021, 9:15 a.m.

Related to ciReg in s20x...