Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: sutex


From   Martin Weiss <[email protected]>
To   [email protected]
Subject   Re: st: sutex
Date   Tue, 19 Aug 2008 00:11:22 +0200

Finding the lines of sutex.ado responsible for this behavior is probably the easy part: lines 117 to 132 define a "local nbdec" which is subsequently used to -round- the statistics. Line 232 features the -round-ing of the mean, 233 the sd, 260 min and 270 max...

HTH
Martin

Quoting Daniel Becker <[email protected]>:


Dear statalisters,

I am using sutex to write a file with a table of summary statistics. It
seems as if the the option digits(2) works as follows

1.101 => 1.1

Is it possible to convince sutex to do the rounding like

1.101 => 1.10 ????

I looked in the code of the sutex-command, but could not find the part
that is responsible for the rounding.

Thanks for your help,

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


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