Skip to content
Prev 3944 / 15274 Next

great conference and a question

Hodgess, Erin wrote:
You can use quantmod to download a price series for the index, and then 
use Return.calculate or other methods to generate a return series.  
Perhaps this goes without saying, but to do returns analysis, it is 
generally best to have the price series first, as what you most likely 
want is to calculate simple per-period returns before doing your 
analysis; log returns are only useful for things like a cumulative 
return chart or wealth index.

Regards,

     - Brian