Interest Rate Correlation, Part 5: From Forward-Rate to Swap-Rate Correlation#
A model usually describes the correlation between forward rates, because forward rates are the quantities that evolve. A CMS spread product pays on swap rates. A swap rate is an average of forward rates, so the correlation that a product needs is an output of the model, and not an input. This page shows how to compute it, and what it does to the numbers. It is the fifth of seven pages.
A swap rate is a weighted average of forwards#
A par swap rate that starts at \(T\) and pays annually on \(T_1, \dots, T_n\) is, on a single curve,
where \(F_i\) is the forward rate for the period ending at \(T_i\), \(D\) is the discount factor and \(A\) the annuity. The weights are positive and add up to one. The 2-year swap rate is a weighted average of two forwards, and the 10-year swap rate is a weighted average of ten.
With the weights frozen at their present values, which is a good approximation over the life of an option, the swap rate is a linear combination of the forward rates. If the forward rates have normal volatilities \(\sigma_i\) and correlations \(\rho_{ij}\), the swap rates have
and the swap-rate correlation is the covariance divided by the two volatilities. This is the approximation of Rebonato, and it is a standard way to read the swap-rate correlation out of a forward-rate correlation matrix.
What it does#
Three things follow from averaging.
The swap-rate correlation is higher than the forward-rate correlation. Both swap rates are averages, and the 2-year and the 10-year swap rates share the same two forwards. The 10-year swap rate is also built from forwards that are far from the first, and their independent parts average out.
The volatility of the swap rate depends on the correlation. Averaging independent forward rates gives a lower volatility than averaging perfectly correlated ones. A model that is calibrated to swaption volatilities has to change the forward volatilities when it changes the correlation.
A one-factor model cannot price a spread. If the forward rates are perfectly correlated, every swap rate is a perfectly correlated linear combination of the same random number. The swap-rate correlation is 1, and the spread has the minimum volatility. This holds in the one-factor Hull-White model of Interest Rate Mean Reversion, Part 2: The Hull-White Model & Calibration, whatever the mean reversion: mean reversion decorrelates the rates through time, and not across the curve at one date.
Worked example#
The example takes the forward rates of the 2-year and the 10-year swaps that start in five years, with their weights, and a forward volatility that falls from 112bp to 84bp. It computes the swap volatilities and the swap-rate correlation for five forward-rate correlation structures, and the price of the spread option. A second table scales the forward volatilities so that the 10-year swap rate has its market volatility of 88bp.
Python code
"""From forward-rate correlation to swap-rate correlation: a swap rate is a weighted average of forwards, so its correlation is an output."""
import numpy as np
from corr_param_example import exponential_decay
from corr_parameter_example import EXPIRY, NOTIONAL, inputs
from swaption_example import bachelier_price
FORWARD_VOL_BP = np.array([112, 108, 104, 100, 97, 94, 91, 88, 86, 84], dtype=float) # normal vol of the forward fixing j years after the expiry
def forwards_and_weights(curve, tenor):
"""Annual forward rates of a swap that starts at the expiry, and the weights that make the swap rate their weighted average."""
dates = EXPIRY + np.arange(tenor + 1)
dfs = curve.df(dates)
fwd = dfs[:-1] / dfs[1:] - 1.0
weights = dfs[1:] / dfs[1:].sum()
return fwd, weights
def swap_statistics(w1, w2, vols, corr):
"""Volatilities of two swap rates and their correlation, with the weights frozen. w1 and w2 are padded to the same length."""
cov = lambda a, b: a @ (np.outer(vols, vols) * corr) @ b
s1, s2 = np.sqrt(cov(w1, w1)), np.sqrt(cov(w2, w2))
return s1, s2, cov(w1, w2) / (s1 * s2)
if __name__ == "__main__":
curve, f2, f10, df = inputs()
fwd2, w2 = forwards_and_weights(curve, 2)
fwd10, w10 = forwards_and_weights(curve, 10)
print(f"2Y swap rate {np.dot(w2, fwd2):.4%} (curve {f2:.4%}), 10Y swap rate {np.dot(w10, fwd10):.4%} (curve {f10:.4%})")
print("Weights of the forwards in each swap rate (the forward that is fixed j years after the expiry)")
print(f"{'j':>3} {'Forward':>8} {'Vol (bp)':>9} {'2Y weight':>10} {'10Y weight':>11}")
for j in range(10):
print(f"{j:>3} {fwd10[j]:8.3%} {FORWARD_VOL_BP[j]:9.0f} {w2[j] if j < 2 else 0.0:10.3f} {w10[j]:11.3f}")
vols = FORWARD_VOL_BP / 1e4
w2_full = np.concatenate([w2, np.zeros(8)])
years = np.arange(10)
structures = [("One factor (all forwards perfectly correlated)", 1.0, 0.0), ("Slow decay: rho_inf 0.7, beta 0.05", 0.7, 0.05),
("Medium decay: rho_inf 0.4, beta 0.15", 0.4, 0.15), ("Fast decay: rho_inf 0.0, beta 0.15", 0.0, 0.15),
("Very fast decay: rho_inf 0.0, beta 0.40", 0.0, 0.40)]
print(f"\n{'Forward correlation structure':<48} {'1y-10y fwd':>10} {'2Y vol':>7} {'10Y vol':>8} {'Swap corr':>10} {'Spread vol':>11} {'Spread option':>14}")
for name, rho_inf, beta in structures:
corr = exponential_decay(years, rho_inf, beta)
s2, s10, rho_s = swap_statistics(w2_full, w10, vols, corr)
sx = np.sqrt(s2**2 + s10**2 - 2 * rho_s * s2 * s10)
price = NOTIONAL * bachelier_price(f10 - f2, 0.0, sx, EXPIRY, df)
print(f"{name:<48} {corr[0, 9]:10.3f} {s2 * 1e4:5.0f}bp {s10 * 1e4:6.0f}bp {rho_s:10.3f} {sx * 1e4:9.1f}bp {price:14,.0f}")
# The forward volatilities are rescaled so that the 10Y swap rate has the market volatility of 88bp. The swap correlation is unchanged.
print(f"\nRescaled so that the 10Y swap rate volatility is 88bp (market: 2Y 105bp, 10Y 88bp)")
print(f"{'Forward correlation structure':<48} {'Scale':>6} {'2Y vol':>7} {'Swap corr':>10} {'Spread vol':>11} {'Spread option':>14}")
for name, rho_inf, beta in structures:
corr = exponential_decay(years, rho_inf, beta)
s2, s10, rho_s = swap_statistics(w2_full, w10, vols, corr)
scale = 88e-4 / s10
s2, s10 = s2 * scale, s10 * scale
sx = np.sqrt(s2**2 + s10**2 - 2 * rho_s * s2 * s10)
price = NOTIONAL * bachelier_price(f10 - f2, 0.0, sx, EXPIRY, df)
print(f"{name:<48} {scale:6.2f} {s2 * 1e4:5.0f}bp {rho_s:10.3f} {sx * 1e4:9.1f}bp {price:14,.0f}")
The output is:
2Y swap rate 3.7651% (curve 3.7651%), 10Y swap rate 3.9819% (curve 3.9819%)
Weights of the forwards in each swap rate (the forward that is fixed j years after the expiry)
j Forward Vol (bp) 2Y weight 10Y weight
0 3.765% 112 0.509 0.118
1 3.765% 108 0.491 0.114
2 3.947% 104 0.000 0.110
3 3.947% 100 0.000 0.106
4 3.947% 97 0.000 0.102
5 4.118% 94 0.000 0.098
6 4.118% 91 0.000 0.094
7 4.118% 88 0.000 0.090
8 4.118% 86 0.000 0.086
9 4.118% 84 0.000 0.083
Forward correlation structure 1y-10y fwd 2Y vol 10Y vol Swap corr Spread vol Spread option
One factor (all forwards perfectly correlated) 1.000 110bp 97bp 1.000 12.6bp 211,226
Slow decay: rho_inf 0.7, beta 0.05 0.891 110bp 95bp 0.978 25.7bp 295,726
Medium decay: rho_inf 0.4, beta 0.15 0.556 108bp 87bp 0.896 48.8bp 461,565
Fast decay: rho_inf 0.0, beta 0.15 0.259 106bp 79bp 0.814 62.1bp 559,560
Very fast decay: rho_inf 0.0, beta 0.40 0.027 101bp 61bp 0.678 74.3bp 649,455
Rescaled so that the 10Y swap rate volatility is 88bp (market: 2Y 105bp, 10Y 88bp)
Forward correlation structure Scale 2Y vol Swap corr Spread vol Spread option
One factor (all forwards perfectly correlated) 0.90 99bp 1.000 11.4bp 204,662
Slow decay: rho_inf 0.7, beta 0.05 0.92 101bp 0.978 23.7bp 282,151
Medium decay: rho_inf 0.4, beta 0.15 1.02 109bp 0.896 49.5bp 467,187
Fast decay: rho_inf 0.0, beta 0.15 1.12 119bp 0.814 69.5bp 614,196
Very fast decay: rho_inf 0.0, beta 0.40 1.44 145bp 0.678 107.1bp 893,076
Reading the output:
The weights add up to one and reproduce the curve. The two weighted averages give 3.7651% and 3.9819%, the forward swap rates of the curve. The 2-year weights are about a half each, and the 10-year weights fall from 0.118 to 0.083 with the discount factor.
The swap-rate correlation is much higher than the forward-rate correlation. With the medium decay the first and the last of the ten forwards, nine years apart, have a correlation of 0.556, and the two swap rates have 0.896. With the fast decay, 0.259 gives 0.814, and with the very fast decay, 0.027 gives 0.678. A forward-rate correlation that looks low is not a low spread correlation.
A one-factor model gives the minimum spread option. The swap-rate correlation is 1.000, the spread volatility is 12.6bp, and the spread option is worth 211,226, against 461,565 with the medium decay and 649,455 with the very fast decay, a range of a factor of three.
The correlation changes the swap volatility. The 10-year volatility falls from 97bp for the one-factor case to 61bp for the very fast decay, because averaging independent forwards lowers it. A model calibrated to the swaptions cannot keep the forward volatilities fixed.
After recalibration only some structures fit the market. To give the 10-year swaption its 88bp, the forward volatilities have to be multiplied by 0.90 to 1.44. The 2-year volatility is then 99bp to 145bp, against 105bp in the market. Only the medium decay, with a scale of 1.02 and a 2-year volatility of 109bp, is close to both. The swaption volatilities, which the model has to reproduce, narrow down the correlation structure.
The spread option still depends on the structure. After rescaling it ranges from 204,662 to 893,076. This is the information that a spread option quote adds, and a model that matches swaptions alone does not determine.
A valuation control view#
Do not read a forward-rate correlation as a swap-rate correlation: a matrix with correlations of 0.5 between distant forwards gives swap-rate correlations near 0.9. Compare the model with the market in terms of the quantity that the product depends on.
Report the swap-rate correlation that the model implies: for the pairs of tenors and expiries that the products use, next to the implied and the historical values. See Interest Rate Correlation, Part 3: Historical, Model & Implied Correlation.
Check that the model has enough factors: a one-factor model prices every spread at the minimum. A spread product in a one-factor model is a finding, whatever the mean reversion.
Check the frozen-weights approximation: it is good for options of moderate expiry and for rates that do not move far, and it is weaker for long expiries and large moves. Compare it with a simulation of the model on the main products.
Calibrate swaptions and the correlation together: a change in the correlation changes the swap volatilities, as the rescaling shows. A calibration that changes one and leaves the other fixed is internally inconsistent.
Next, Interest Rate Correlation, Part 6: Smile & Spread Smile adds the smile to the spread.