I need to calculate daily, weekly and monthly rates of return (r_t=ln(P_t⁄P_(t-1) ) for all series, but I have daily data. How can I convert daily data to weekly and monthly data?
I tried to do it in R but I could not
I need to calculate daily, weekly and monthly rates of return (r_t=ln(P_t⁄P_(t-1) ) for all series, but I have daily data. How can I convert daily data to weekly and monthly data?
I tried to do it in R but I could not