Skip to content
Prev 8475 / 15274 Next

VaR: results unreliable

On Sun, 2011-09-11 at 09:05 +0100, Papa Senyo wrote:
Thank you for including your code, but you'll also need to include (or
link to) your data for us to evaluate why you are getting the answer you
are getting.  It is not a reproducible example without the data set.
On Sun, 2011-09-11 at 09:05 +0100, Papa Senyo wrote:
Without seeing your data, I can only guess.

One possible reason is that you are acting on prices and not returns.
As stated clearly in the PerformanceAnalytics documentation, the VaR
function uses returns, not prices.
 
Regards,

  - Brian