summary.transreg: Summary of fitted transreg model

Description Usage Arguments Value Author(s)

View source: R/transreg.R

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 'transreg'
summary(treg, conf.level = 0.95, conf.type = "wald")

Arguments

treg

An object of class transreg.

conf.level

The confidence level (1 - alpha).

conf.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.

Value

A list with class transreg_summary that contains the following objects:

call

The call to transreg with complete formal arguments.

dist

String naming the internal contact interval distribution.

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.

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_name

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

xdist_name

A string giving the name of the external contact interval distribution; NULL if model has no ext term.

Author(s)

Eben Kenah kenah.1@osu.edu


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