PainRatio: Pain ratio of the return distribution

Description Usage Arguments Details Author(s) References Examples

Description

To calculate Pain ratio we divide the difference of the portfolio return and the risk free rate by the Pain index

Usage

1
PainRatio(R, Rf = 0, ...)

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

...

any other passthru parameters

Details

Pain ratio = (rp - rf) / Pain index

where r_P is the annualized portfolio return, r_F is the risk free rate, n is the number of observations of the entire series, D'_i is the drawdown since previous peak in period i

Author(s)

Matthieu Lestel

References

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

Examples

1
2
3
4
5
6

guillermozbta/portafolio-master documentation built on May 11, 2019, 7:20 p.m.