Hi to every forumer, my best wishes for this new year to come.
I'd like to create a new local macro (or replace the existing one, I don't mind) containing the log transformation of each element of local number. Do you know how can I do this efficiently? I tried using the macro function subinstr to replace each `element' by "log(`element')" but if I do
I get a series of numbers that are log-transformed, but not separated by any space. this is problematic because I want to include `newnumber' in a graph in the xline() option. Can you please help?
Thank you.
Code:
local number 5 8 7 4 22 6 8
Code:
di `newnumber'
Thank you.
Comment