hausman | R Documentation |
Hausman test; under the null both models are consistent but one of them is more efficient, under the alternative, only one model is consistent
hausman(x, y, omit = FALSE, ...)
## S3 method for class 'ivreg'
hausman(x, y, omit = FALSE, ...)
## S3 method for class 'micsr'
hausman(x, y, omit = NULL, ...)
x |
the first model, |
y |
the second model |
omit |
a character containing the effects that are removed from the test |
... |
further arguments |
an object of class "htest"
.
Yves Croissant
HAUS:78micsr
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.