I have the following AR(1)-GARCH(1,1) model for the daily returns $r_t$
$$r_t=\theta r_{t-1}+u_t\;\;\;u_t=\sigma_t\epsilon_t\;\;\;\sigma_t^2=\omega+\alpha u_{t-1}^2+\beta \sigma_{t-1}^2 $$
where $-1<\theta<1$, $\theta \neq0$, $\omega>0$, $\alpha,\beta \in(0,1)$, and $\alpha+\beta<1$. I need to calculate the 99% 2-day VaR and expected shortfall on a long position and on a short position at time $t$. I have no idea how to compute this. Can someone please show me or at least provide a reference that has good examples?
Solved – Computing VaR with AR-GARCH
archgarchrisk
Best Answer
This is best done through simulation. See my MATLAB code example and explanation below:
Output:
For a portfolio consisting of one share of S&P 500 index, I got the current value of \$2091, and 2-day VaR at 99% is \$80.
I also plotted the P&L distribution with Normal fit, so you can see that the normal distribution is not a very good fit. That's why you have to simulate when using GARCH.
You can also look at MATLAB's own GARCH example here.
The idea is that you fit AR(1)-GARCH(1,1) to the returns. Then you Monte-Carlo simulate the returns two days ahead. Then you compound two days of returns in each path, and find 0.01 percentile. This is how much or more you'll lose at 99% confidence in terms of returns, and in terms of dollars it's a simple arithmetic using the current portfolio value.
You can find worked out examples in this book: Carol Alexander, Market Risk Analysis, Volume IV, Value at Risk Models, February 2009