Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: xtoverid following xtreg returning an error

From   Jason Park <>
Subject   st: xtoverid following xtreg returning an error
Date   Fri, 18 Oct 2013 18:18:04 +0800

Hi all,

I got some wierd error when I used xtreg, re followed by xtoverid.
The error message reads:
4b:  operator invalid

The reason to use xtoverid in the first place is to get around the
problem of a negative Chi-sq statistic from Hausman test upon
xtreg, re
estimate store, random
xtreg, fe
estimate store, fixed
hausman fe re

Given that Hausman test doesn't always gurantee a positive stat, some
argue such a negative statistic is qualitatively identical to a small
stat, hence supporting re, but I don't know if that's really how I
should report in an academic publication.
Having tried the instruction on this webpage:, I'm very sure xtoverid is compatible with
xtreg, but it's just that this doesn't work for my dataset.

Could anyone lend some help?

Best, J
*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index