powered by
Calculates and prints the confidence intervals for the fitted model.
ciReg(fit, conf.level = 0.95, print.out = TRUE)
an object of classlm, i.e. the output from lm.
lm
confidence level of the intervals.
if TRUE, print out the output on the screen.
TRUE
The function returns a two-column matrix containing the upper and lower endpoints of the intervals.
lm, summary, anova.
summary
anova
# NOT RUN { ##Peruvian Indians data data(peru.df) fit=lm(BP ~ age + years + weight + height, data = peru.df) ciReg(fit) # }
Run the code above in your browser using DataLab