ulcer_index | R Documentation |
RUlcer Index of Peter G. Martin (1987). The impact of long, deep drawdowns will have significant impact because the underperformance since the last peak is squared
ulcer_index(x, is_geom = TRUE)
x |
asset returns |
is_geom |
TRUE geometric, FALSE simple |
numeric
xx <- c(0.003,0.026,0.015,-0.009,-0.014,-0.024,0.015,0.066,-0.014,0.039)
ulcer_index(xx)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.