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

st: obvious error?


From   Scott Cunningham <[email protected]>
To   [email protected]
Subject   st: obvious error?
Date   Tue, 18 Oct 2005 13:27:00 -0400

This is stumping me. Here's a sample of my code and the error I'm getting. I know I'm doing some obviously wrong, but it's so obvious that I can't see it.

. local y rp
. local x1lsr age age2 hgc
. local x3 lsr age age2 hgc i.year state*

. xi: xtreg `y' `x1', fe i(id) robust
last test not found
r(302);

I get the same error even when I run the following regression:

. xi: xtreg `y' `x3', fe i(id) robust
last estimates not found
r(301);

So I know it's not just the fact that I'm using the -xi- operator without including the year dummies for the first FE regression. Why is it asking me for "last estimates"?

Thanks ahead of time.


scott
*
* 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