order list of drawdowns from worst to best
sortDrawdowns(findDrawdowns(R)) Gives the drawdowns in order of worst to best
sortDrawdowns(runs)
runs |
pass in runs array from findDrawdowns to be sorted |
Returns a sorted list:
return depth of drawdown
from starting period
to ending period
length length in periods
Peter Carl
modified with permission from prototype function by
Sankalp Upadhyay
Bacon, C. Practical Portfolio Performance Measurement and
Attribution. Wiley. 2004. p. 88
data(edhec) findDrawdowns(edhec[,"Funds of Funds", drop=FALSE]) sortDrawdowns(findDrawdowns(edhec[,"Funds of Funds", drop=FALSE]))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.