Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: RE: table formating procedures


From   "David E Moore" <[email protected]>
To   [email protected]
Subject   st: RE: RE: table formating procedures
Date   Tue, 19 Jul 2005 12:05:20 -0700

For users of Stata 9, I have an ado that handles problems such as these.
Its original purpose was to generate compact tables for reporting multiple
response data, but I've generalized it to be useful for many similar
situations.

The syntax to generate your table, for example, would look like:

. pcent var2-var7, inc(mean) by(var1)

and

. pcent var2-var7, inc(mean) by(var1) out(var2_7Xvar1.txt)

would create a tab delimited file of the output (called "var2_7Xvar1.txt")
suitable for importing and manipulating by another program, such as Excel.

Anyone interested in trying it out can send me an email and I'll give you a
copy.  If there is sufficient interest, I'll make it more generally
available through the usual channels.

Dave


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: Monday, July 18, 2005 4:56 PM
To: [email protected]
Subject: st: table formating procedures

Hi everyone,
�
I'm still having trouble getting stata to layout descriptive tables the way
I need them. Is there any manual that would have tables & instructions on
how to create them? I'm having a hard time figuring it out from the regular
stata manuals & help. I'm trying to get a table of means for multiple
variables by�category�of variable1�and total:
�
���������� var1=A var1=2 var1=3 total
var2
var3
var4
var5
var6
var7
�



*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index