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]

Re: st: scientific notation turn off


From   Maarten Buis <maartenlbuis@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: scientific notation turn off
Date   Mon, 23 Jan 2012 12:29:56 +0100

On Mon, Jan 23, 2012 at 12:18 PM, Abu Camara  wrote:
> I am running the following tabulation but Stata gives the following
> output in scientific notation
> which I don't want. I want them non scientific notation.

You can use the -format()- option to change the format, e.g.:

*---------- begin example ---------------
sysuse auto, clear
replace price = price*1000
table rep78, c(sum price)
table rep78, c(sum price) format(%11.0g)
*----------- end example ----------------
(For more on examples I sent to the Statalist see:
http://www.maartenbuis.nl/example_faq )

Hope this helps,
Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany


http://www.maartenbuis.nl
--------------------------
*
*   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