Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Hausman test and probit estimations


From   Tinna <statalist@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Hausman test and probit estimations
Date   Mon, 12 Sep 2005 12:27:20 -0400

Dear Statalisters,

Can I use the hausman specification test to compare probit and ivprobit?
I keep getting the following error message:

"no coefficients in common; specify equations(matchlist)
for problems with different equation names."

I don't understand why. Am I doing something wrong?

My commands follow if anyone has the time to look at them
Thanks Tinna

.quietly ivprobit employment age agesq edu2 edu3 edu4 edu5 edu6
marriage2 marriage3 marriage4 children (OVERWbmi = diet2 diet3) if
male==1

. est store consistent

. quietly probit employment age agesq edu2 edu3 edu4 edu5 edu6
marriage2 marriage3 marriage4 children OVERWbmi if male==1

. hausman consistent .

no coefficients in common; specify equations(matchlist)
for problems with different equation names.
r(498);

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index