Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: store tabulate command results in excel


From   Anisa Shyti <anisa.shyti@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: store tabulate command results in excel
Date   Mon, 12 Mar 2012 22:07:23 +0100

I need to store in excel or any other support the results of a two-way
tabulate command.  My variables are: question, condition and asnwer.
I have N questions, three conditions for each question, and Y or N
answers by subjects.

The tab command (by question, sort: tab condition answer, row) gives
exactly what I need. For each question (distinguished by id) and each
condition, I have the number and percentage of Y and N answers and the
Total - in columns.

Still, I would like to be able to store these results in excel or any
other support, instead of copy pasting.  I tried using the tabout
command (my case is a 2x1 table) - it does not give me the desired
format.
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index