[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: Copy table--how to consistently get correct tab stops

From   "Mak, Timothy" <>
To   <>
Subject   RE: st: Copy table--how to consistently get correct tab stops
Date   Fri, 6 Jul 2007 09:47:35 +0100

I don't use SAS so I cannot comment on SAS, but I have to say Stata is
far far more flexible in its output of nicely formatted tables than SPSS
can ever be. I don't use the Copy Table function, but what I do is I use
the -display- function to get the stats in exactly the format I want. Ok
I don't know how to generate a 'tab' in Stata, but instead of tab, I can
generate a funny piece of string, say "zzz" or something, and use copy
text in Stata to paste the whole thing in Word. Use Find/Replace to
change all the "zzz" to tabs, then use Convert text to table in Word.
Voila. Done! No need to fix up decimal places, change the order of the
stats, etc. Output is always consistent as long as you type your
-display- function the same way. Down side is, of course you need to
learn to write the -display- command, but the time saved will soon make
it worthwhile. 


PS An even quicker way is to use paragraph marks instead of tabs, and
then just use Convert text to table in Word, and adjust the number of

-----Original Message-----
[] On Behalf Of Richard
Sent: 06 July 2007 08:26
Subject: Re: st: Copy table--how to consistently get correct tab stops

I can add to David's post that I have been in discussions about
purchases of software in different statistical organisations and the
issue of producing nicely formatted tables and exporting them to word
and excel has often been brought up as an argument against Stata. I know
that there are different ways to handle this in Stata, but at least in
my opinion this is something that is easier to do in SPSS and SAS. If
there is a wish list for future versions of Stata I think this is an
area that could be improved (maybe with a optional table output
window?) and I think it would help to convince more people to switch to

All the best,

On 7/6/07, Richard Williams <> wrote:
> At 04:30 PM 7/5/2007, wrote:
> >I was able to duplicate the problem in Stata 9 but had no such 
> >problem in Stata 10.  I will investigate the problem further and
report back to the list.
> I replicate the problem in Stata 10.  I'm using Windows XP and 
> Microsoft Office 2003.
> -------------------------------------------
> Richard Williams, Notre Dame Dept of Sociology
> OFFICE: (574)631-6668, (574)631-6463
> HOME:   (574)289-5227
> EMAIL:  Richard.A.Williams.5@ND.Edu
> WWW:
> *
> *   For searches and help try:
> *
> *
> *
*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index