Violations of the VaR

VaR_viol(x, q)

Arguments

x

vector, realized data

q

vector or matrix, on the columns different VaR on the rows observations.