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: "table" showing summary of ~100 ternary variables?


From   Michael Costello <[email protected]>
To   statalist <[email protected]>
Subject   st: "table" showing summary of ~100 ternary variables?
Date   Sat, 30 Oct 2010 13:40:39 -0400

Statlist,

I have about 100 ternary variables (0=incorrect, 1=correct, 2=No
Response, .=Missing) and I would like to get a table of the responses
that looks like this:

-------------------------------------------------------
 |         |     Correct   Incorrect     No Response   .
----------+--------------------------------------------
     Var1 |          2          21             4     21
     Var2 |          8          19            13     18
     Var3 |         30          19             4     19
     Var4 |         18          21            47     22
     Var5 |         11          27             8     30

Maybe I'd even like to add in a proportion of correct or ratio of
correct to incorrect into the table.

Is there a function to do this or something reasonable similar?
-Michael

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index