summary.transph: Summary of fitted transph model

Description Usage Arguments Value Author(s)

Description

Produces a summary of a fitted transreg model. The confidence level and method for p-values and confidence intervals can be specified.

Usage

1
2
## S3 method for class 'transph'
summary(creg, level = 0.95, type = "wald", cdigits = 4, pdigits = 3)

Arguments

creg

An object of class transph.

level

The confidence level (1 - alpha).

type

The type of confidence intervals and p-values. Options are wald for Wald and lr for likelihood ratio. This argument is passed to the confint and pval methods. Likelihood ratio confidence intervals and p-values are available only when who-infected-whom is completely observed.

Value

A list of class transph_summary with the following components:

call

The call to transph with complete formal arguments.

iter

The number of iterations used to fit creg.

loglik

The loglik element of the transph object.

lrt

A list containing the results of the global likelihood ratio test: D is the deviance, df is the degrees of freedom, loglik is the maximum log likelihood, loglik_null is the null log likelihood, and p is the p-value.

nevent

The number of transmissions in the data used to fit creg.

table

The coefficient table. Each row corresponds to an estimated parameter. The first column has point estimates, the second and third columns have confidence limits, and the last column has p-values.

type

String giving the method used to calculate p-values and confidence intervals.

Author(s)

Eben Kenah kenah.1@osu.edu


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