Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Formatting very small values in percentage or basis points


From   Lee Sieswerda <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: RE: Formatting very small values in percentage or basis points
Date   Wed, 8 Jan 2003 13:37:22 -0500

You could create a new variable that is the original variable multiplied by
10000. As in:

gen x_basis = x*10000
summ x_basis

Regards,

Lee Sieswerda, Epidemiologist
Thunder Bay District Health Unit
999 Balmoral Street
Thunder Bay, Ontario
Canada  P7B 6E7
Tel: +1 (807) 625-5957
Fax: +1 (807) 623-2369
[email protected]
www.tbdhu.com


> -----Original Message-----
> From:	Friederich,SJ [SMTP:[email protected]]
> Sent:	Wednesday, January 08, 2003 1:21 PM
> To:	[email protected]
> Subject:	Formatting very small values in percentage or basis points
> 
> Dear All,
>  
> Is someone aware of a way to get Stata to display (say, in a -summarize-
> command) a very small value such as:
>  
> -.0005052
>  
> ...formatted as:
>  
> 5.052
>  
> (i.e. in "basis points", one-hundredth of a percentage point)
>  
> Hoping I'm not missing something obvious - thanks for any views.
>  
> Sylvain
>  
>  
>  
> 
> 	 
> 
*
*   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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index