Wednesday, July 31, 2019

drawdown - Expectation of maximum draw down in the Brownian motion case


Let Xt=μt+σBt be a linear Brownian motion with drift. Let St=max(Xu,ut) denote the process of the running max, then the draw down is given by DDt=StXt, and the maximum draw down over a period [0,T] is maxu[0,T]DDu. What can we say about E[maxu[0,T]DDu]? How can we calculate the expected maximum draw down? Are there analytical formulas, approximations, available (R) packages?



Answer



as I mentioned here, this paper provides some theoretical insight (and a way to approximate the true value).


The authors end up with an approximative series for the density. It is implemented in the function maxdd of the R-package fBasics. There are convenient functions dmaxdd, pmaxdd and rmaxdd. Calculating the Expected Drawdown should be easy. (to be honest, I found the paper as a reference provided on the help page of the functions mentioned above)


The function you are asking for would be maxddStats:


require(fBasics)
maxddStats(mu,sigma,t)

No comments:

Post a Comment

technique - How credible is wikipedia?

I understand that this question relates more to wikipedia than it does writing but... If I was going to use wikipedia for a source for a res...