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

From |
"Nick Cox" <n.j.cox@durham.ac.uk> |

To |
<statalist@hsphsun2.harvard.edu> |

Subject |
st: RE: decimal points/format using outsum command |

Date |
Tue, 25 Mar 2008 11:12:40 -0000 |

-outsum- is a user-written command available from SSC. No such options are documented in the help, nor are there any such undocumented. Your best question may be to clone the program, add a -format(str)- option and then change lines like these replace stats=string(round(`mean',0.0001)) in 1 replace stats="("+string(round(`sd',0.0001))+")" in 2 if "`noparen'"~="" { replace stats=string(round(`sd',0.0001)) in 2 } if "`bracket'"~="" { replace stats="["+string(round(`sd',0.0001))+"]" in 2 } so that they look more like this replace stats=string(`mean', "`format'")) in 1 Alternatively, writing your own program using -file- would be instructive. Nick n.j.cox@durham.ac.uk daphna bassok I am using the outsum command to create various descriptive tables. The command is extremely useful. However, I can't seem to figure out how to adjust the decimal places for the means and standard deviations. I know with outreg there are options such as bdec and tdec to do this. Is there something similar for outsum? * * 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/

**References**:**st: decimal points/format using outsum command***From:*daphna bassok <dbassok@stanford.edu>

- Prev by Date:
**Re: st: computing average partial effect in nonlinear models using forecasted distribution of x-variables** - Next by Date:
**Re: st: mlogit and mfx -- statistical significance** - Previous by thread:
**st: decimal points/format using outsum command** - Next by thread:
**st: correlation among residuals** - Index(es):

© Copyright 1996–2015 StataCorp LP | Terms of use | Privacy | Contact us | What's new | Site index |