Hausman Specification Test for Two List Experiment Regression Fit Objects
ict.hausman.test(ml, nls, abs = FALSE, psd = FALSE)
List containing Hausman statistic, p-value, and the degrees of freedom of the test.
Maximum likelihood model fit, for example from ictreg(method = "ml")
NLS model fit, for example from ictreg(method = "nls")
Flag to override error when Hausman statistic is negative, which may indicate misspecification. Set to FALSE
to override.
Flag to override error when variance-covariance difference is non-positive semidefinite, suggesting misspecification. Set to TRUE
to override.