Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: RE: FW: Scientific Notation with svy
From
"Radwin, David" <[email protected]>
To
<[email protected]>
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: [email protected] [mailto:owner-
> [email protected]] On Behalf Of Sabbatini, Amber
> Sent: Monday, June 10, 2013 10:09 AM
> To: [email protected]
> 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/