Risk Management tool box. hHistoricalVaRES

5 views (last 30 days)
Syed Hussain
Syed Hussain on 18 Jul 2020
Edited: Anmol Dhiman on 21 Jul 2020
Hi,
I downloaded the risk management tool box to use the VaR and ES example. When I am using it, I am constantly getting an error that
Undefined function 'hHistoricalVaRES' for input arguments of type 'double'.
Even when I am using the example provided. Can any one please help.
I have an assignement in a few days on this.
Many thanks.

Answers (1)

Anmol Dhiman
Anmol Dhiman on 21 Jul 2020
Edited: Anmol Dhiman on 21 Jul 2020
Hi Syed,
The function hHistoricalVaRES is present in the example Expected Shortfall Estimation and Backtesting. You can try the below commands for the running the example.
restoredefaultpath % This will remove any custom paths
rehash toolboxcache
savepath
Refer to link for more details.
Regards,
Anmol

Categories

Find more on Risk Management Toolbox in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!