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

Re: st: areg vs xtreg, fe

From   "Austin Nichols" <>
Subject   Re: st: areg vs xtreg, fe
Date   Thu, 7 Feb 2008 16:40:29 -0500

I have not seen this problem before.  Can you post the necessary
subset of the data on the web somewhere, and post the code that
produces the problem on Statalist?  Then we can just type something

xtreg mval inv, i(com) fe
areg mval inv, abs(com)

to see the error message.

You might also -set trace on- to see where in the areg code the error
message is coming from.

On Feb 4, 2008 12:22 PM, jenny.montaldo <> wrote:
> Another related question concern the estimates for white collars. The xtreg, fe have an overall r^2 of 0.27 (much better than the previous one). However when I try the areg command it says that the matrix is not positive definite (I use also some lagged values of my variable of interests in the estimation).
*   For searches and help try:

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