Return.annualized    package:PerformanceAnalytics    R Documentation

_c_a_l_c_u_l_a_t_e _a_n _a_n_n_u_a_l_i_z_e_d _r_e_t_u_r_n _f_o_r _c_o_m_p_a_r_i_n_g _i_n_s_t_r_u_m_e_n_t_s _w_i_t_h _d_i_f_f_e_r_e_n_t _l_e_n_g_t_h _h_i_s_t_o_r_y

_D_e_s_c_r_i_p_t_i_o_n:

     An average annualized return is convenient for comparing returns.

_U_s_a_g_e:

     Return.annualized(R, scale = NA, geometric = TRUE)

_A_r_g_u_m_e_n_t_s:

       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: generate geometric (TRUE) or simple (FALSE) returns, default
          TRUE 

_D_e_t_a_i_l_s:

     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

_V_a_l_u_e:

     annualized return

_A_u_t_h_o_r(_s):

     Peter Carl

_R_e_f_e_r_e_n_c_e_s:

     Bacon, Carl. _Practical Portfolio Performance Measurement and
     Attribution_. Wiley. 2004. p. 6

_S_e_e _A_l_s_o:

     'Return.cumulative',

_E_x_a_m_p_l_e_s:

     data(managers)
     Return.annualized(managers[,1,drop=FALSE])
     Return.annualized(managers[,1:8])
     Return.annualized(managers[,1:8],geometric=FALSE)

