Displaying 1 result from an estimated 1 matches for "p2r".
Did you mean:
p2m
2010 Jun 07
2
Computing day-over-day log return for a matrix containing multiple time series
Hi all,
Thanks a lot for anyone's help in advance.
I am trying to find a way to compute the day-to-day return (log return) from
a n x r matrix containing, n different stocks and price quotes over r days.
The time series of prices are already split by using unstack function.
For the result, I would like to see a n x (r-1) matrix, where by each entry
is the day-over-day return of