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

st: Re: xtreg, re on null model

From   Christopher F Baum <[email protected]>
To   [email protected]
Subject   st: Re: xtreg, re on null model
Date   Thu, 7 Oct 2004 09:11:42 -0400

On Oct 7, 2004, at 2:33, Garry wrote:

Doing -xtreg y x,i(varname) re
- -test x-
- -xtreg y,i(varname) re
produces the same message as above when the last command is used.

I am using the 6 Oct 2004 versions.

Any suggestions would be appreciated.
Regards, Garry

webuse grunfeld
xtreg invest, re

works fine. I suspect this is because xtreg is relying on -tsset- rather than the -i- argument. Try tsseting your data and see if it works then.

NB As long as you are not using any real time-series functionality, there is nothing wrong with creating a "time" variable from _n within each panel and using that in tsset, even if the data do not have a time dimension.

Kit Baum, Boston College Economics [email protected]

* For searches and help try:

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