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: RE: FW: Scientific Notation with svy


From   "Radwin, David" <dradwin@rti.org>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: FW: Scientific Notation with svy
Date   Mon, 10 Jun 2013 13:16:03 -0400

You could follow this command with

. display %20.10f _b[admitted]

. display %20.10f _se[admitted]

Also, Stata is not an acronym and is better rendered without capitalizing all letters.

David
--
David Radwin
Senior Research Associate
Education Studies Division
RTI International
2150 Shattuck Ave., Suite 800
Berkeley, CA 94704
Phone: 510-665-8274

www.rti.org


> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-
> statalist@hsphsun2.harvard.edu] On Behalf Of Sabbatini, Amber
> Sent: Monday, June 10, 2013 10:09 AM
> To: statalist@hsphsun2.harvard.edu
> Subject: st: FW: Scientific Notation with svy
> 
> 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


*
*   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