image thumbnail

Historical Value At Risk

by

 

Calculates Historical Value at Risk for a given portfolio of returns

examplehistvar.m
load data
confidence_level = 0.95;
plot_flag = true;
figure
VAR_hist = computeHistoricalVaR(returns,confidence_level,plot_flag)

Contact us