Learn R Programming

micsr (version 0.1-1)

hausman: Hausman test

Description

Hausman test; under the null both models are consistent but one of them is more efficient, under the alternative, only one model is consistent

Usage

hausman(x, y, omit = FALSE, ...)

# S3 method for ivreg hausman(x, y, omit = FALSE, ...)

# S3 method for micsr hausman(x, y, omit = NULL, ...)

Value

an object of class "htest".

Arguments

x

the first model,

y

the second model

omit

a character containing the effects that are removed from the test

...

further arguments

Author

Yves Croissant

References

HAUS:78micsr