--- Mark Latendresse <[email protected]> wrote:
> I've been using the total command and I keep getting the following
> display output in spite of changing the format of the variable as
> follows: format cigtot %20.0f
-format- influences the way individual values of a variable are
displayed (for instance as it is shown with the -list- command) not the
way a command like -total- displays its results. Some commands have an
option called display that controls the way the results are displayed,
but -total- doesn't have that option. You can display the results of
-total- with -estimates table-, and that allows you to change the
display format. See: example below.
*--------- begin example -------
sysuse auto, clear
replace price = price*10000
total price
estimates table , b(%20.0f)
*--------- end example -----------
Hope this helps,
Maarten
-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands
visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434
+31 20 5986715
http://home.fsw.vu.nl/m.buis/
-----------------------------------------
___________________________________________________________
Inbox full of spam? Get leading spam protection and 1GB storage with All New Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html
*
* 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/