waldTest {MAST} | R Documentation

## Run a Wald test

### Description

Run a Wald tests on discrete and continuous components `hypothesis` can be one of a `character` giving complete factors or terms to be dropped from the model, `CoefficientHypothesis` giving names of coefficients to be dropped, `Hypothesis` giving contrasts using the symbolically, or a contrast `matrix`, with one row for each coefficient in the full model, and one column for each contrast being tested.

### Usage

    waldTest(object, hypothesis)

### Arguments

`object` | LMlike or subclass
`hypothesis` | the hypothesis to be tested. See details.

### Value

array giving test statistics

### See Also

fit

lrTest

lht

### Examples

    #see ZlmFit-class for examples
    example('ZlmFit-class')

[Package MAST version 1.14.0 Index]