Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: FW: Scientific Notation with svy


From   "Sabbatini, Amber" <asabbati@med.umich.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: FW: Scientific Notation with svy
Date   Mon, 10 Jun 2013 17:09:23 +0000

Hi,

I am using HCUP data with survey weights to generate national estimates.
I have a dichotomous variable
admitted, which corresponds to being admitted to the hospital from the
emergency department.

Very simply, when I run the svy command >     svy: total admitted      >
the output is in scientific notation.



Survey: Total estimation

Number of strata =      77       Number of obs    =   22501784
Number of PSUs   =     961       Population size  =  101643816
                                 Design df        =        884

--------------------------------------------------------------
             |             Linearized
             |      Total   Std. Err.     [95% Conf. Interval]
-------------+------------------------------------------------
    admitted |   1.87e+07   468977.5      1.78e+07    1.96e+07
--------------------------------------------------------------



I have tried placing ,format(%20.10f) on the end of the command, but I get
an error message that format is not allowed.  When I read info from STATA
about svy, it states that STATA will allow numbers to 99 trillion before
it will report in scientific notation,
 so I am not sure what is happening.  I am using STATA v.12

Any help to turn off the scientific notation would be great.

Thanks,

Amber Sabbatini, MD MPH
University of Michigan






**********************************************************
Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues 


*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index