Deriving the VIX from Variance Swap Replication
Summary
The document works through the connection between variance swaps, log contracts, and the VIX calculation. Under risk-neutral assumptions, integrated variance is related to the expected log return. A static replication identity then expresses the log payoff through out-of-the-money puts and calls across strikes, weighted by inverse squared strike. The question asks why the first-order term vanishes at the forward and how the integral representation leads to the CBOE formula.
The response points to a more complete variance-swap replication formula with additional non-integral terms. It explains that these terms can be rewritten using the forward-to-reference-strike ratio; a second-order Taylor approximation of the logarithm produces the negative squared correction in the VIX expression. The option-price integrals are then approximated by a discrete strike sum. The derivation is an approximation and depends on model assumptions and numerical discretization; the response also contains an apparent sign inconsistency in its final displayed intermediate expression, so that line should be checked against the formula it is intended to establish.
Key ideas
- Risk-neutral integrated variance can be related to the expected log return.
- A log payoff can be replicated using out-of-the-money puts and calls across strikes.
- The variance-swap replication includes non-integral terms involving the forward and a reference strike.
- A second-order Taylor approximation yields the negative squared correction used in the VIX formula.
- The strike integrals are approximated by a weighted discrete sum of option prices.
Tags
Full text
# Deriving the VIX formula
# Deriving the VIX formula
I am having trouble filling in a few steps in the derivation.
From Martin (2017), we get the following assumptions:
- Constant continuously compounded rate $r$;
- The underlying doesn't pay dividens;
- Under the risk-neutral measure, the underlying follows $dS_t = r S_t dt + \sigma_t dZ_t$.
The fair strike on a variance swap maturing in $T$ must then be such that $V = E^Q \left( \int_0^T \sigma_t^2 dt \right)$. As Neuberger (1994), we can observe that under assumption (3), Ito's Lemma implies $(d ln S_t)^2 = \sigma_t^2 dt$, hence \begin{align} V &= E^Q \left( \int_0^T \sigma_t^2 dt \right) \\ &= 2 E^Q \left( \int_0^T \frac{1}{S_t}dS_t + \int_0^T dln S_t \right) \\ &= 2rT - 2 E^Q \left( ln \left( \frac{S_T}{S_0} \right) \right). \end{align}
Now, this is saying that I need to price a log contract. As Carr and Madan (1998) pointed out, an application of Breeden and Litzenberger (1978) would show that any smooth function of a terminal payoff maybe approximated as: \begin{equation} V_0^f = f(\kappa) B_0 + f'(\kappa) (c_0(\kappa) - p_0(\kappa) ) + \int_0^\kappa f''(K) p_0(K)dK + \int_\kappa^\infty f''(K) c_0(K)dK \end{equation} where $B_0$ is the current price of a pure discount bond, $(p_0(K),c_0(K))$ are, respectively, the current price of puts and calls of strike K, $\kappa$ is the point about which the function is approximated and all those securities mature at time $T$.
According to Martin (2017), I should find that the price of a log contract, $P_{log}$ should verify: \begin{equation} e^{rT} P_{log} := E^Q ln(S_T/S_0) = rT - e^{rT} \left( \int_0^{F_{0,T}} \frac{1}{K^2} p_0(K) dK + \int_{F_{0,T}}^\infty \frac{1}{K^2} c_0(K)dK \right) \end{equation} where $\kappa = F_{0,T} := e^{rT} S_0$ is the point around which I approximate the value. By substituting this back into the previous equation, we get the fair strike of a variance swap as \begin{equation} V = 2 e^{rT} \left( \int_0^{F_{0,T}} \frac{1}{K^2} p_0(K) dK + \int_{F_{0,T}}^\infty \frac{1}{K^2}c_0(K)dK \right). \end{equation} While I do see that $f(F_{0,t}) = rT$, as well as $f''(K) = -1/K^2$, why exactly is the first order term null about $\kappa = F_{0,T}$? If I am not mistaken, by put-call parity, puts and calls at this strike should be worth the same thing.
Second question: now that I have the strike of a variance swap, how do I get the formula used by the CBOE \begin{equation} \sigma^2 = \frac{2}{T} \sum_{i=0}^N \frac{\Delta K_i}{K_i^2} e^{rT} Q(K_i) - \frac{1}{T}\left( \frac{F}{K_0} - 1 \right)^2 \end{equation} where $Q(K_i)$ is the mid point of the bid-ask spread for the put or call, except for $K_0$ where it's the average of the put and call that are closest to being at the money, $(K_i)_{i=0}^N$ is a grid of strike prices, $N + 1$ is the number of contracts, where $F$ is a desired forward index level such that $F = K + e^{rT}(c_0(K) - p_0(K))$ where we pick $K$ to minimize $c_0(K) - p_0(K)$ and, finally, $K_0$ is the strike closest strike below $F$.
I do that we define the VIX as $VIX^2(0,T) := \frac{1}{T} V$, but I really don't know how you come up with the VIX formula from above. I can see that the first term approximate for an integral, but I really don't know where the second term comes from.
## Answer by Martin Georg Haas (score 1)
https://quant.stackexchange.com/a/53193
The VIX formula is based on Demeterfi et. al 1999 and their final variance swap replication formula is given by: $$ \begin{align}\label{eq:rep_formula} \mathbb{E}\big[\mathbb{V}\big] &= \frac{2}{T} \bigg[ rT -\left( \frac{S_0 e^{rT}}{S_\star} - 1 \right) - \ln \left( \frac{S_\star}{S_0} \right) \nonumber\\ &\quad+ e^{rT} \int_0^{S_\star} \frac{1}{K^2} P_0(K) \mathop{\mathrm{d} K} \\ &\quad+ e^{rT} \int_{S_\star}^\infty \frac{1}{K^2} C_0(K)\mathop{\mathrm{d} K} \bigg] \nonumber \end{align} $$ With regards to your second question I have found the following explanation: As Jiang & Tian 2007 state, the non-integral terms can be rewritten to $$ \begin{align*} \frac{2}{T} \left[ rT -\left( \frac{S_0 e^{rT}}{K_0} - 1 \right) - \ln \left( \frac{K_0}{S_0} \right) \right] = \frac{2}{T} \left[ \ln\left( \frac{F_0}{K_0} \right) - \left( \frac{F_0}{K_0} - 1 \right) \right] \end{align*} $$ They then apply the Taylor series expansion to the $\ln$ part and ignore terms with order higher than second: $$ \begin{equation*} \ln\left( \frac{F_0}{K_0} \right) = \left( \frac{F_0}{K_0} -1 \right) - \frac{1}{2}\left( \frac{F_0}{K_0} - 1 \right)^2 \end{equation*} $$ which finally yields: $$ \begin{equation} \frac{2}{T} \left[ rT -\left( \frac{S_0 e^{rT}}{S_\star} + 1 \right) - \ln \left( \frac{S_\star}{S_0} \right) \right] = - \frac{1}{T} \left( \frac{F_0}{K_0} - 1 \right)^2 \end{equation} $$ As you said, the integrals get transformed into sums by the numerical integration approach. Also note that the sign in front of the second term is a minus: $$ \begin{equation*} \mathbb{E}\big[\mathbb{V}\big] = \frac{2}{T} \left(\sum_i \frac{\Delta K_i}{K_i^2} Q(K_i) e^{rT} \right) - \frac{1}{T} \left( \frac{F_0}{K_0} - 1 \right)^2 \end{equation*} $$Shown in full with attribution under the source's licence. Licence: CC BY-SA 4.0 (Stack Exchange)
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.