Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: suest equivalent for areg.


From   "Gupta, Sumedha" <sugupta@iupui.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: suest equivalent for areg.
Date   Wed, 18 May 2011 19:13:39 +0000

Dear All,

I am trying to estimate a linear fixed effects model with survey data. Post estimation I want to use esttab to make my tables. I try the following code (sorry for not using the standard data code for this):

. quietly  eststo R1: xi: areg  A B  if subpop1==1 [pweight=wt], absorb (id) vce(cluster id)

. quietly  eststo R2: xi: areg A C  if subpop1==1 [pweight=wt], absorb (id) vce(cluster id)

. quietly suest R1 R2

But then I get the following error message:

areg is not supported by suest
r(322);

Can somebody please advise me on a way around this?

Many thanks.
Sumedha.








*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index