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]

re: st: AW: Labeling variable values in Regression Tables


From   Christopher Baum <[email protected]>
To   <[email protected]>
Subject   re: st: AW: Labeling variable values in Regression Tables
Date   Thu, 10 Jun 2010 14:45:15 -0400

<>
Thomas said

Thanks, Kit.  Is it possible, after extracting the label texts and
building the coeflabels list, to apply them directly to the regression
output?  I tried running the regression command (reg price i.rep78)
after the forvalues loop and it didn't work.  I need to install eststo,
esttab to see the effects.

No, because standard Stata regression output displays variable names. You need to use some post-processing
routine that has the ability to alter the variable names. For instance, for non-categorical variables, -esttab- will display
variable labels rather than variable names. But there is no way to tell -regress- to do that.

So do 

eststo: qui regress...
(set up coeflist)
esttab...

and what you will see is the output with relabeled variables.


Kit Baum   |   Boston College Economics & DIW Berlin   |   http://ideas.repec.org/e/pba1.html
                              An Introduction to Stata Programming  |   http://www.stata-press.com/books/isp.html
   An Introduction to Modern Econometrics Using Stata  |   http://www.stata-press.com/books/imeus.html


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