[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: inbase & inten request
. findit egen base
points to -egen- functions -base()- and
-decimal()- within the package -egenmore-
They are not as general as you may wish
but they are available.
> 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: