confint.transph: Confidence intervals for estimated coefficients

Description Usage Arguments Value Author(s)

Description

Calculates confidence intervals for coefficient estimates from a transph model by inverting the Wald or likelihood ratio tests.

Usage

1
2
## S3 method for class 'transph'
confint(creg, parm, level = 0.95, type = "wald")

Arguments

parm

A coefficient name or vector of coefficient names. If missing, #' confidence intervals are calculated for all estimated coefficients.

level

The confidence level (1 - alpha).

type

The type of confidence interval. Current options are wald for Wald confidence limits and lr for likelihood ratio confidence limits. Likelihood ratio confidence intervals are available only when who-#' infected-whom is completely observed.

treg

An object of class transph.

Value

A data frame with one row for each coefficient in parm that contains the lower and upper confidence limits in columns labeled \frac{α}{2} and 1 - \frac{α}{2} expressed as percentiles.

Author(s)

Eben Kenah kenah.1@osu.edu


ekenah/transtat documentation built on Nov. 11, 2021, 3:12 p.m.