Statalist


[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" <Timothy.Mak@iop.kcl.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
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. 

Tim 

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
columns. 


-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Richard
Ohrvall
Sent: 06 July 2007 08:26
To: statalist@hsphsun2.harvard.edu
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
Stata.

All the best,
Richard

On 7/6/07, Richard Williams <Richard.A.Williams.5@nd.edu> wrote:
> At 04:30 PM 7/5/2007, cnguyen@stata.com 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:    http://www.nd.edu/~rwilliam
>
> *
> *   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/

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



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