Historical Value At Risk
Version 1.0.0.1 (11.4 KB) by
David Willingham
Calculates Historical Value at Risk for a given portfolio of returns
Calculates Historical Value at Risk for a given portfolio of returns.
E.g.
confidence_level = 0.95;
plot_flag = true;
figure
VAR_hist = computeHistoricalVaR(returns,confidence_level,plot_flag)
Cite As
David Willingham (2026). Historical Value At Risk (https://www.mathworks.com/matlabcentral/fileexchange/38848-historical-value-at-risk), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2012b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Portfolio Optimization and Asset Allocation in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
