Description Usage Arguments Details Author(s) References See Also Examples
An average annualized return is convenient for comparing returns.
1 | Return.annualized(R, scale = NA, geometric = TRUE)
|
R |
an xts, vector, matrix, data frame, timeSeries or zoo object of asset returns |
scale |
number of periods in a year (daily scale = 252, monthly scale = 12, quarterly scale = 4) |
geometric |
utilize geometric chaining (TRUE) or simple/arithmetic chaining (FALSE) to aggregate returns, default TRUE |
Annualized returns are useful for comparing two assets. To do so, you must scale your observations to an annual scale by raising the compound return to the number of periods in a year, and taking the root to the number of total observations:
prod(1 + Ra)^(scale/n) - 1
where scale is the number of periods in a year, and n is the total number of periods for which you have observations.
For simple returns (geometric=FALSE), the formula is:
mean(R)*scale
Peter Carl
Bacon, Carl. Practical Portfolio Performance Measurement and Attribution. Wiley. 2004. p. 6
1 2 3 4 | data(managers)
Return.annualized(managers[,1,drop=FALSE])
Return.annualized(managers[,1:8])
Return.annualized(managers[,1:8],geometric=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.