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

st: inbase & inten request


From   Kaleb Michaud <[email protected]>
To   [email protected]
Subject   st: inbase & inten request
Date   Thu, 17 Jun 2004 15:51:03 -0700

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

Thanks!
Kaleb...

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