contrastNBth-methods: Generate list of Wald test inference results on user...

contrastNBthR Documentation

Generate list of Wald test inference results on user specified contrasts

Description

Generate list of Wald test inference results including contrast estimation and p value

Usage

contrastNBth(object, ...)

## S4 method for signature 'list'
contrastNBth(
  object,
  test = c("two-sided", ">", "<"),
  method = diag(1, ncol(object$X)),
  baseline = rep(0, ncol(method))
)

Arguments

object

DE model, output by fitNBthDE or fitNBthmDE

...

additional argument list that might be used

test

type of statistical test, choose from c("two-sided", ">", "<")

method

contrasts methods, only matrix of contrast vector is allowed for now, default=diag(1,ncol(object$X)), i.e. testing the regression coefficients

baseline

testing baseline, default=0.

Value

  • estimate, contrasts estimate

  • wald_stat, Wald test statistics

  • p_value, p value of Wald test

  • se, standard error

Examples

data(NBthmDEmod2)
coeff <- contrastNBth(NBthmDEmod2)

Nanostring-Biostats/GeoDiff documentation built on April 11, 2024, 5:31 a.m.