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: outreg2 Non-Zero Decimals


From   John Luke Gallup <[email protected]>
To   [email protected]
Subject   Re: st: outreg2 Non-Zero Decimals
Date   Fri, 28 Sep 2012 17:46:56 -0700

I am not sure what you are trying to do here.  I think you want to show decimal places (up to some maximum number, presumably) only if they are non-zero.  This seems odd to me since it may give a distorted picture of the number of significant digits if an accurate coefficient estimate happens to end in a zero.

-outreg-, and I think -outreg2-, allows you to specify any Stata-supported numerical format with the -bfmt- option.  There isn't any Stata format which shows just non-zero decimals however, so you would have to manually specify the number of decimals shown for each coefficient, which you can do with the -bdec- option.

John

On Sep 28, 2012, at 5:52 AM, mai7777 <[email protected]> wrote:

> Hi,
> Is there a way on the -outreg2- command to impose the number of
> non-zero decimals. Using [dec(#)] dictates only the number of
> decimals, but they can be all zeros. Removing the bdec(#) sets auto
> digits which will yield a different number of digits in each line,
> which is not in publication format.
> 
> Thanks!
> *
> *   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/


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


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index