A possible answer involves the -parmest- package, downloadable from SSC.
The -parmest- package inputs the results of an estimation command (such
as -total-) and outputs an output dataset (or resultsset), with 1
observation per estimated parameter, and data on estimates, confidence
limits, P-values and other parameter attributes, all of which may have
any format the user selects. This resultsset may be listed to the Stata
log and/or output to a disk file and/or saved to the memory (replacing
any existing data).
For instance, in your example, you might type, after the -total-
command,
parmest, list(parm estimate stderr min95 max95) format(estimate stderr
min95 max95 %10.2f)
and the parameters, with their names, estimates, standard errors and
confidence limits will be listed, with all estimates, standard errors
and confidence limits formatted using the Stata format %12.2f (12 bytes
wide, 2 decimal places). There are a lot more tricks you can do with the
-parmest- package.
I hope this helps.
Roger
Roger Newson
Lecturer in Medical Statistics
Respiratory Epidemiology and Public Health Group
National Heart and Lung Institute
Imperial College London
Royal Brompton campus
Room 33, Emmanuel Kaye Building
1B Manresa Road
London SW3 6LR
UNITED KINGDOM
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Email: [email protected]
Web page: www.imperial.ac.uk/nhli/r.newson/
Departmental Web page:
http://www1.imperial.ac.uk/medicine/about/divisions/nhli/respiration/pop
genetics/reph/
Opinions expressed are those of the author, not of the institution.
________________________________
From: [email protected]
[mailto:[email protected]] On Behalf Of Robert
Ostergard
Sent: 06 December 2007 17:14
To: [email protected]
Subject: st: Scientific Notation Problem
Hi Everyone,
This would seem like such an easy question, but I can't seem to find an
answer anywhere online or in books.
I have data for the 2000 US Presidential election by counties in the US.
All I want to do is to get a total vote for
Each candidate. When I use the total command (total gore), this is the
result I get.
Total estimation Number of obs = 3155
--------------------------------------------------------------
| Total Std. Err. [95% Conf. Interval]
-------------+------------------------------------------------
gore | 5.12e+07 3210227 4.49e+07 5.75e+07
--------------------------------------------------------------
My question is: how can I get the totals to appear without scientific
notation? I have already tried reformatting the
Variables and that doesn't work. I've spent two days now, off and on,
trying to figure this out and feel a bit foolish
Given that it seems like a simple question.
Thanks for any help or advice you can provide.
Bob
--
Robert L. Ostergard, Jr.
Assistant Professor
Department of Political Science
Mack Social Science, MS 302
1664 N. Virginia St.
University of Nevada, Reno
Reno, NV 89557-0060
Tel: (775) 682-7767
Fax: (775) 784-1473
Email: [email protected]
Website: www.robertostergard.us
H. L. Mencken - "Democracy is the art and science of running the circus
from the monkey cage."
*
* 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/