Statalist The Stata Listserver

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

st: Rounding output to one decimal place

From   "McCulley, Shelby" <>
To   <>
Subject   st: Rounding output to one decimal place
Date   Fri, 30 Mar 2007 07:00:48 -0500

My office is in the process of implementing Stata as our data analysis
tool.  Our standard for reports is that we (nearly always) round numbers
in tables to one decimal point. 

The -format- option appears to work with -table- and -tabstat-, so I can
round output for a table of means or medians (for example).  However,
-tabulate-, which we would use for frequency distributions on
categorical variables, does not accept the -format- option.

. tabulate race, format(%2.1%)
option format() not allowed

Any suggestions would be appreciated.  Most of what I've found on the
internet relates to output for regression or other more-advanced
analyses - I'm hoping there is a simple solution I have overlooked.
Thank you!

Shelby McCulley
Wisconsin Legislative Audit Bureau
Phone: 608.259.9825
Fax: 608.267.0410

*   For searches and help try:

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