Figure of Historical SImulation VaR and ES and histogram of L/P
Figure of Historical SImulation VaR and ES and histogram of L/P
Plots figure showing the historical simulation VaR and ES and histogram of L/P for specified confidence level and holding period implied by data frequency.
HSESFigure(Ra, cl)
Arguments
Ra: Vector of profit loss data
cl: VaR confidence level
Examples
# Plots figure showing VaR and histogram of P/L data Ra <- rnorm(100) HSESFigure(Ra,.95)