Primeras aproximaciones al estudio de los bordes en centros patrimoniales
NOTAS DE CIERRE
This method uses the error between quoted market prices and model prices, or between market and model implied volatilities. The parameter estimates are those values which minimize the value of the loss function, so that the model prices or implied volatilities are as close as possible to their market counterparts. A constrained minimization algorithm must be used in this regard so that the constraints on the parameters:
𝜅 > 0, 𝜌 ∈ [−1, +1], 𝜎 > 0, 𝜃 > 0, 𝑉0 > 0
Are respected. To this basis set of constraints, we need to add another one in order to ensure that the process for the variance is positive, as explained in section (3.4) we need the feller condition to be satisfied:
2𝜅𝜃 > 𝜎2
Throughout this chapter, the Heston parameters are represented as the vector:
43 See Ait-Sahila, Kimmel, 2005. 44 See Bakshi, Cao & Chen 1997. 45 See Alexander V.H, 2010.
“The most popular way to
estimate the parameters of
the Heston model is with loss
functions. This method uses
the error between quoted
market prices and model
prices, or between market and
model implied volatilities.”
𝛺 = (𝜎, 𝜌, 𝜃, 𝜅, 𝑉0)
And their corresponding estimates, as 𝛺̃.
There are many possible ways to define a loss function, but they usually fall into one of two categories: loss function based on prices, and those based on implied volatilities.
Suppose we have a set of NT maturities τi (t = 1, . . . , NT) and a set of NK strikes Kk (k = 1, . . . , NK). For each maturity-strike combination (τt,Kk), for the Call option, we have a market price
𝐶𝑡𝑘 and a corresponding model price 𝐶𝑡𝑘(𝛺̌) generated by the Heston model. Attached to each option is an optional weight 𝑤𝑡𝑘.
3.7.3.1 Loss function based on prices
The first category of loss functions are those that minimize the error between quoted and model prices. The error is usually defined as the squared difference between the quoted and model prices, or the absolute value of the difference; relative errors can also be used. For example, parameter estimates obtained using the mean error sum of squares (MSE) loss function are obtained by minimizing: 𝑀𝑆𝐸 = 1 𝑁∑ 𝑤𝑡𝑘 𝑁 𝑡,𝑘 (𝐶𝑡𝑘 − 𝐶𝑡𝑘(𝛺̌))2
With respect to 𝛺̃, where N is the number of quotes. The relative mean error sum of Squares (RMSE) parameter estimates are obtained with the loss function:
𝑅𝑀𝑆𝐸 = 1 𝑁∑ 𝑤𝑖 𝑁 𝑡,𝑘 (𝐶𝑡𝑘− 𝐶𝑡𝑘(𝛺̌) 𝐶𝑡𝑘 ) 2
One well-known disadvantage of the MSE loss function is that short maturity, deep out-of-the money options with very little value contribute little to the sum in (45). Hence, the optimization will tend to fit long maturity, in-the-money options well, at the detriment of the other options. One remedy is to use in-the-money options only, so that, in (45), Call options are used for strikes less than the spot price, and Put options are used for strikes greater than the spot price. The other remedy is to use the RMSE loss function in (46). The problem with RMSE, however, is that the opposite effect occurs. Indeed, because of the presence of Ctk in the denominator,
options with low market value will over-contribute to the sum in (46). The over and under- (45)
contribution, however, can be mitigated by assigning weights wtk to the individual terms in the
objective function, although the choice of the weights is usually subjective and it is discussed later in sub-section (3.8.4).
3.7.3.2 Loss function based on Volatilities
The second category of loss functions are those that minimize the error between quoted and model implied volatilities. Again, the error is usually defined as the squared difference, absolute difference, or relative difference, between quoted and model implied volatilities. This category of loss function is sensible, since options are often quoted in terms of implied volatility, and since the fit of model is often assessed by comparing quoted and model implied volatilities. Hence, for example, the implied volatility mean error sum of squares (IVMSE) parameter estimates are based on the loss function:
𝐼𝑉𝑀𝑆𝐸 = 1
𝑁∑ 𝑤𝑡𝑘
𝑁 𝑡,𝑘
(𝐼𝑉𝑡𝑘 − 𝐼𝑉𝑡𝑘(𝛺̌))2
Where 𝐼𝑉𝑡𝑘 and 𝐼𝑉𝑡𝑘(𝛺̃) are the quoted and model implied volatilities, respectively. The main disadvantage of Equation (47) is that it is numerically intensive. The most popular approach to solving this inverse problem is to minimize the error or discrepancy between model prices and market prices, and is the loss function that the author will use in this thesis (i.e. MSE, Equation (45)).
This usually turns out to be a non-linear least-squares optimization problem. More specifically, the squared differences between vanilla option market prices and that of the model are minimized over the parameter space, i.e., evaluating:
𝑚𝑖𝑛𝛺̌𝑆(𝜃) = 𝑚𝑖𝑛𝛺̌∑𝑁1𝑤𝑖[𝐶𝑖𝛺̌(𝐾𝑖 𝑁 𝑖=1 , 𝑇𝑖) − 𝐶𝑖𝑀(𝐾 𝑖, 𝑇𝑖)]2 (47) (48)
“Therefore, by calibrating
these parameters values,
we seek to obtain an
evolution for the
underlying asset that is
consistent with the
current prices of plain
vanilla options.”
Where Ω is the vector of the five parameters values, 𝐶𝑖𝛺(𝐾 𝑖𝑇𝑖)
and 𝐶𝑖𝑀(𝐾𝑖, 𝑇𝑖) are the ith option prices from the model and
market, respectively, with strike Ki and maturity Ti. N is the number of options used for calibration, and the wi’s are weights.
The question now arises as to what market prices to use in this calibration process, as for any given option there is an ask price and a bid price. This might seem an issue but it actually permits flexibility in the calibration. The author will use the mid-price of the option but accept a parameter set, given that:
∑1 𝑁𝑤𝑖[𝐶𝑖𝛺(𝐾𝑖 𝑁 𝑖=1 , 𝑇𝑖) − 𝐶𝑖𝑀(𝐾 𝑖, 𝑇𝑖)]2| ≤ ∑ 1 𝑁𝑤𝑖[𝐶𝑖𝛺(𝑏𝑖𝑑𝑖− 𝑎𝑠𝑘𝑖)2 𝑁 𝑖=1
Where bidi and aski are the bid/ask prices of the ith option. We do not “order” the model to
match the mid-prices precisely, but fall, at least on average, within the bid-offer spread. We should bear in mind that the modeling process should produce the required estimates within a certain tolerance level. Accuracy beyond this could be spurious46. The minimization mentioned above is not as trivial as it would seem. In general, the loss function S(Ω) is neither convex nor does it have any particular structure. This poses some complications:
Finding the minimum of S(Ω) is not as simple as finding those parameter values that make the gradient of S(Ω) zero. This means that a gradient based optimization method, sometimes will prove to be futile47.
Hence, finding a global minimum is difficult and depends on the optimization method used.
Unique solutions to (48) need not necessarily exist, in which case only local minima can be found. This has some implications regarding the stationarity of parameter values which are important in these types of models. This is discussed later.
46 The same procedure is applied for the Put option, but is not reported.
47 For this reason the author will use two approaches, a Gradient based optimization and a Global stochastic
optimization.
“The author want to
minimize the error
difference between
the Heston model
prices, and real
market price, which
can be easily found
from Internet.”
The last two points make this an ill-posed problem. Figure (29) plots S(Ω) as a function of rho and sigma. The graph presents a graphical idea of the nature of S(Ω) as a function of two of its parameters, It is easy to see that gradient based optimizers will struggle to find a global minimum. Notice, also, the number of points that are non-differentiable. This poses a further problem for gradient based optimizers. It is important to remember that S(Ω) is 5-dimensional and as such could be even nastier in its ‘true’ form.
Further complications arise from the solution, that it does not depends on data and could generate instability in the research of the minimum. We could say that the problem could present a lot of local minima, if they exist.