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

st: Tables, percentage without decimals


From   "Michael and Rita C. Carlberg" <[email protected]>
To   [email protected]
Subject   st: Tables, percentage without decimals
Date   Wed, 17 Nov 2004 01:47:36 -0800 (PST)

Hi,

This is probably something easy to solve, but I
haven't found a solution, looking at FAQ or previous
messagee to the list.

I simply want Stata to show the result without
decimals, when I make a table, for example:

tabulate fraga16

   Fraga16 |      Freq.     Percent        Cum.
------------+-----------------------------------
          1 |        137       19.97       19.97
          2 |        353       51.46       71.43
          3 |         92       13.41       84.84
          4 |         71       10.35       95.19
          5 |         20        2.92       98.10
          9 |         10        1.46       99.56
        999 |          3        0.44      100.00
------------+-----------------------------------
      Total |        686      100.00


I want the result to look something like this:

   Fraga16 |      Freq.     Percent        Cum.
------------+-----------------------------------
          1 |        137       20          20
          2 |        353       51          71
          3 |         92       13          85
          4 |         71       10          95
          5 |         20        3          98
          9 |         10        1         100
        999 |          3        0         100
------------+-----------------------------------
      Total |        686      100


Thanks,

Michael



		
__________________________________ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 

*
*   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