Skip to content
Prev 13452 / 15274 Next

VaR calculation warning with rugarch

You can ignore the warning. You can calculate the values yourself and 
check that the results are the same:

df = as.data.frame(bi.backtest.nig)

q = quantile(bi.backtest.nig,0.01)
q10 = 
qdist("nig",0.01,mu=0,sigma=df[10,"Sigma"],skew=df[10,"Skew"],shape=df[10,"Shape"])
as.numeric(q[10])==q10
 > TRUE
q5 = 
qdist("nig",0.01,mu=0,sigma=df[5,"Sigma"],skew=df[5,"Skew"],shape=df[5,"Shape"])
as.numeric(q[5])==q5
 > TRUE

The warning will be fixed in the development version (...soon).

Alexios
On 16/08/2015 17:55, Mingersming wrote: