-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to Risk Analytics wiki!
It is easy to calculate as it does not require any sufficient statistical or programming knowledge.
-
R script for histogram: https://github.com/vladislavpyatnitskiy/Data-Visualisation-for-finance-in-R/blob/main/Histogram/Histogram%20for%20VaR.R
Requires knowledge of basic statistic and properties of mean, standard deviation and table of standard normal probabilities.
The drawback of the following method is the inconsistence with the distribution as financial instruments mostly follow fat tails distributions rather than Normal one.
The most advanced method of three. Here is used Monte Carlo method where the worst value of modelled returns for selected quantile.
- My R script: https://github.com/vladislavpyatnitskiy/Risk-Management-Analytics/blob/main/VaR%20via%20Monte%20Carlo.R
- My R script: https://github.com/vladislavpyatnitskiy/Risk-Management-Analytics/blob/main/VaR%20table.R
My R script: https://github.com/vladislavpyatnitskiy/Risk-Management-Analytics/blob/main/Value-at-Risk/VaR%20via%20Duration.R
Shows how bad returns can be when numbers exceed VaR numbers. Basically, it is a mean of the worst tail observations (e.g. 5% or 1%). The script for VaR calculation may be used with a few additional code.
The mean of the 5% worst returns for the period.
My R script: https://github.com/vladislavpyatnitskiy/Risk-Management-Analytics/blob/main/Rachev%20Ratio.R
VaR version is for portfolios which assumed to have several securities. It takes into account portfolio returns and weights
- My R script: https://github.com/vladislavpyatnitskiy/Risk-Management-Analytics/blob/main/Multi-Asset%20VaR.R
- My R script: https://github.com/vladislavpyatnitskiy/Risk-Management-Analytics/blob/main/Monte%20Carlo%20Method.R
Hull, J.C. (2012) Risk Management and Financial Institutions. 3rd edn. John Wiley &Sons.
Hull, J.C. (2015) Options, Futures, and other derivatives. 9th edn. Pearson Education.