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: Followup: inverting a stored table of regression results - then exporting to a cvs/excel file


From   Nick Cox <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   RE: st: Followup: inverting a stored table of regression results - then exporting to a cvs/excel file
Date   Thu, 4 Nov 2010 10:20:50 +0000

Nick 
[email protected] 

Eric Booth

Also, to get the second part of the -estout- table to append vertically, not horizontally, you can use -stack- (from SSC):

Replace the preserve/restore section in my prev. example with:

**!   
preserve
clear
insheet using "test.txt", tab nonames
sxpose, clear
stack _var1-_var16, into(v1-v8) clear
drop _stack    
drop in 202   //drops the table title vars//
outsheet using "test_transposed.xls", replace nonames
restore
**!

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