# Tagged Questions

Value at Risk, a widely used risk measure of the risk of loss on a specific portfolio of financial assets.

9k views

### What is the difference between the methods for calculating VaR?

There are three different commonly used Value at Risk (VaR) methods: Historical method Variance-Covariance Method Monte Carlo What is the difference between these approaches, and under what ...
1k views

### How are distributions for tail risk measures estimated in practice?

Let's say you want to calculate a VaR for a portfolio of 1000 stocks. You're really only interested in the left tail, so do you use the whole set of returns to estimate mean, variance, skew, and shape ...
6k views

### portfolio optimisation with VaR (or CVaR) constraints

I would like to optimize a portfolio allocation (maximizing the exposure or the expected return), but with VaR or CVaR contraints. (some parts of my portfolio cannot exceed a certain VaR) How can I ...
360 views

### What approaches are there for stress testing a portfolio?

Wikipedia lists three of them: Extreme event: hypothesize the portfolio's return given the recurrence of a historical event. Current positions and risk exposures are combined with the historical ...
265 views

### Extreme Value Theory possible for portfolios with options?

Say you have a portfolio with long exposure to a few linear assets (stock indices) and short exposure to a nonlinear asset (say call options on one of the linear assets). I am interested in ...
572 views

### VaR for portfolio of funds

Let's assume we need to calculate a 1-day VaR for a portfolio of funds. Funds are traded, they can be bought and sold every day. We know exactly what the assets in each fund are. What is the right way ...
2k views

### How does Cornish-Fisher VaR (aka modified VaR) scale with time?

I am thinking about the time-scaling of Cornish-Fisher VaR (see e.g. page 130 here for the formula). It involves the skewness and the excess-kurtosis of returns. The formula is clear and well ...
180 views

### Imposing Restrictions on Cointegrating Vectors, R example

The code given below estimates a VEC model with 4 cointegrating vectors. It is a reproducible code, so just copy and paste into your R console (or script editor). ...
5k views

### Is there a step-by-step guide for calculating portfolio VaR using monte carlo simulations

I am trying to determine a step-by-step algorithm for calculating a portfolio's VaR using monte carlo simulations. It seems to me that the literature for this is extraordinarily opaque for something ...
834 views

### How to limit the nbr of cross-gamma calculations in a delta-gamma VaR calculation?

Many times, we want to calculate VaR using some parametric approach (delta-normal approximation for instance) when historical simulation or monte carlo are simply to slow. This is fine as long as only ...
336 views

### Which is a more appropriate choice of risk measurement in a utility function, CVaR or VaR?

What is the consensus on which risk measure to use in measuring portfolio risk? I am researching what is the best risk measure to use in a portfolio construction process for a long/short option-free ...
161 views

### Computing Value at Risk for portfolio in R

I know how to compute VaR with long positions using PerformanceAnalytics. What about a portfolio consisting in two equities A and B, 100 USD long positions in each, and 2 stock options for the same ...
2k views

### VaR model Unconditional Coverage Tests: Is this extension of Kupiec POF test correct?

Background: Kupiec P. in 1995, published paper "Techniques for Verifying the Accuracy of Risk Management Models" on Journal of Derivatives, v3, P73-84, it's a Unconditional Coverage Tests designe for ...
425 views

### Calculating VaR with Monte Carlo simulation

I would like some help here :) I have a problem calculating VaR with the Monte Carlo Simulation. I have followed then next steps, is this a right way to calculate VaR or I need something more? 1....
635 views

### How to minimize the difference between a parametric VaR and a MC-VaR with lognormal assumption?

Given that we want to find the Value at Risk for a portfolio of stocks only, there are two main methods to proceed. In the problem, we also assume that stocks follow a geometric Brownian motion. A ...
130 views

### How to compute returns and daily VaR of a currency position?

I have a Forex trading account with a base currency USD. I am holding a position in EUR/JPY and would like to estimate my daily VaR. If I compute the EUR/JPY returns using the historic prices this ...
554 views

### Calculating VaR/CVaR on high frequency data and returns

