lrTest | R Documentation |
Compares the change in likelihood between the current model and one subject to contrasts tested in hypothesis
.
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.
lrTest(object, hypothesis, ...)
object |
LMlike or subclass |
hypothesis |
the hypothesis to be tested. See details. |
... |
optional arguments, passed to fitting functions |
array giving test statistics
fit
waldTest
Hypothesis
CoefficientHypothesis
#see ZlmFit-class for examples
example('ZlmFit-class')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.