Skip to contents

Produce confidence intervals for linear models

Usage

.confint_lm(object, parm, level = 0.95, ...)

Arguments

object

a fitted teeMod model

parm

a specification of which parameters are to be given confidence intervals, either a vector of numbers or a vector of names. If missing, all parameters are considered.

level

the confidence level required.

...

additional arguments to pass to vcov.teeMod()

Value

A matrix (or vector) with columns giving lower and upper confidence limits for each parameter. These will be labelled as (1-level)/2 and 1 - (1-level)/2 in % (by default 2.5% and 97.5%)

Details

.confint_lm() is a copy of stats::confint.lm but passes arguments in ... to the vcov() call. When called on a teeMod model, this produces confidence intervals where standard errors are computed based on the desired formulation of the vcov_tee() call.