g raw_return = log(price[_n]/price[_n-1])
Could you please tell me which code I need to use?
Thank you very much in advance for your help,
Have a wonderful day,
Nathan Converting daily returns to weekly returns in Stata
Dear Shah,
I'm a student and looking for help about converting daily returns to weekly returns in Stata. In fact, I read some of your posts and tried to use ascol without success.
the code for raw_return is :