contrastNBth | R Documentation |

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

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

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

estimate, contrasts estimate

wald_stat, Wald test statistics

p_value, p value of Wald test

se, standard error

```
data(NBthmDEmod2)
coeff <- contrastNBth(NBthmDEmod2)
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.