Dear all,
I want to create new variables by taking logarithms of old variables
and I want to keep old names:
-- gen log_var1 = log(var1) --
If I need to take logs of all the variables in the dataset or at least
of the variables that are named consequently (e.g. var1,
var2...var15), is there a way to generate new variables by a single
command?
Thanks in advance,
Vladimir.
*
* 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/