I'd be surprised if there wasn't a FAQ on this, but the procedure is quite
easy with practice.
If you like matrices and work in LaTeX, you can use -outtable-. If you
don't, but are trying to output estimation results, you can try -outreg- and
-mktab-. If you just want to get a regular old table out of Stata, produce
the table in the Results window, then select the table, right-click, and
choose "Copy Table". This eliminates the lines puts the table data in
tab-delimited format on the clipboard from whence you can paste it anywhere
you like. Personally, I find word processors less good at accepting
tab-delimited text, but spreadsheets usually have no trouble. Once in a
spreadsheet, you can format to your heart's content.
Lee
Lee Sieswerda, Epidemiologist
Thunder Bay District Health Unit
999 Balmoral Street
Thunder Bay, Ontario
Canada P7B 6E7
Tel: +1 (807) 625-5957
Fax: +1 (807) 623-2369
[email protected]
www.tbdhu.com
> -----Original Message-----
> From: Christopher W. Ryan [SMTP:[email protected]]
> Sent: Friday, January 31, 2003 5:43 PM
> To: [email protected]
> Subject: st: how to get tables into publishable format
>
> Relatively new to Stata. running version 8 (sometimes 7) on Win 98.
>
> What is a good way to get tables from the results window, or a log file,
> into
> another piece of software used for writing research papers (eg OpenOffice,
> MS
> Word, Excel, etc.)? Journal editors often (usually) want their tables in
> some
> particular format. I want to copy-and-paste, not type the table over
> again.
> And I want the table formatted nicely, with vertical lines delineating
> columns;
> borders, headings, etc.
> Thanks.
>
> --Chris
> --
> Christopher W. Ryan, MD
> SUNY Upstate Medical University Clinical Campus at Binghamton
> and Wilson Family Practice Residency
> 40 Arch Street, Johnson City, NY 13790
> [email protected]
> Public key generated with PGP 602i available at
> http://home.stny.rr.com/ryancw/PGP602ipublickey.html
> or via http://wwwkeys.us.pgp.net:11371
>
> "If you want to build a ship, don't drum up the men to gather wood, divide
> the
> work and give orders. Instead, teach them to yearn for the vast and
> endless
> sea." [Antoine de St. Exupery]
>
>
>
> *
> * For searches and help try:
> * http://www.stata.com/support/faqs/res/findit.html
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/