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]

st: RE: Creating a frequency table with multiple rows


From   "David Radwin" <[email protected]>
To   <[email protected]>
Subject   st: RE: Creating a frequency table with multiple rows
Date   Wed, 14 Nov 2012 09:57:00 -0800 (PST)

Max,

I think Ian Watson's -tabout- (SSC) may be your best bet. It will create
LaTeX tables. For Word, you can choose between tab- or comma-separated
value tables (perhaps imported into Excel first) or HTML.

My recollection is that the program is geared toward three-way tables and
you may have to trick it into creating two-way tables like your example by
creating a variable whose values are all equal to one. Consult the
included PDF documentation, too.

David
--
David Radwin
Senior Research Associate
MPR Associates, Inc.
2150 Shattuck Ave., Suite 800
Berkeley, CA 94704
Phone: 510-849-4942
Fax: 510-849-0794

www.mprinc.com


> -----Original Message-----
> From: [email protected] [mailto:owner-
> [email protected]] On Behalf Of Meulemann Max
> Sent: Wednesday, November 14, 2012 7:24 AM
> To: [email protected]
> Subject: st: Creating a frequency table with multiple rows
>
> Im using Stata 12 and this questions has already been asked on statalist
a
> while ago, http://www.stata.com/statalist/archive/2007-04/msg00976.html
>
> Can someone please recommend to me a way to create a frequency table
> with multiple rows, one row per variable?
>
> I've got survey data and many of the questions were typical 5-point
> likert scales, where a particular question was asked of 6-12 different
> subquestions. Each variable corresponds to a subquestion, and is
> typically coded 1-5. I'd like to output the data like this:
>
>       1     2    3     4    5      N
> q2a   6    15   33    29   27   1459
> q2b   2    26   48    20    4   1424
>
> The solution for this was to use tabm which works fine for me personally
> in Stata, but I was wondering if someone has written any new programme
to
> export the output to Word or Latex? I could not find anything so far.
>
> Best
>
> Max

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index