pval.transph: p-values for estimated coefficients

Description Usage Arguments Value Author(s)

Description

Calculates p-values for coefficient estimates from a transph model using a normal approximation or a likelihood ratio chi-squared statistic.

Usage

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

Arguments

parm

A coefficient name or vector of coefficient names. If missing, p-values are calculated for all estimated parameters.

type

The type of p-value. Options are wald for Wald p-values and lr for likelihood ratio p-values. Likelihood ratio p-values are available only when who-infected-whom is completely observed.

treg

An object of class transph.

Value

A named vector of p-values.

Author(s)

Eben Kenah kenah.1@osu.edu


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