Skip to content
Prev 318748 / 398503 Next

R function for estimating historical-VaR

You might have a look at:

http://www.portfolioprobe.com/2012/12/17/a-look-at-historical-value-at-risk/

which points to a function for historical VaR.

As Nello said, we really need to know what it is
that you think doesn't work, before we can help
you with what you have.

It probably doesn't really matter, but doing a
full sort is wasteful compared with what 'quantile'
does.

If you have further questions and they are finance
oriented as opposed to being about R programming, then
you should post to R-sig-finance (you have to subscribe
before posting).

Pat
On 04/03/2013 16:25, Blaser Nello wrote: