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, is already up and running.

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

RE: st: esttab equivalent for svy data

From   "Gupta, Sumedha" <>
To   "" <>
Subject   RE: st: esttab equivalent for svy data
Date   Tue, 10 May 2011 20:15:27 +0000

Hi Steve,

Thank you so much for your reply and sorry for not knowing that I had to send output from standard data. I will keep that in mind from now on.

You were right, I was making an error. It works now! Many thanks. I do have a follow up question though. How can I append several regression results using esttab? For instance,

. sysuse auto
(1978 Automobile Data)

. eststo: quietly regress price weight mpg
(est1 stored)

. eststo: quietly regress price weight mpg foreign
(est2 stored)

This would give me :

. esttab

                      (1)             (2)   
                    price           price   
weight              1.747**         3.465***
                   (2.72)          (5.49)   

mpg                -49.51           21.85   
                  (-0.57)          (0.29)   

foreign                            3673.1***

_cons              1946.1         -5853.7   
                   (0.54)         (-1.73)   
N                      74              74   
t statistics in parentheses
* p<0.05, ** p<0.01, *** p<0.001

But what if rather than having results of model 1 and 2 placed horizontally next to each other I want to stack them on top of each other. Can you please advise me on how I may be able to achieve that? I will really appreciate your input.


From: [] on behalf of Steven Samuels []
Sent: Monday, May 09, 2011 5:48 PM
Subject: Re: st: esttab equivalent for svy data


I think you've made a mistake someplace. If you don't show us your code applied to a standard survey data set and what Stata said in response (as requested in the FAQ), we can't tell you what the mistake is. Here is syntax that works.

sysuse auto, clear
svyset _n
eststo: svy: reg price weight mpg
esttab, ar2 label


On May 9, 2011, at 2:13 PM, Gupta, Sumedha wrote:


Can somebody advise me please of a method for making regression tables for svy data using Stata? I don't seem to be able to use eststo followed with esttab. That would have been perfect to make tables and export to latex. Is there a similar command for use with svy?

Any input will be much appreciated.
Many thanks.

*   For searches and help try:

*   For searches and help try:

*   For searches and help try:

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