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

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


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: RE: Formatting very small values in percentage or basis points
Date   Wed, 8 Jan 2003 18:45:44 -0000

Sylvain Friederich 

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

Lee Sieswerda
 
> You could create a new variable that is the original 
> variable multiplied by
> 10000. As in:
> 
> gen x_basis = x*10000
> summ x_basis

I agree with Lee. This looks like more than a formatting 
issue: it is a question of transformation. 

Incidentally, what happened to the negative sign? 

Nick 
[email protected] 
*
*   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