Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: hausman test for fixed effect logit vs. simple logit


From   "Yun Liu" <[email protected]>
To   [email protected]
Subject   st: hausman test for fixed effect logit vs. simple logit
Date   Mon, 23 Apr 2007 18:04:36 -0400

Dear Statalister,

I am trying to test whether a fixed effect logit (xtlogit) is a better
fit than simple logit (logit). An error appeared when I did the
hausman test. Could someone help me out? Thank you!

xtlogit y x1 x2 x3, fe i(igrp)
est store panel
logit y x1 x2 x3
hausman panel

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

Yun
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index