Bookmark and Share

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


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

st: suest equivalent for areg.


From   "Gupta, Sumedha" <[email protected]>
To   "[email protected]" <[email protected]>
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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index