. findit egen base
points to -egen- functions -base()- and
-decimal()- within the package -egenmore-
on SSC.
They are not as general as you may wish
but they are available.
Nick
[email protected]
Kaleb Michaud
> These are great programs for quick conversion between decimal based
> numbers, but are limited in only being able to do one at a time.
>
> Has anyone created an egen function for these programs?
> If not, it would be nice if Stata could incorporate these into new
> functions. Something like:
>
> gen newvar = inbase(x, b)
>
> gen xb2 = inbase(x,2)
>
> where x is numeric expression and 2 or b is the new base
> expression and so
> forth. Being able to change the base by observation is also handy.
>
> Just one to add to the request list for an update or Vers.9. :)
>
> ( OR someone with spare time could probably do this in a few
> hours for egen.)
*
* 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/