Statalist


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

st: numeric format


From   Sandra Rayman <[email protected]>
To   [email protected]
Subject   st: numeric format
Date   Fri, 14 Aug 2009 18:32:38 +0200

Dear listers,

This is my first question to Statalist, and I'm afraid it's a bit of a
basic one. I need a basic table of statistics and the problem I am
having is that the numbers are shown in exponential rather than
regular format. From the help function I read how to use the format
command but the problem remains.

I am using survey data and just need a basic table of the number of
people, in each year, by race. The command I am using is:
table date race [fweight = weight], format(%15.0g)

I have tried increasing the number in the format command more and more
(e.g. format(%18.0g)) but all that happens is that the columns get
wider and the numbers are shown as e.g. 1.16e+07 whereas I need the
full numbers. I know this should be easy, but from the help function
and statalist archive I can't figure out how to do it.

yours,
Sandy
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index