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 at the end of May, and its replacement, statalist.org is already up and running.


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

re: st: outreg after fairlie decomposition


From   Christopher Baum <kit.baum@bc.edu>
To   <statalist@hsphsun2.harvard.edu>
Subject   re: st: outreg after fairlie decomposition
Date   Sat, 30 Oct 2010 13:53:18 -0400

<>
Ambrish said

I am using 'fairlie' command to perform decomposition. I was wondering
whether there is any command, on the lines of outreg or outreg2
available which will allow me to export the results to excel in a
proper format.

use http://fmwww.bc.edu/RePEc/bocode/h/homecomp.dta
ssc inst estout, replace
eststo:fairlie homecomp female age (educ:hsgrad somecol college) (marstat:married prevmar) if white==1|black==1, by(black)
esttab

I don't do Excel*, sorry. But esttab can output to a format Excel can read.

Kit

* http://www.burns-stat.com/pages/Tutor/spreadsheet_addiction.html

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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index