confint.pbph: Confidence intervals for 'pbph' object

View source: R/pbph.R

confint.pbphR Documentation

Confidence intervals for pbph object

Description

Similar to confint.lm.

Usage

## S3 method for class 'pbph'
confint(
  object,
  parm,
  level = 0.95,
  ...,
  wald.style = FALSE,
  forceDisplayConfInt = FALSE,
  returnShape = FALSE
)

Arguments

object

An object of class pbph.

parm

Parameters

level

Confidence level.

...

Additional arguments to confint.lm.

wald.style

Logical. Defaults to FALSE so the method performs test inversion to obtain proper coverage. If TRUE, generates wald-style CI's, which will likely suffer from undercoverage.

forceDisplayConfInt

Logical. Defaults to FALSE. If a hypothesis test for the interaction term fails, a confidence interval is unreliable (and ultimately unnecessary) and thus not returned. Set this to TRUE to force computation of the interval regardless of the hypothesis test.

returnShape

Logical. Defaults to FALSE. If TRUE, adds an attribute to the output the defines the shape of the confidence region. If TRUE, forceDisplayConfInt is set to TRUE as well.

Value

Confidence intervals


josherrickson/epb documentation built on July 6, 2023, 9:12 p.m.