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: tabulation question
From 
 
Nikolaos Pandis <[email protected]> 
To 
 
[email protected] 
Subject 
 
st: tabulation question 
Date 
 
Mon, 4 Nov 2013 21:42:10 +0200 
Hi,
Is there a way to put the levels of the categorical variable (1-3)
into the columns and the frequencies in the rows?
Thank you,
Nick
tabulate catvar
catvar      |
            |
            |      Freq.     Percent        Cum.
------------+-----------------------------------
          1 |         15       10.20       10.20
          2 |         16       10.88       21.09
          3 |        116       78.91      100.00
------------+-----------------------------------
      Total |        147      100.00
*
*   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/