pval.transreg: p-values for estimated parameters

Description Usage Arguments Value Author(s)

View source: R/transreg.R

Description

Calculates p-values for estimated parameters from a transreg model using a normal approximation or a likelihood ratio chi-squared statistic.

Usage

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

Arguments

treg

An object of class transreg.

parm

A parameter name or vector of parameter 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. The latter are more accurate but more computationally intensive.

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.