
Last chance! 50% off unlimited learning
Sale ends in
Table of Outperformance Reporting vs Benchmark
table.ProbOutPerformance(R, Rb, period_lengths = c(1, 3, 6, 9, 12, 18,
36))
an xts, timeSeries or zoo object of asset returns
an xts, timeSeries or zoo object of the benchmark returns
a vector of periods the user wants to evaluate this over i.e. c(1,3,6,9,12,18,36)
Returns a table that contains the counts and probabilities of outperformance relative to benchmark for the various period_lengths
Tool for robustness analysis of an asset or strategy, can be used to give the probability an investor investing at any point in time will outperform the benchmark over a given horizon. Calculates Count of trailing periods where a fund outperformed its benchmark and calculates the proportion of those periods, this is commonly used in marketing as the probability of outperformance on a N period basis.
Returns a table that contains the counts and probabilities of outperformance relative to benchmark for the various period_lengths
# NOT RUN {
data(edhec)
table.ProbOutPerformance(edhec[,1],edhec[,2])
title(main='Table of Convertible Arbitrage vs Benchmark')
# }
Run the code above in your browser using DataLab