coefficient_confidence_lm: (Stat 5100) Calculate confidence intervals for the...

Description Usage Arguments Value

View source: R/utilities.R

Description

(Stat 5100) Calculate confidence intervals for the coefficients of a linear model. This function pulls info from the lm object and constructs a confidence interval of the form "coefficient est +- critical value * std error"

Usage

1
coefficient_confidence_lm(lmobject, confidence = 0.95, simul = FALSE)

Arguments

lmobject

A linear model object from the lm() function

confidence

A level of confidence for the interval expressed as a proportion

Value

A coefficient matrix for the model that contains lower and upper confidence interval values for the coefficient estimate.


ethanancell/stat5100package documentation built on April 18, 2021, 2:40 a.m.