As we converge on the minute time scale and below for our unit time interval, the return distributions tend to be leptokurtotic and more discretized (due to fixed values such as minimum price ...
491 views

### Value at Risk for Futures Contracts

I would like to know how you would compute Value at Risk on a portfolio of futures i.e rates futures, commodity futures and equity. How do you deal with the discontinuous form of commodity futures for ...
126 views

### Which lags or percentiles should be run in a batch when calculating Value-at-Risk?

Are there any "standard" VaR calculations run in a batch? For example, testing a VaR calculation with a lag of 1,2, 5 or 10 days over 2 years? Same question for the percentile, 1%, 2.5%, 5% etc.
1k views

### Expected Shortfall (CVaR) Backtesting

I am writing my thesis on VaR and ES risk measurements and have encountered some issues with how to best test the accuracy of ES estimates. My understanding of the topic is that backtesting ES ...
560 views

### VaR mapping - Forward Foreign Currency Contract

I have a question about VaR mapping for FX forwards. Please bear with me while I outline the problem. Philippe Jorion's book discusses VaR mapping; a means to break down complex instruments into ...
313 views

### quantiative risk measure how they are implemented in R and their use

So far I have just theoretical knowledge of risk measure and never used them in application. Therefore I have some basic question how risk measures are used in reality and how they are implemented in ...
2k views

### VaR implementation using quantlib?

I am thinking of writing a VaR framework for my existing system, using quantlib to do the bulk of the calculations. Despite several searches, I have not as yet come across a quantlib VaR ...
533 views

### Calculating portfolio VaR for (custom) leveraged products

I have been searching online for a few days regarding how to calculate portfolio VaR for a portfolio consisting of leveraged products - but so far, I have not been able to come up with anything ...
929 views

### VaR for corporate bonds

I am trying to create a simple risk calculation for the portfolio (ignoring correlations for the moment). I have some corporate bonds with limited daily price changes. Any one have ideas how I can get ...
85 views

### Backesting VaR on overlapping intervals to year's end

Let us assume that each month of the year (up to November) we calculate a VaR (say 99%) with holding period to the end of the year. Thus the holding period starts with 12 months and goes down to 1 ...
127 views

### What is the heat-map method of calculating VaR?

I'm familiar with the historical full revaluation, VcV, and Delta-gamma methods, but a client keeps talking about a heat-map method and I'm not sure what he's talking about. Any ideas?
166 views

### Positive VaR when calculation on Total Return Indexes?

I recently saw a VaR calculation, and I was wondering whether that calculation made sense. Here the details: 1. Construction of a total return bond portfolio index. By total return I mean that the ...
972 views

### Covariance for arbitrarily large portfolios

I am implementing a method in Java to calculate the variance, covariance, and value at risk for a portfolio, which should be flexible for use with any number of assets in a portfolio. I am struggling ...
1k views

### Do I need a copula to accurately estimate the VaR of a portfolio of risky assets?

I need to estimate the daily VaR of a portfolio of various exposures in $n$ risky assets (say equity futures). The simplest approach, I think, would be to just estimate VaR from a multivariate normal ...
171 views

### How do I model risks for specific short-term short calls in a portfolio with limited data?

I'm trying to do some risk analysis on a portfolio of bonds, currency, stocks and short calls. The short calls expire in approximately 15-30 days and I've only got around 20 days of pricing data on ...
337 views

### central limit theorem and VAR

If I have a lot of data points and number of different dependent variables, can I use central limit theorem to assume data is multivariate normal and compute my VAR? Is this the appropriate use of ...
1k views

### Where can I find a list of VaR and CVaR formulas for continuous distributions?

Where can I find more VaR and CVaR formulas for continuous distributions? I collected a list here:
716 views

### Backtesting VaR model violation independence

I am interested in hearing about the practitioner state of the art for testing the time independence of a VaR model (i.e. that VaR violations are independent in time). There are a number of tests in ...
678 views

### Any package to run VAR-GARCH or VECM-GARCH models in R?

I need to estimate a multivariate VECM-GARCH (or simply VAR-GARCH) in R. Browsing on the internet, I did not find anything yet. Do you know if such kind of packages exists? Please, note that a BEKK ...
265 views

### How to Calculate a Monte Calo VaR estimation error

I'm performing a Monte Carlo to calculate value at risk (with a 3 dimension risk factor) Now, I would like to calculate the error of the estimation of the VaR with respect to the number of simulations ...
100 views

### Futures Parameters for Value at Risk

I am new to risk management. I am calculating the VaR for a portfolio of futures contracts, long and shorts. I calculated it using the historical, parametric, and ...
117 views

### VAR of portfolio containing options, equities and forwards

If we want to calculate VAR of a portfolio using variance covariance matrix (delta normal method), containing equities, forwards and options, how do we treat each asset class for making the variance ...
375 views

### Is there a way to adjust R PerformanceAnalytics function VaR with EWMA or GARCH method?

Is there a way to upgrade R PerformanceAnalytics function VaR with more risk sensitive approaches like EWMA or GARCH? Or is there another R package which can handle the issue?
117 views

### How can I evaluate how poor a fit a parametric VaR result would be for a given holding?

I'm currently working on an application that, among other things, computes a one-day parametric VaR for security positions. I understand that the parametric method of computing VaR is a poor fit for ...
51 views

### 'GARCH - extreme value theory - copula' approach to estimate risk measures in R

I'm reading about this approach of using GARCH-EVT-copula methodology to separate univariate and joint estimation and then estimate for example VaR and ES. I wanted to try something similar, but my ...
73 views

### VaR calculation accuracy/comparison/effectiveness through different R packages

My question is what would be the better( in terms of estimation accuracy) method of VaR calculation among below two:, also any small code snippet will be great as a starting point for me. 1st method: ...
391 views

### VaR backtesting with overlapping time intervals

Of course the issue here is dependence: can it be removed or accounted for (in independence tests too, which of course would be troublesome)? There's a lot of literature on regression in this setting, ...
272 views

### Ran multivariate linear regression, checked normal probability plot, residuals are not normal. What can I do?

One of the required assumptions for multiple linear regression is that residuals are normally distributed, correct? After running my regression, my normal probability plot is showing the typical '...
55 views

### Difference in Volatility Calculation from RiskMetrics 1996 to RiskMetrics 2006 VaR

In the original legacy RiskMetrics documentation from 1996, volatility is calculated using a simple exponentially weighted moving average with some decay factor to determine the weights. This would be ...
287 views

### What are the pros and cons of historial and Gaussian approaches to VaR?

What is the difference between historical and Gaussian method of VaR estimation? I know how they are calculated, but what are the pros and cons of each?
579 views

### Parametric VaR with Student-t distribution

Im using VaR to estimate parametric VaR. I have been able to do this using a Normal Distribution, however I want to also do this using a Student t-distribution and I'm unsure how to implement that in ...
202 views

### comparing modified VaR to ordinary VaR

What inferences can one draw when given a modified VaR at x% confidence and an ordinary VaR at x% confidence level. If the two are equal one inference can be that returns are gaussian but that also ...
Define: $$q_\alpha(F_L)=F^{\leftarrow}(\alpha)=\inf\lbrace{x\in \mathbb{R}\mid F_L(x)\geq \alpha\rbrace}=VaR_\alpha(L)$$ I want to prove that: ES_\alpha = \frac{1}{1-\alpha}\mathbb{E}[\mathbb{1}_{...