table.DrawdownsRatio: Drawdowns Summary: Statistics and ratios

Description Usage Arguments Author(s) References See Also Examples

View source: R/table.DrawdownsRatio.R

Description

Table of Calmar ratio, Sterling ratio, Burke ratio, Pain index, Ulcer index, Pain ratio and Martin ratio

Usage

1
table.DrawdownsRatio(R, Rf = 0, scale = NA, digits = 4)

Arguments

R

an xts, vector, matrix, data frame, timeSeries or zoo object of asset returns

Rf

risk free rate, in same period as your returns

scale

number of periods in a year (daily scale = 252, monthly scale = 12, quarterly scale = 4)

digits

number of digits to round results to

Author(s)

Matthieu Lestel

References

Carl Bacon, Practical portfolio performance measurement and attribution, second edition 2008 p.93

See Also

CalmarRatio
BurkeRatio
PainIndex
UlcerIndex
PainRatio
MartinRatio

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
data(managers)
table.DrawdownsRatio(managers[,1:8])

require("Hmisc")
result = t(table.DrawdownsRatio(managers[,1:8], Rf=.04/12))

textplot(format.df(result, na.blank=TRUE, numeric.dollar=FALSE, cdec=c(3,3,1)),
rmar = 0.8, cmar = 2,  max.cex=.9, halign = "center", valign = "top",
row.valign="center", wrap.rownames=20, wrap.colnames=10,
col.rownames=c("red", rep("darkgray",5), rep("orange",2)), mar = c(0,0,3,0)+0.1)
title(main="Drawdowns ratio statistics")


PerformanceAnalytics documentation built on May 21, 2017, 1:16 a.m.
Search within the PerformanceAnalytics package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.