powered by
See the report: Value at Risk.
jVaR(type, Return, Alpha, N_th_day)
. -1 : previous day . 0 : present . 1 : next day
y <- c(11, 12, 10, 13, 12, 14, 13, 15, 13, 14, 12) s <- jReturn(y) alpha <- 0.2 h <- 0 v <- jVaR('non_adjust_hist',s,alpha,h)
Run the code above in your browser using DataLab