﻿ Nonparametric Model Calibration for Derivatives

Journal of Mathematical Finance
Vol.07 No.03(2017), Article ID:77621,26 pages
10.4236/jmf.2017.73030

Nonparametric Model Calibration for Derivatives

Frédéric Abergel, Rémy Tachet des Combes, Riadh Zaatour

Laboratory MICS, Centrale Supélec, Châtenay Malabry, France

Received: April 26, 2017; Accepted: July 10, 2017; Published: July 13, 2017

ABSTRACT

Consistently fitting vanilla option surface is an important issue in derivative modelling. In this paper, we consider three different models: local and stochastic volatility, local correlation, hybrid local volatility with stochastic rates, and address their exact, nonparametric calibration. This calibration process requires solving a nonlinear partial integro-differential equation. A modified alternating direction implicit algorithm is used, and its theoretical and numerical analysis is performed.

Keywords:

Local Stochastic Volatility, Calibration, Derivative Pricing, Partial Integro-Differential Equations

1. Introduction

One of the most important challenge for real-life applications of a model to derivatives trading is the issue of calibration. Similar to common situations in many areas of physics and engineering, once a model has been suggested, its parameters have to be estimated using external data. In the case of derivative modelling, those data are the liquid (tradable) options, generally called vanilla products.

It is well-known since the pioneering work of [1] and its celebrated extension by [2] that the knowledge of market data such as the prices of vanilla options across all strikes and maturities is equivalent to the knowledge of the risk-neutral marginals of the underlying stock distribution. Here, we are interested in appli- cations of this result to three different cases.

The first one is quite classic, and is the starting point of our work: local and stochastic volatility models. Such models are very useful in practice, since they offer both the flexibility and realistic dynamics of stochastic volatility, and the exact calibration properties of local volatility. The problem of calibrating local and stochastic volatility models has been dealt with for a while now, for instance by [3] . However, practitioners seem to agree that the stability of its resolution becomes uncertain when the volatility’s volatility is too large. We shall see that indeed some kind of instability appears, and offer explanations to the phenome- non. The second case we focus on is the correlation between assets. Empirical measures give a certain set of results. However, when modelling a basket on multiple underlyings, a problem occurs. If one uses local volatility models for each underlying and correlates their brownian motions using the empirical correlation, the basket obtained will not reproduce the vanillas quoted on the market. This raises significant issues when hedging products on multiple under- lyings. One of the solution for this problem is the known ‘local correlation’ approach: the correlation matrix for the n underlyings is deformed using a parameter, function of the time and the basket level. Here, we use that approach to obtain a calibration equation for the basket, relatively similar to the one appearing in the local and stochastic volatility model, and then numerically solve said equation in a two-underlyings framework.

The last topic we shall be interested in are interest rates, we study a hybrid model: local volatility with stochastic rates. Using a partial differential equation approach similar to the local correlation and the local and stochastic volatility, we write a calibration equation for the vanillas of this hybrid model, solve it and verify the accuracy of the fit.

The general form of our calibration equations is nonlinear partial and integro- differential. For their resolution, we chose to adapt the alternating direction implicit scheme (very efficient to solve classic linear second order parabolic equations, [4] ). Being in a nonlinear non-local framework, many questions arise. Is it relevant to use ADI algorithms to solve the equations stemming from our calibration problems? How should we deal with the nonlocal term? Is the finite difference scheme we chose consistent, and what is the order of the truncation error? Can we detect an instability in certain cases? Is it possible to explain it?

The aim of this work is to address and at least partially answer these questions. The paper is organized as follows. In Section 2, we quickly present the case of the local and stochastic volatility model. Section 3 is devoted to the local correlation, its calibration equation and the fit we obtain in the case of a basket on two underlyings. In Section 4, we do the same thing in the stochastic rates frame. Finally, in Sections 5 and 6, we adress the questions raised previously concerning the ADI algorithm used for the resolution, Section 7 is a brief conclusion.

2. Local and Stochastic Volatility Models

2.1. Partial Integro-Differential Equation for the Calibration of LSV Models

The diffusion model is assumed to be the following

$\frac{\text{d}{S}_{t}}{{S}_{t}}=r\left(t\right)\text{d}t+a\left(t,{S}_{t}\right)b\left({y}_{t}\right)\text{d}{W}_{t}^{1}$ (1)

$\text{d}{y}_{t}=\mu \left(t,{y}_{t}\right)\text{d}t+\xi \left(t,{y}_{t}\right)\text{d}{W}_{t}^{2}$ (2)

$\left({S}_{t},t\ge 0\right)$ is the stock price process and $\left({y}_{t},t\ge 0\right)$ the stochastic component of the volatility. The function b simply transforms that factor into a proper volatility. a is the local volatility part of the model, exactly as in Dupire’s formula, its value shall be specified depending on the aimed vanillas. $\xi$ is the volatility of the volatility factor (commonly called “vovol”) and $\mu$ is a drift term. ${W}^{1}$ and ${W}^{2}$ are one-dimensional standard brownian motions with correlation $\rho$ .

Let us now consider a surface of vanilla prices $C\left(T,K\right)$ and the corres- ponding Local Volatility ${\sigma }_{D}$ . Under suitable regularity and ellipticity assum- ptions, the following proposition can be proved

Proposition 1. The diffusion model defined by (1-2) has a density $p\left(t,S,y\right)$ with respect to Lebesgue’s measure. Moreover, if the model fits the surface of vanillas $C\left(T,K\right)$ then necessarily

${a}^{2}\left(t,S\right)={\sigma }_{D}^{2}\left(t,S\right)\frac{{\int }_{ℝ}p\left(t,S,y\right)\text{d}y}{{\int }_{ℝ}{b}^{2}\left(y\right)p\left(t,S,y\right)\text{d}y}$ (3)

Proof. The exact assumptions and the existence proof can be found in [5] . Here, the main concern is the calibration result. Let us assume that the model fits exactly the surface C. Letting $\left({S}_{0},{y}_{0}\right)$ denote the initial state of the system, the joint density $p\left(t,S,y\right)$ of the couple $\left({S}_{t},{y}_{t}\right)$ verifies Kolmogorov for- ward equation

$\frac{\partial p}{\partial t}-\frac{{\partial }^{2}}{\partial {S}^{2}}\left(\frac{1}{2}{a}^{2}{b}^{2}{S}^{2}p\right)-\frac{{\partial }^{2}}{\partial S\partial y}\left(\rho ab\xi Sp\right)-\frac{{\partial }^{2}}{\partial {y}^{2}}\left(\frac{1}{2}{\xi }^{2}p\right)+\frac{\partial }{\partial S}\left(rSp\right)+\frac{\partial }{\partial y}\left(\mu p\right)=0$

$p\left(0,S,y\right)={\delta }_{{S}_{0},{y}_{0}}$

Applying Fubini, let $q\left(t,S\right)={\int }_{ℝ}p\left(t,S,y\right)\text{d}y$ be the first marginal density of our couple. It is possible to integrate the previous equation and obtain

$\frac{\partial q}{\partial t}-\frac{{\partial }^{2}}{\partial {S}^{2}}\left(\frac{1}{2}{a}^{2}{S}^{2}\left({\int }_{ℝ}{b}^{2}\left(y\right)p\left(t,S,y\right)\text{d}y\right)\right)+\frac{\partial }{\partial S}\left(rSq\right)=0$

$q\left(0,S\right)={\delta }_{{S}_{0}}$

In the case of a local volatility model ( $b=1$ and $a={\sigma }_{D}$ ), the density ${q}_{D}$ of the Spot process solves the equation

$\frac{\partial {q}_{D}}{\partial t}-\frac{{\partial }^{2}}{\partial {S}^{2}}\left(\frac{1}{2}{\sigma }_{D}^{2}{S}^{2}{q}_{D}\right)+\frac{\partial }{\partial S}\left(rS{q}_{D}\right)=0$

${q}_{D}\left(0,S\right)={\delta }_{{S}_{0}}$

The vanillas of the LSV model being perfectly fitted, we have $q={q}_{D}$ . Iden- tifying the terms in the two last formulas gives

${a}^{2}\left(t,S\right)={\sigma }_{D}^{2}\left(t,S\right)\frac{q}{{\int }_{ℝ}{b}^{2}p\text{d}y}={\sigma }_{D}^{2}\left(t,S\right)\frac{{\int }_{ℝ}p\left(t,S,y\right)\text{d}y}{{\int }_{ℝ}{b}^{2}\left(y\right)p\left(t,S,y\right)\text{d}y}$

Using this proposition, and reintroducing the value of a in Kolmogorov forward equation, the joint density $p\left(t,S,y\right)$ is then solution of the nonlinear partial integro-differential equation

$\begin{array}{l}\frac{\partial p}{\partial t}-\frac{{\partial }^{2}}{\partial {S}^{2}}\left(\frac{1}{2}{\sigma }_{D}^{2}{b}^{2}{S}^{2}\frac{{\int }_{ℝ}p\text{d}y}{{\int }_{ℝ}{b}^{2}p\text{d}y}p\right)-\frac{{\partial }^{2}}{\partial S\partial y}\left(\rho {\sigma }_{D}b\xi S{\left(\frac{{\int }_{ℝ}p\text{d}y}{{\int }_{ℝ}{b}^{2}p\text{d}y}\right)}^{\frac{1}{2}}p\right)\\ -\frac{{\partial }^{2}}{\partial {y}^{2}}\left(\frac{1}{2}{\xi }^{2}p\right)+\frac{\partial }{\partial S}\left(rSp\right)+\frac{\partial }{\partial y}\left(\mu p\right)=0\end{array}$ (4)

$p\left(0,S,y\right)={\delta }_{{S}_{0},{y}_{0}}$ (5)

There is thus equivalence between the existence of a model (1-2) that calibra- tes the vanillas C and the existence of a solution p to the pide (4).

Remark 2.1. The quotient $\frac{{\int }_{ℝ}{b}^{2}p\text{d}y}{{\int }_{ℝ}p\text{d}y}$ is nothing but the conditional expecta-

tion of the volatility squared, knowing the spot process. This result is not original in itself (by applying the theorem from [6] for instance), the partial differential equation method however is unusual, and will be used on the other models as well.

The theoretical study of Equations (4) and (5) can be found in [7] . Existence of solutions is proved under strong assumptions (especially on b, which must be sufficiently close to a constant). The general resolution remains an open pro- blem.

2.2. Numerical Results

It seems to be well-known among practitioners, that instabilities occur in their calibration when the volatility’s volatility (in the notations, function $\xi$ ) is too large. This seems to confirm the theoretical limitations met trying to prove the global existence of a solution: when the function b oscillates too much (a change of scale in the factor ${y}_{t}$ clearly shows the equivalence between a b that moves a lot and a large $\xi$ ), the resolution of the equation is not guaranteed anymore. To assess these statements, we considered our problem from a practical viewpoint.

In this section, the calibration that stems from solving the partial differential Equation (4) is studied, for two stochastic volatility models: a lognormal one and a “Cox-Ingersoll-Ross” process. The details of the algorithm used for the resolu- tion and a study of the instabilities will be treated later, in Sections 5 and 6.

2.2.1. Lognormal Volatility

Starting with a simple mean reverting model for the volatility factor, the func- tion b is chosen as an exponential

$\frac{\text{d}{S}_{t}}{{S}_{t}}=r\left(t\right)\text{d}t+a\left(t,{S}_{t}\right)\mathrm{exp}\left({y}_{t}\right)\text{d}{W}_{t}^{1}$ (6)

$\text{d}{y}_{t}=\kappa \left(\delta -{y}_{t}\right)\text{d}t+\gamma \text{d}{W}_{t}^{2}$ (7)

with

${a}^{2}\left(t,S\right)={\sigma }_{D}^{2}\left(t,S\right)\frac{{\int }_{ℝ}p\left(t,S,y\right)\text{d}y}{{\int }_{ℝ}\mathrm{exp}\left(2y\right)p\left(t,S,y\right)\text{d}y}$

Equation (4) is solved using the functions we just chose and the local volatility ${\sigma }_{D}$ associated to the EuroSTOXX 50 implied volatility surface of 2009/04/02. Once function p, density of the couple $\left({S}_{t},{y}_{t}\right)$ , is found, we compute the vanilla prices for different strikes and maturities using this density. To have a point of comparison, the same prices are also computed with the local volatility ${\sigma }_{D}$ , both of them are then compared to the targeted prices (column TP).

Let us then plot the error between the original vanillas and the ones obtained with the model. The calibration is quite efficient, the errors are equivalent to the ones of the local volatility model.

2.2.2. Cox-Ingersoll-Ross Process

We also focus on the calibration of a model inspired from the interest rates framework: the volatility is assumed to follow a CIR process.

$\frac{\text{d}{S}_{t}}{{S}_{t}}=r\left(t\right)\text{d}t+a\left(t,{S}_{t}\right){y}_{t}\text{d}{W}_{t}^{1}$ (8)

$\text{d}{y}_{t}=\kappa \left(\alpha -{y}_{t}\right)\text{d}t+\gamma \sqrt{{y}_{t}}\text{d}{W}_{t}^{2}$ (9)

Detailled properties of this process are described by [8] . In particular, as long as $2\kappa \alpha >{\gamma }^{2}$ , ${y}_{t}$ is strictly positive a.e. Once again, Equation (4) is solved with this stochastic volatility.

3. Application to the “Local Correlation” Model

In this chapter, we are interested in the calibration of a market with n stocks and a basket on those stocks. The purpose is to define a diffusion model for those underlyings that is able to reproduce their implied volatility surface as well as the one of the basket.

The notations are the following, let ${\left({S}_{t}^{i}\right)}_{1\le i\le n}$ denote the n stocks involved in our problem. The basket's value is given by

${B}_{t}=\underset{i=1}{\overset{n}{\sum }}\text{ }\text{ }{w}_{i}{S}_{t}^{i}$ (10)

where the set ${\left({w}_{i}\right)}_{1\le i\le n}$ stands for the weights of the different underlyings. They are assumed to be constant in the rest of our work. Let us also fix $n+1$ surfaces of vanillas ${\left({C}_{i}\left(T,K\right)\right)}_{1\le i\le n}$ and ${C}_{B}\left(T,K\right)$ .

3.1. Inconsistencies between Stock and Basket Options

The naive approach to solve this problem is simply to consider n local volatility models

$\frac{\text{d}{S}_{t}^{i}}{{S}_{t}^{i}}=r\left(t\right)\text{d}t+{\sigma }_{i}\left(t,{S}_{t}^{i}\right)\text{d}{W}_{t}^{i}$ (11)

The functions ${\sigma }_{i}$ are easily determined to fit the surfaces ${\left({C}_{i}\left(T,K\right)\right)}_{1\le i\le n}$ with this diffusion. The correlation matrix $\rho ={\left({\rho }_{ij}\right)}_{1\le i,j\le n}$ associated to the standard brownian motions ${W}_{t}^{i}$ of each underlying can be estimated with historical data. The model is now entirely defined. By Equation (10) of ${B}_{t}$ , the vanilla prices for the basket are completely determined and are equal to

$\mathbb{E}\left[{\left(\sum \text{ }\text{ }{w}_{i}{S}_{T}^{i}-K\right)}^{+}\right]$ . However, there is no particular reason for the surface

computed in this framework to be equal to ${C}_{B}\left(T,K\right)$ . In fact, the skew of the basket is more pronounced on the market than in a model with constant correlations between the underlyings, [9] .

3.2. “Local Correlation” Model

In the manner of B. Dupire who decided to let the volatility depend on the level of the spot process, a degree of freedom is added to our model by distorting the matrix of correlation with a function of ${B}_{t}$ . This method appears for instance in [5] [10] where the basket level induces some feedback on the values of the different underlyings. In our context, the new correlation matrix is taken as a linear combination of $\rho$ and the constant matrix with only 1 as coefficients. This matrix $\stackrel{˜}{\rho }$ is equal to

${\stackrel{˜}{\rho }}_{ij}=\lambda +\left(1-\lambda \right){\rho }_{ij}={\rho }_{ij}+\lambda \left(1-{\rho }_{ij}\right)$ (12)

We shall see while writing the calibration equation that $\lambda$ has to be chosen as a function of the time and of ${B}_{t}$ . The matrix ${\stackrel{˜}{\rho }}_{ij}$ can be seen as an analo- gous of Dupire's local volatility, a 'Local Correlation' so to speak. Assuming that $\rho$ is a proper correlation matrix (definite, positive...), and that the coefficients of the diffusion have a sufficient regularity, our diffusion model then possesses a density in the more general case of a matrix $\rho$ function of the couple $\left(t,B\right)$ . It is also possible to write a condition for the vanillas of the model to be fitted.

Proposition 2. The diffusion model defined by (11) with a correlation function of the couple $\left(t,B\right)$ , has a density $p\left(t,{S}^{1},\cdots ,{S}^{n}\right)$ with respect to Lebesgue's measure. Furthermore, this model calibrates the surface ${C}_{B}\left(T,K\right)$ of ${B}_{t}$ 's vanillas (represented by its local volatility surface ${\sigma }_{B}$ ) if and only if

$\begin{array}{l}{\sigma }_{B}^{2}\left(t,B\right){B}^{2}\int \stackrel{˜}{p}\left(t,B,{S}^{2},\cdots ,{S}^{n}\right)\text{d}{S}^{2}\cdots \text{d}{S}^{n}\\ =\underset{1\le i,j\le n}{\sum }{w}_{i}{w}_{j}{\rho }_{ij}\left(t,B\right)\int \left({\stackrel{˜}{\beta }}_{i}{\stackrel{˜}{\beta }}_{j}\stackrel{˜}{p}\right)\left(t,B,{S}^{2},\cdots ,{S}^{n}\right)\text{d}{S}^{2}\cdots \text{d}{S}^{n}\end{array}$ (13)

where

$\stackrel{˜}{p}\left(t,B,{S}^{2},\cdots ,{S}^{n}\right)=p\left(t,{S}^{1},{S}^{2},\cdots ,{S}^{n}\right),\text{ }{\stackrel{˜}{\beta }}_{i}\left(t,B,{S}^{2},\cdots ,{S}^{n}\right)={S}^{i}{\sigma }_{i}\left(t,{S}^{i}\right)$

with

${S}^{1}=\frac{1}{{w}_{1}}\left(B-\underset{i=2}{\overset{n}{\sum }}{w}_{i}{S}^{i}\right)$ (14)

Proof. The existence of the transition density $p\left(t,{S}^{1},\cdots ,{S}^{n}\right)$ stems from the assumptions made on the regularity of the coefficients, and on $\rho$ , for more details see [5] . We can now write the calibration problem for the vanillas of the basket ${B}_{t}$ . The density just defined satisfies Kolmogorov forward equation

$\frac{\partial p}{\partial t}-\frac{1}{2}\underset{1\le i,j\le n}{\sum }\frac{{\partial }^{2}}{\partial {S}^{i}\partial {S}^{j}}\left({\rho }_{ij}{S}_{i}{\sigma }_{i}{S}_{j}{\sigma }_{j}p\right)+\underset{1\le i\le n}{\sum }\frac{\partial }{\partial {S}^{i}}\left(r{S}^{i}p\right)+rp=0$

To ease the problem, it is useful to change the coordinates $\left({S}^{1},\cdots ,{S}^{n}\right)$ into $\left(B,{S}^{2},\cdots ,{S}^{n}\right)$ with ${S}^{1}$ defined by (14). After computations, the equation be- comes

$\begin{array}{l}\frac{\partial \stackrel{˜}{p}}{\partial t}-\frac{1}{2}\underset{1\le i,j\le n}{\sum }{w}_{i}{w}_{j}\frac{{\partial }^{2}}{\partial {B}^{2}}\left({\rho }_{ij}{\stackrel{˜}{\beta }}_{i}{\stackrel{˜}{\beta }}_{j}\stackrel{˜}{p}\right)\\ -\frac{1}{2}\underset{2\le i,j\le n}{\sum }\left(\frac{{\partial }^{2}}{\partial {S}^{i}\partial {S}^{j}}+{w}_{i}\frac{{\partial }^{2}}{\partial B\partial {S}^{j}}+{w}_{j}\frac{{\partial }^{2}}{\partial {S}^{i}\partial B}\right)\left({\rho }_{ij}{\stackrel{˜}{\beta }}_{i}{\stackrel{˜}{\beta }}_{j}\stackrel{˜}{p}\right)\\ -\underset{2\le i\le n}{\sum }{w}_{1}\frac{{\partial }^{2}}{\partial B\partial {S}^{j}}\left({\rho }_{1i}{\stackrel{˜}{\beta }}_{1}{\stackrel{˜}{\beta }}_{i}\stackrel{˜}{p}\right)+\frac{\partial }{\partial B}\left(rB\stackrel{˜}{p}\right)+\underset{2\le i\le n}{\sum }\frac{\partial }{\partial {S}^{i}}\left(r{S}^{i}\stackrel{˜}{p}\right)+r\stackrel{˜}{p}=0\end{array}$

where $\stackrel{˜}{p}\left(B,{S}^{2},\cdots ,{S}^{n}\right)$ and ${\stackrel{˜}{\beta }}_{i}\left(B,{S}^{2},\cdots ,{S}^{n}\right)$ are defined above. Integrating the equation against the variables $\left({S}^{2},\cdots ,{S}^{n}\right)$ , and writing $q=\frac{1}{{w}_{1}}\int \stackrel{˜}{p}\text{d}{S}^{2}\cdots \text{d}{S}^{n}$ , the density of the marginal law of B satisfies

$\frac{\partial q}{\partial t}-\frac{1}{2}\underset{1\le i,j\le n}{\sum }{w}_{i}{w}_{j}\frac{{\partial }^{2}}{\partial {B}^{2}}\left({\rho }_{ij}\int {\stackrel{˜}{\beta }}_{i}{\stackrel{˜}{\beta }}_{j}\stackrel{˜}{p}\text{d}{S}^{2}\cdots \text{d}{S}^{n}\right)+\frac{\partial }{\partial B}\left(rBq\right)+rq=0$

Comparing this equation to Dupire’s equation for the local volatility ${\sigma }_{B}$

$\frac{\partial q}{\partial t}-\frac{1}{2}\frac{{\partial }^{2}}{\partial {B}^{2}}\left({\sigma }_{D}^{2}{B}^{2}q\right)+\frac{\partial }{\partial B}\left(rBq\right)+rq=0$

if our model reproduces the vanillas ${\sigma }_{D}$ , then the following equality must be verified

${\sigma }_{D}^{2}{B}^{2}\int \stackrel{˜}{p}\text{d}{S}^{2}\cdots \text{d}{S}^{n}=\underset{1\le i,j\le n}{\sum }{w}_{i}{w}_{j}{\rho }_{ij}\int {\stackrel{˜}{\beta }}_{i}{\stackrel{˜}{\beta }}_{j}\stackrel{˜}{p}\text{d}{S}^{2}\cdots \text{d}{S}^{n}$

Reciprocally, the condition we just wrote is clearly sufficient for the options to be calibrated

Remark 3.1. Let us note that this condition is written as an equality between two functions of the time and of B. The other variables are no longer repre- sented.

Assuming that condition (13) is not verified, the model defined by (11) does not fit the vanillas of the basket ${B}_{t}$ . It has to be enriched to solve the calibration problem. Our choice is to distort the correlation matrix. The new matrix $\stackrel{˜}{\rho }$ is described by (12). Hence, let $\Theta$ denote the matrix ${\Theta }_{ij}=1$ for all $1\le i,j\le n$ . We also notice that, the trace of $\rho$ being equal to n, its smallest eigenvalue ${K}_{\rho }$ is smaller than 1.

Lemma 1. The matrix $\stackrel{˜}{\rho }=\left(1-\lambda \right)\rho +\lambda \Theta$ is also a correlation matrix as long as $\lambda$ is in $\right]r,1\left[$ with

$r=-\mathrm{min}\left(\underset{i\ne j}{\mathrm{max}}\frac{1+{\rho }_{ij}}{1-{\rho }_{ij}},\frac{{K}_{\rho }}{n-{K}_{\rho }}\right)<0$ (15)

Proof. Clearly, for all $\left({\xi }_{i},{\xi }_{j}\right)\in {ℝ}^{2}$

$\underset{1\le i,j\le n}{\sum }{\xi }_{i}\left(\left(1-\lambda \right){\rho }_{ij}+\lambda \right){\xi }_{j}\ge {K}_{\rho }\left(1-\lambda \right){|\xi |}^{2}+\lambda {\left(\underset{1\le i\le n}{\sum }{\xi }_{i}\right)}^{2}$

If $\lambda$ is positive, since ${K}_{\rho }\left(1-\lambda \right)$ is stricty positive, the matrix remains definite positive. Now, if $\lambda <0$ , Cauchy-Schwarz gives

$\underset{1\le i,j\le n}{\sum }{\xi }_{i}\left(\left(1-\lambda \right){\rho }_{ij}+\lambda \right){\xi }_{j}\ge \left({K}_{\rho }\left(1-\lambda \right)+\lambda n\right){|\xi |}^{2}$

Since ${K}_{\rho }\le 1$ , $\lambda >-\frac{{K}_{\rho }}{n-{K}_{\rho }}$ is enough for ${K}_{\rho }\left(1-\lambda \right)+\lambda n$ to be stricly po- sitive.

The diagonal coefficients of $\stackrel{˜}{\rho }$ are still 1. As for the other terms, thanks to the first term in relation (15), they still belong to the interval $\right]-1,1\left[$ .

We introduce the new correlation matrix in condition (13), this gives

$\lambda \left(\stackrel{˜}{p}\right)=\frac{{\sigma }_{D}^{2}{B}^{2}\int \stackrel{˜}{p}\text{d}{S}^{2}\cdots \text{d}{S}^{n}-\underset{1\le i,j\le n}{\sum }{w}_{i}{w}_{j}{\rho }_{ij}\int {\stackrel{˜}{\beta }}_{i}{\stackrel{˜}{\beta }}_{j}\stackrel{˜}{p}\text{d}{S}^{2}\cdots \text{d}{S}^{n}}{\underset{1\le i,j\le n}{\sum }{w}_{i}{w}_{j}\left(1-{\rho }_{ij}\right)\int {\stackrel{˜}{\beta }}_{i}{\stackrel{˜}{\beta }}_{j}\stackrel{˜}{p}\text{d}{S}^{2}\cdots \text{d}{S}^{n}}$ (16)

$\lambda \left(\stackrel{˜}{p}\right)$ is a function of B and t. It is now possible to use this value to write a pide on the density $\stackrel{˜}{p}$ . Any solution of the following equation is a density that calibrates the vanillas of the basket

$\frac{\partial \stackrel{˜}{p}}{\partial t}+{L}_{1}\stackrel{˜}{p}+{L}_{2}^{\lambda \left(\stackrel{˜}{p}\right)}\left(\stackrel{˜}{p}\right)=0$ (17)

where ${L}_{1}$ is linear and verifies

$\begin{array}{c}{L}_{1}\stackrel{˜}{p}=-\frac{1}{2}\underset{1\le i,j\le n}{\sum }{w}_{i}{w}_{j}{\rho }_{ij}\frac{{\partial }^{2}}{\partial {B}^{2}}\left({\stackrel{˜}{\beta }}_{i}{\stackrel{˜}{\beta }}_{j}\stackrel{˜}{p}\right)\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}-\frac{1}{2}\underset{2\le i,j\le n}{\sum }{\rho }_{ij}\left(\frac{{\partial }^{2}}{\partial {S}^{i}\partial {S}^{j}}+{w}_{i}\frac{{\partial }^{2}}{\partial B\partial {S}^{j}}+{w}_{j}\frac{{\partial }^{2}}{\partial {S}^{i}\partial B}\right)\left({\stackrel{˜}{\beta }}_{i}{\stackrel{˜}{\beta }}_{j}\stackrel{˜}{p}\right)\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}-\underset{2\le i\le n}{\sum }{w}_{1}{\rho }_{1i}\frac{{\partial }^{2}}{\partial B\partial {S}^{j}}\left({\stackrel{˜}{\beta }}_{1}{\stackrel{˜}{\beta }}_{i}\stackrel{˜}{p}\right)+\frac{\partial }{\partial B}\left(rB\stackrel{˜}{p}\right)+\underset{2\le i\le n}{\sum }\frac{\partial }{\partial {S}^{i}}\left(r{S}^{i}\stackrel{˜}{p}\right)+r\stackrel{˜}{p}\end{array}$

and ${L}_{2}^{\lambda \left(\stackrel{˜}{p}\right)}$ is the nonlinear part of the equation

$\begin{array}{c}{L}_{2}^{\lambda \left(\stackrel{˜}{p}\right)}\left(\stackrel{˜}{p}\right)=-\frac{1}{2}\underset{1\le i,j\le n}{\sum }{w}_{i}{w}_{j}\left(1-{\rho }_{ij}\right)\frac{{\partial }^{2}}{\partial {B}^{2}}\left(\lambda \left(\stackrel{˜}{p}\right){\stackrel{˜}{\beta }}_{i}{\stackrel{˜}{\beta }}_{j}\stackrel{˜}{p}\right)\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}-\frac{1}{2}\underset{2\le i,j\le n}{\sum }\left(1-{\rho }_{ij}\right)\left(\frac{{\partial }^{2}}{\partial {S}^{i}\partial {S}^{j}}+{w}_{i}\frac{{\partial }^{2}}{\partial B\partial {S}^{j}}+{w}_{j}\frac{{\partial }^{2}}{\partial {S}^{i}\partial B}\right)\left(\lambda \left(\stackrel{˜}{p}\right){\stackrel{˜}{\beta }}_{i}{\stackrel{˜}{\beta }}_{j}\stackrel{˜}{p}\right)\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}-\underset{2\le i\le n}{\sum }{w}_{1}\left(1-{\rho }_{1i}\right)\frac{{\partial }^{2}}{\partial B\partial {S}^{j}}\left(\lambda \left(\stackrel{˜}{p}\right){\stackrel{˜}{\beta }}_{1}{\stackrel{˜}{\beta }}_{i}\stackrel{˜}{p}\right)\end{array}$

Remark 3.2. The operator ${L}_{1}+{L}_{2}$ stems from a change of coordinates on a uniformly elliptic operator. It is also elliptic, uniformly on any domain where the ${\stackrel{˜}{\beta }}_{i}$ are bounded away from 0 by a strictly positive constant.

Furthermore, the initial condition is

$\stackrel{˜}{p}\left(0,B,{S}^{2},\cdots ,{S}^{n}\right)=\delta \left(\sum \text{ }\text{ }{w}_{i}{S}_{0}^{i},{S}_{0}^{2}\cdots ,{S}_{0}^{n}\right)$

where ${S}_{0}^{i}$ is the market value at instant 0 of the i-th stock. Applying this initial condition to (16), the initial value of $\lambda$ is equal to

$\lambda \left(\stackrel{˜}{p}\right)\left(0,B\right)=\frac{{\sigma }_{D}^{2}\left(0,B\right){B}^{2}-\underset{1\le i,j\le n}{\sum }{w}_{i}{w}_{j}{\rho }_{ij}{S}_{0}^{i}{\sigma }_{i}\left(0,{S}_{0}^{i}\right){S}_{0}^{j}{\sigma }_{j}\left(0,{S}_{0}^{j}\right)}{\underset{1\le i,j\le n}{\sum }{w}_{i}{w}_{j}\left(1-{\rho }_{ij}\right){S}_{0}^{i}{\sigma }_{i}\left(0,{S}_{0}^{i}\right){S}_{0}^{j}{\sigma }_{j}\left(0,{S}_{0}^{j}\right)}$ (18)

For a theoretical study of the calibration equation, we refer the reader to [5] .

3.3. Resolution of the Equation for the Calibration of a Basket

This subsection focuses on the results of the calibration for a two-underlyings basket. Let us consider two assets, both of them are assumed to generate the following implied volatility surface.

Using a Monte-Carlo simulation and the local volatilities stemming from those surfaces, the theoretical prices for the basket ${B}_{t}$ are computed, with weights ${w}_{1}={w}_{2}=0.5$ and a correlation ${\rho }_{12}=-0.5$ .

Distorting this theoretical surface by a factor of 0.9, and thus making the prices of the basket inconsistent with the prices of the underlyings, the calibration algorithm is applied. Solving the partial integro-differential Equation (17) gives the following vanillas (quoted in implied volatility).

Here are some results for other tests. We calibrate a model with the following parameters ${\rho }_{12}=0$ , ${w}_{1}=0.3$ and ${w}_{2}=0.7$ , the targeted surface is the theo- retical one distorted with two factors: first 0.95 and second 1.05.

At last, a different surface for the second underlying is chosen, mutliplying the first one (described in 3.3) by 0.9, the correlation is this time taken as 0.5.

The results are rather satisfactory, especially at the money. To keep the computations to a reasonnable duration, a sparse initial surface was used. This explains why the calibration is not better far from the money, the fitting method is nontheless valid. Now follows an outlook of the values taken by the new correlation $\stackrel{˜}{\rho }$ at different maturities when the theoretical surface is distorted by factors 0.95 and 1.05. The parameters are: ${\rho }_{12}=0.5$ , ${w}_{1}=0.7$ and ${w}_{2}=0.3$ .

As expected, the Local Correlation and the distorsion factor evolve in the same direction. The underlyings must be more correlated when the implied volatility of the basket is higher, and reciprocally. Furthermore, it appears that in the case of the 0.95 distorsion, the correlation has to violently decrease for high values of B: the two underlyings must be anti-correlated when they are both large.

As for the influence of the maturity, let us first state that in the computation of $\lambda$ , when the denominator is smaller than ${10}^{-6}$ , we chose not to change the correlation, to avoid numerical errors. It appears that, as long as B is in a zone where $\lambda$ was actually computed, the framework chosen to test the calibration actually generates a local correlation constant in time.

4. Application to Stochastic Interest Rates

This section is dedicated to hybrid local volatility models with stochastic rates. The interest rate is assumed to be stochastic and to follow a diffusion equation. The volatility depends on the level of the spot process exactly as in a local volatility model. The idea is to compute its exact value for the vanillas in this model to be calibrated.

4.1. Calibration of the Hybrid Local Volatility Model

The risk-neutral diffusion of the model is written as

$\frac{\text{d}{S}_{t}}{{S}_{t}}=r\left(t,{y}_{t}\right)\text{d}t+\sigma \left(t,{S}_{t}\right)\text{d}{W}_{t}^{1}$ (19)

$\text{d}{y}_{t}=\mu \left(t,{y}_{t}\right)\text{d}t+\lambda \left(t,{y}_{t}\right)\text{d}{W}_{t}^{2}$

The two brownian motions are correlated with a constant correlation denoted by $\rho$ . Classic regularity and ellipticity assumptions are made on the coefficients of the diffusion (described in [5] ) to get the

Proposition 3 The diffusion model defined above has a transition density with respect to Lebesgue’s measure. The value of $\sigma$ that fits its vanillas is given by

${\sigma }^{2}\left(t,S\right)={\sigma }_{D}^{2}\left(t,S\right)+2\frac{\stackrel{¯}{r}\left(t\right){\int }_{ℝ}{\int }_{S}^{+\infty }p\left(t,s,y\right)\text{d}s\text{d}y-{\int }_{ℝ}{\int }_{S}^{+\infty }r\left(t,y\right)p\left(t,s,y\right)dsdy}{S{\int }_{ℝ}p\left(t,S,y\right)\text{d}y}$ (20)

where $p\left(t,S,y\right)$ is the density of the couple $\left({S}_{t},{y}_{t}\right)$ , and $\stackrel{¯}{r}\left(t\right)$ a determini- stic curve of rates used in the computation of Dupire’s local volatility ${\sigma }_{D}$ .

Proof. The existence of the density $p\left(t,S,y\right)$ stems from the assumptions on the coefficients. Let us prove formula (20). The function p solves the forward parabolic equation

$\begin{array}{l}\frac{\partial p}{\partial t}-\frac{{\partial }^{2}}{\partial {S}^{2}}\left(\frac{1}{2}{\sigma }^{2}{S}^{2}p\right)-\frac{{\partial }^{2}}{\partial S\partial y}\left(\rho \sigma \lambda Sp\right)-\frac{{\partial }^{2}}{\partial {y}^{2}}\left(\frac{1}{2}{\lambda }^{2}p\right)\\ +\frac{\partial }{\partial S}\left(rSp\right)+\frac{\partial }{\partial y}\left(\mu p\right)+rp=0\end{array}$

with the initial condition $p\left(0,S,y\right)={\delta }_{{S}_{0},{y}_{0}}$ . As previously, the equation is inte- grated with respect to y, writing $q\left(t,S\right)={\int }_{ℝ}p\left(t,S,y\right)\text{d}y$

$\frac{\partial q}{\partial t}-\frac{{\partial }^{2}}{\partial {S}^{2}}\left(\frac{1}{2}{\sigma }^{2}{S}^{2}q\right)+\frac{\partial }{\partial S}\left(S{\int }_{ℝ}r\left(t,y\right)p\left(t,S,y\right)\text{d}y\right)+{\int }_{ℝ}r\left(t,y\right)p\left(t,S,y\right)\text{d}y=0$

This equation needs to be matched with

$\frac{\partial {q}_{D}}{\partial t}-\frac{{\partial }^{2}}{\partial {S}^{2}}\left(\frac{1}{2}{\sigma }_{D}^{2}{S}^{2}{q}_{D}\right)+\frac{\partial }{\partial S}\left(\stackrel{¯}{r}S{q}_{D}\right)+\stackrel{¯}{r}{q}_{D}=0$

${q}_{D}\left(0,S\right)={\delta }_{{S}_{0}}$

Both of them can be written as

$\frac{1}{2}{\sigma }^{2}{S}^{2}=\frac{{\int }_{0}^{+\infty }{\left(s-S\right)}^{+}\left(\frac{\partial q}{\partial t}+\frac{\partial }{\partial s}\left(s\int rp\text{d}y\right)+\int rp\text{d}y\right)\text{d}s}{q}$

$\frac{1}{2}{\sigma }_{D}^{2}{S}^{2}=\frac{{\int }_{0}^{+\infty }{\left(s-S\right)}^{+}\left(\frac{\partial {q}_{D}}{\partial t}+\frac{\partial }{\partial s}\left(s\stackrel{¯}{r}{q}_{D}\right)+\stackrel{¯}{r}{q}_{D}\right)\text{d}s}{{q}_{D}}$

Computing

$\begin{array}{c}{\int }_{0}^{+\infty }{\left(s-S\right)}^{+}\frac{\partial }{\partial s}\left(s\int rp\text{d}y\right)\text{d}s={\int }_{0}^{+\infty }{\left(s-S\right)}^{+}\left(s\frac{\partial }{\partial s}\left(\int rp\text{d}y\right)+\int rp\text{d}y\right)\text{d}s\\ =-{\int }_{0}^{+\infty }\frac{\partial }{\partial s}\left({\left(s-S\right)}^{+}\right)s\int rp\text{d}y\text{d}s\\ =-{\int }_{0}^{+\infty }s{1}_{s\ge S}\int rp\text{d}y\text{d}s\end{array}$

where the second line stems from a simple integration by parts. Reintroducing this into the previous equations, we get

$\frac{1}{2}{\sigma }^{2}{S}^{2}=\frac{{\int }_{0}^{+\infty }{\left(s-S\right)}^{+}\frac{\partial q}{\partial t}\text{d}s-S{\int }_{S}^{+\infty }\int rp\text{d}y\text{d}s}{q}$

$\frac{1}{2}{\sigma }_{D}^{2}{S}^{2}=\frac{{\int }_{0}^{+\infty }{\left(s-S\right)}^{+}\frac{\partial {q}_{D}}{\partial t}\text{d}s-\stackrel{¯}{r}S{\int }_{S}^{+\infty }{q}_{D}\text{d}s}{{q}_{D}}$

In order to calibrate the vanillas, all that remains to be done is match the marginal density q with ${q}_{D}$ , giving the necessary condition

$\frac{1}{2}{\sigma }^{2}{S}^{2}+\frac{S{\int }_{S}^{+\infty }\int \text{ }rp\text{d}y\text{d}s}{q}=\frac{1}{2}{\sigma }_{D}^{2}{S}^{2}+\frac{\stackrel{¯}{r}S{\int }_{S}^{+\infty }q\text{d}s}{q}$

Replacing q by ${\int }_{ℝ}p\left(t,S,y\right)\text{d}y$ completes the proof.

The calibration equation for the vanillas of our hybrid model is thus

$\begin{array}{l}\frac{\partial p}{\partial t}-\frac{{\partial }^{2}}{\partial {S}^{2}}\left(\frac{1}{2}{\sigma }^{2}{S}^{2}p\right)-\frac{{\partial }^{2}}{\partial S\partial y}\left(\rho \sigma \lambda Sp\right)-\frac{{\partial }^{2}}{\partial {y}^{2}}\left(\frac{1}{2}{\lambda }^{2}p\right)\\ +\frac{\partial }{\partial S}\left(rSp\right)+\frac{\partial }{\partial y}\left(\mu p\right)+rp=0\end{array}$ (21)

with $\sigma$ given by Formula (20). Using similar technics to the other cases, an existence result can be obtained under certain assumptions, but this is not the scope of this paper. It is however noteworthy that one of the necessary hypothesis is the small variation of function r with respect to the deterministic curve $\stackrel{¯}{r}$ .

4.2. Numerical Calibration

In this section, the theoretical results above are applied to calibrate a given diffusion model. Assuming the instantaneous rate to obey a Vasicek model (or in other words an Ornstein-Uhlenbeck process), the diffusion equations become

$\frac{\text{d}{S}_{t}}{{S}_{t}}={r}_{t}\text{d}t+\sigma \left(t,{S}_{t}\right)\text{d}{W}_{t}^{1}$

$\text{d}{r}_{t}=a\left(b-{r}_{t}\right)\text{d}t+\gamma \text{d}{W}_{t}^{2}$

The ADI algorithm described in section 5 is applied to Equation (21) with the coefficients associated to this diffusion. The initial condition is ${p}_{0}\left(S,r\right)={\delta }_{{S}_{0},{r}_{0}}$ .

As in the two previous sections, this partial integro-differential equation is solved with a variable change for the spot process $x=\mathrm{ln}\left(S\right)$ . The grid chosen is $\left[-10\sigma \sqrt{t},10\sigma \sqrt{t}\right]×\left[-0.1,0.2\right]$ with $\sigma =0.2$ and ${r}_{0}=0.04$ . We discretize it with 300 points in both the spot and the rate direction. The initial condition (Dirac mass at the point $\left(\mathrm{ln}\left({S}_{0}\right),{r}_{0}\right)$ ) is approximated by a bivariate Gaussian centred at that point with a very small variance.

The following numerical values are taken for the diffusion

$a=0.5,\text{ }b=0.7,\text{ }\gamma =0.01,\text{ }{r}_{0}=0.04$

These values generate the interest rate

To assess the quality of the calibration, call and put options on the spot process are computed by integration on the grid and compared to the targeted prices (target columns). Convergence is quite satisfactory. For instance, for 6 months and 1 year maturity vanillas, one finds

5. Algorithm for the Resolution of the Calibration Equation

In the previous sections, we wrote the calibration equations and gave graphs for their efficiency. In this one, we describe the algorithm used to solve them: a classic alternating direction implicit scheme. The nonlinear term is handled using a forward induction at first, and then a predictor-corrector method.

The strong feature of an ADI scheme is its convergence rate in time and space: $O\left(\delta {x}^{2}\right)+O\left(\delta {t}^{2}\right)$ . The nonlinearity of the equation challenges this assertion. It is however possible to prove that it remains true in this case too.

5.1. Alternating Direction Implicit Scheme

The calibration equation is a second-order parabolic equation. One of the most efficient method to solve such equations is a finite-difference approximation with alternating direction methods. For more informations on the subject, the reader can look into [4] , numerous articles have also been published, in particu- lar [11] [12] [13] [14] . Let us now consider the following equation

$\begin{array}{l}\frac{\partial p}{\partial t}-\frac{{\partial }^{2}}{\partial {x}^{2}}\left(\frac{1}{2}{f}^{2}{I}^{2}\left(p\right)p\right)-\frac{{\partial }^{2}}{\partial x\partial y}\left(\rho fgI\left(p\right)p\right)\\ -\frac{{\partial }^{2}}{\partial {y}^{2}}\left(\frac{1}{2}{g}^{2}p\right)+\frac{\partial }{\partial x}\left(\alpha p\right)+\frac{\partial }{\partial y}\left(\beta p\right)+\gamma p=0\end{array}$ (22)

$p\left(0,S,y\right)={\delta }_{{S}_{0},{y}_{0}}$ (23)

where f, g, $\alpha$ , $\beta$ and $\gamma$ are functions of t, x and y, $\rho$ a constant and $I\left(p\right)$ the quotient of integrals

${I}^{2}\left(p\right)\left(t,x\right)=\frac{\int {h}^{2}\left(y\right)p\left(t,x,y\right)\text{d}y}{\int p\left(t,x,y\right)\text{d}y}$ (24)

Remark 5.1 We restricted ourselves to two-dimensional equations since they cover all the concrete examples studied previously. But the computations that follow are true in the general case. The cost in time however becomes an issue in higher dimensions.

The domain for the numerical resolution is $\right]0,T\left[×\right]{x}_{*},{x}^{*}\left[×\right]{y}_{*},{y}^{*}\left[$ . The first step is to take care of the initial condition. Instead of the Dirac, the initial condition ${p}_{0}$ is chosen as a gaussian distribution with very small variance. It obviously approximates our initial condition. It also verifies (on any bounded domain) the properties of regularity and strict positivity required in the theoretical study of the Equation (though in the present section, we are only interested in its numerical resolution). Let $p\left(t,x,y\right)={p}_{0}\left(x,y\right)$ if $x={x}_{*},{x}^{*}$ or $y={y}_{*},{y}^{*}$ be the boundary conditions.

The algorithm is based upon a predictor-corrector approach. Let $\Delta x$ , $\Delta y$ and $\Delta t$ be increments of the variables x, y and t, where $\Delta x=\frac{{x}^{*}-{x}_{*}}{I}$ , $\Delta y=\frac{{y}^{*}-{y}_{*}}{J}$ and $\Delta t=\frac{T}{N}$ with I, J and N integers. The sets of points in the x,y,t-plane is given by ${x}_{n}={x}_{*}+i\frac{\Delta x}{{x}^{*}-{x}_{*}}$ , ${y}_{j}={y}_{*}+j\frac{\Delta y}{{y}^{*}-{y}_{*}}$ and ${t}_{n}=n\frac{\Delta t}{T}$ , for $0\le i\le I$ , $0\le j\le J$ and $0\le n\le N$ . We construct four sequences ${p}_{n}$ , ${p}_{n}^{*}$ , ${q}_{n}$ and ${q}_{n}^{*}$ of space-dependent functions with n between 0 and N.

A classic alternating direction implicit scheme functions as follows: let us define the initial functions

${p}_{0}^{*}\left(i,j\right)={q}_{0}\left(i,j\right)={q}_{0}^{*}\left(i,j\right)={p}_{0}\left({x}_{i},{y}_{j}\right)$

and then by induction

$\begin{array}{c}\frac{{q}_{n+1}^{*}-{p}_{n}}{\Delta t}={\delta }_{x}^{2}\left({I}^{2}\left({p}_{n}\right)\frac{{f}_{n+1}^{2}{q}_{n+1}^{*}+{f}_{n}^{2}{p}_{n}}{4}\right)\\ +{\delta }_{xy}^{2}\left(\rho {f}_{n}{g}_{n}I\left({p}_{n}\right){p}_{n}\right)+{\delta }_{y}^{2}\left(\frac{1}{2}{g}_{n}^{2}{p}_{n}\right)\\ \text{\hspace{0.17em}}-{\delta }_{x}\left(\frac{{\alpha }_{n+1}{q}_{n+1}^{*}+{\alpha }_{n}{p}_{n}}{2}\right)-{\delta }_{y}\left({\beta }_{n}{p}_{n}\right)-\frac{{\gamma }_{n+1}{q}_{n+1}^{*}+{\gamma }_{n}{p}_{n}}{2}\end{array}$ (25)

$\begin{array}{c}\frac{{q}_{n+1}-{p}_{n}}{\Delta t}={\delta }_{x}^{2}\left({I}^{2}\left({p}_{n}\right)\frac{{f}_{n+1}^{2}{q}_{n+1}^{*}+{f}_{n}^{2}{p}_{n}}{4}\right)+{\delta }_{xy}^{2}\left(\rho {f}_{n}{g}_{n}I\left({p}_{n}\right){p}_{n}\right)\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}+{\delta }_{y}^{2}\left(\frac{{g}_{n+1}^{2}{q}_{n+1}+{g}_{n}^{2}{p}_{n}}{4}\right)-{\delta }_{x}\left(\frac{{\alpha }_{n+1}{q}_{n+1}^{*}+{\alpha }_{n}{p}_{n}}{2}\right)\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}-{\delta }_{y}\left(\frac{{\beta }_{n+1}{q}_{n+1}+{\beta }_{n}{p}_{n}}{2}\right)-\frac{{\gamma }_{n+1}{q}_{n+1}+{\gamma }_{n}{p}_{n}}{2}\end{array}$ (26)

where ${f}_{n}\left(i,j\right)$ designates $f\left(n\Delta t,{x}_{i},{y}_{j}\right)$ (the same thing being true for the other coefficients of the equation). $\delta$ is a difference operator for the space derivatives. For instance, with $1\le i\le I-1$ and $1\le j\le J-1$

$\begin{array}{l}{\delta }_{x}^{2}{f}_{n}=\frac{{f}_{n}\left(i-1,j\right)-2{f}_{n}\left(i,j\right)+{f}_{n}\left(i+1,j\right)}{\Delta {x}^{2}}\\ {\delta }_{xy}^{2}{f}_{n}=\frac{{f}_{n}\left(i-1,j-1\right)-{f}_{n}\left(i+1,j\right)-{f}_{n}\left(i,j+1\right)+{f}_{n}\left(i+1,j+1\right)}{4\Delta x\Delta y}\\ {\delta }_{x}{f}_{n}=\frac{{f}_{n}\left(i+1,j\right)-{f}_{n}\left(i-1,j\right)}{2\Delta x}\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}⋮\end{array}$

The Equations (25) and (26) form two tridiagonal systems that can be solved very efficiently. A recursion formula can be computed on the functions ${q}_{n}$ defined above

$\frac{{q}_{n+1}-{q}_{n+1}^{*}}{\Delta t}={\delta }_{y}^{2}\left(\frac{{g}_{n+1}^{2}{q}_{n+1}-{g}_{n}^{2}{p}_{n}}{4}\right)-{\delta }_{y}\left(\frac{{\beta }_{n+1}{q}_{n+1}-{\beta }_{n}{p}_{n}}{2}\right)-{\gamma }_{n+1}\frac{{q}_{n+1}-{q}_{n+1}^{*}}{2}$

Thus

${q}_{n+1}^{*}={q}_{n+1}-\frac{2\Delta t}{2+{\gamma }_{n+1}\Delta t}\left({\delta }_{y}^{2}\left(\frac{{g}_{n+1}^{2}{q}_{n+1}-{g}_{n}^{2}{p}_{n}}{4}\right)-{\delta }_{y}\left(\frac{{\beta }_{n+1}{q}_{n+1}-{\beta }_{n}{p}_{n}}{2}\right)\right)$

And eventually

$\begin{array}{l}\frac{{q}_{n+1}-{p}_{n}}{\Delta t}={\delta }_{x}^{2}\left({I}^{2}\left({p}_{n}\right)\frac{{f}_{n+1}^{2}{q}_{n+1}+{f}_{n}^{2}{p}_{n}}{4}\right)+{\delta }_{xy}^{2}\left(\rho {f}_{n}{g}_{n}I\left({p}_{n}\right){p}_{n}\right)\\ \text{\hspace{0.17em}}+{\delta }_{y}^{2}\left(\frac{{g}_{n+1}^{2}{q}_{n+1}+{g}_{n}^{2}{p}_{n}}{4}\right)-{\delta }_{x}\left(\frac{{\alpha }_{n+1}{q}_{n+1}+{\alpha }_{n}{p}_{n}}{2}\right)\\ \text{\hspace{0.17em}}-{\delta }_{y}\left(\frac{{\beta }_{n+1}{q}_{n+1}+{\beta }_{n}{p}_{n}}{2}\right)-\frac{{\gamma }_{n+1}{q}_{n+1}+{\gamma }_{n}{p}_{n}}{2}\\ \text{\hspace{0.17em}}-\frac{\Delta t}{4+2{\gamma }_{n+1}\Delta t}{\delta }_{x}^{2}\left({I}^{2}\left({p}_{n}\right){f}_{n+1}^{2}\left({\delta }_{y}^{2}\left(\frac{{g}_{n+1}^{2}{q}_{n+1}-{g}_{n}^{2}{p}_{n}}{4}\right)-{\delta }_{y}\left(\frac{{\beta }_{n+1}{q}_{n+1}-{\beta }_{n}{p}_{n}}{2}\right)\right)\right)\\ \text{\hspace{0.17em}}+\frac{\Delta t}{2+{\gamma }_{n+1}\Delta t}{\delta }_{x}\left({\alpha }_{n+1}\left({\delta }_{y}^{2}\left(\frac{{g}_{n+1}^{2}{q}_{n+1}-{g}_{n}^{2}{p}_{n}}{4}\right)-{\delta }_{y}\left(\frac{{\beta }_{n+1}{q}_{n+1}-{\beta }_{n}{p}_{n}}{2}\right)\right)\right)\end{array}$ (27)

In the litterature concerning alternating direction implicit schemes, the functions ${q}_{n}$ are often called the predicted value of the solution p, a second “corrector” step usually follows. In our case, the equation being nonlinear, we start by chosing ${p}_{n+1}={q}_{n+1}$ and study the finite-difference approximation that results.

Proposition 4. This last finite-difference equation is consistent with the partial differential Equation (22) on a bounded domain with smooth initial condition ${p}_{0}$ , the truncation error is

$O\left(\Delta t\right)+O\left(\Delta {x}^{2}\right)+O\left(\Delta {y}^{2}\right)+O\left(\frac{\Delta {x}^{3}}{\Delta y}\right)$

Proof. Let p be a classic solution of Equation (22) on a bounded domain, with ${p|}_{t=0}={p}_{0}$ . We assume that p is strictly positive and sufficiently differentiable for all the quantities in the sequel to be properly defined. All the derivatives that appear are bounded as a consequence of the regularity assumptions on p. Writing ${p}_{i,j}^{n}={p}^{n}\left({x}_{i},{y}_{j}\right)=p\left({t}_{n},{x}_{i},{y}_{j}\right)$ , a simple Taylor expansion with re- mainder gives

$\begin{array}{c}\frac{{p}_{i,j}^{n+1}-{p}_{i,j}^{n}}{\Delta t}=\frac{\frac{\partial p}{\partial t}\left({t}_{n},{x}_{i},{y}_{j}\right)+\frac{\partial p}{\partial t}\left({t}_{n+1},{x}_{i},{y}_{j}\right)}{2}\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}+\frac{\Delta t}{2}\left(\frac{{\partial }^{2}p}{\partial {t}^{2}}\left({t}_{n}+\theta ,{x}_{i},{y}_{j}\right)-\frac{{\partial }^{2}p}{\partial {t}^{2}}\left({t}_{n}+{\theta }^{*},{x}_{i},{y}_{j}\right)\right)\end{array}$

As for the space derivatives, clearly

${\delta }_{x}^{2}{p}^{n}=\frac{{\partial }^{2}{p}^{n}}{\partial {x}^{2}}\left({x}_{i},{y}_{j}\right)+\frac{\Delta {x}^{2}}{24}\left(\frac{{\partial }^{4}{p}^{n}}{\partial {x}^{4}}\left({x}_{i}+{\theta }_{1},{y}_{j}\right)+\frac{{\partial }^{4}{p}^{n}}{\partial {x}^{4}}\left({x}_{i}-{\theta }_{2},{y}_{j}\right)\right)$

$\begin{array}{c}{\delta }_{xy}^{2}{p}^{n}=\frac{{\partial }^{2}{p}^{n}}{\partial x\partial y}\left({x}_{i},{y}_{j}\right)+\frac{\Delta {y}^{2}}{12}\left(\frac{{\partial }^{4}{p}^{n}}{\partial x\partial {y}^{3}}\left({x}_{i},{y}_{j}+{\theta }_{1}\right)+\frac{{\partial }^{4}{p}^{n}}{\partial x\partial {y}^{3}}\left({x}_{i},{y}_{j}-{\theta }_{2}\right)\right)\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}+\frac{\Delta {x}^{2}}{24\Delta y}\left[\frac{{\partial }^{3}{p}^{n}}{\partial {x}^{3}}\left({x}_{i}+{\theta }_{3},{y}_{j-1}\right)-\frac{{\partial }^{3}{p}^{n}}{\partial {x}^{3}}\left({x}_{i}+{\theta }_{4},{y}_{j-1}\right)\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}+\frac{{\partial }^{3}{p}^{n}}{\partial {x}^{3}}\left({x}_{i}-{\theta }_{5},{y}_{j+1}\right)-\frac{{\partial }^{3}{p}^{n}}{\partial {x}^{3}}\left({x}_{i}-{\theta }_{6},{y}_{j+1}\right)\right]\end{array}$

${\delta }_{x}{p}^{n}=\frac{\partial {p}^{n}}{\partial x}\left({x}_{i},{y}_{j}\right)+\frac{\Delta {x}^{2}}{12}\left(\frac{{\partial }^{3}{p}^{n}}{\partial {x}^{3}}\left({x}_{i}+{\theta }_{1},{y}_{j}\right)+\frac{{\partial }^{3}{p}^{n}}{\partial {x}^{3}}\left({x}_{i}-{\theta }_{2},{y}_{j}\right)\right)$

where the different constants $\theta$ are between 0 and $\Delta t$ , $\Delta x$ or $\Delta y$ de- pending on the context, they may change from one formula to another. Let E denote the truncation error for Scheme (27), we have

$\begin{array}{c}E=\frac{{p}^{n+1}-{p}^{n}}{\Delta t}-{\delta }_{x}^{2}\left({I}^{2}\left({p}^{n}\right)\frac{{f}_{n+1}^{2}{p}^{n+1}+{f}_{n}^{2}{p}^{n}}{4}\right)-{\delta }_{xy}^{2}\left(\rho {f}_{n}{g}_{n}I\left({p}^{n}\right){p}^{n}\right)\\ \text{\hspace{0.17em}}-{\delta }_{y}^{2}\left(\frac{{g}_{n+1}^{2}{p}^{n+1}+{g}_{n}^{2}{p}^{n}}{4}\right)+{\delta }_{x}\left(\frac{{\alpha }_{n+1}{p}^{n+1}+{\alpha }_{n}{p}^{n}}{2}\right)\\ \text{\hspace{0.17em}}+{\delta }_{y}\left(\frac{{\beta }_{n+1}{p}^{n+1}+{\beta }_{n}{p}^{n}}{2}\right)+\frac{{\gamma }_{n+1}{p}^{n+1}+{\gamma }_{n}{p}^{n}}{2}\\ \text{\hspace{0.17em}}+\frac{\Delta t}{4+2{\gamma }_{n+1}\Delta t}{\delta }_{x}^{2}\left({I}^{2}\left({p}^{n}\right){f}_{n+1}^{2}\left({\delta }_{y}^{2}\left(\frac{{g}_{n+1}^{2}{p}^{n+1}-{g}_{n}^{2}{p}^{n}}{4}\right)-{\delta }_{y}\left(\frac{{\beta }_{n+1}{p}^{n+1}-{\beta }_{n}{p}^{n}}{2}\right)\right)\right)\\ \text{\hspace{0.17em}}-\frac{\Delta t}{2+{\gamma }_{n+1}\Delta t}{\delta }_{x}\left({\alpha }_{n+1}\left({\delta }_{y}^{2}\left(\frac{{g}_{n+1}^{2}{p}^{n+1}-{g}_{n}^{2}{p}^{n}}{4}\right)-{\delta }_{y}\left(\frac{{\beta }_{n+1}{p}^{n+1}-{\beta }_{n}{p}^{n}}{2}\right)\right)\right)\end{array}$

Applying the previous expansions and using the fact that p verifies Equation (22) at times ${t}_{n}$ and ${t}_{n+1}$ gives us

$E={e}_{1}-{e}_{21}-{e}_{22}-{e}_{23}-{e}_{3}+{e}_{41}+{e}_{42}+{e}_{5}$

with ${e}_{1}$ the error coming from the time-derivative

${e}_{1}=\frac{\Delta t}{2}\left(\frac{{\partial }^{2}p}{\partial {t}^{2}}\left({t}_{n}+\theta ,{x}_{i},{y}_{j}\right)-\frac{{\partial }^{2}p}{\partial {t}^{2}}\left({t}_{n}+{\theta }^{*},{x}_{i},{y}_{j}\right)\right)$

${e}_{21}$ , ${e}_{22}$ and ${e}_{23}$ come from the second order space-derivatives

$\begin{array}{c}{e}_{21}=\frac{\Delta {x}^{2}}{96}\left[\frac{{\partial }^{4}}{\partial {x}^{4}}\left({I}^{2}\left({p}^{n}\right){f}_{n}^{2}{p}^{n}\right)\left({x}_{i}+{\theta }_{1},{y}_{j}\right)+\frac{{\partial }^{4}}{\partial {x}^{4}}\left({I}^{2}\left({p}^{n}\right){f}_{n}^{2}{p}^{n}\right)\left({x}_{i}-{\theta }_{2},{y}_{j}\right)\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}+\frac{{\partial }^{4}}{\partial {x}^{4}}\left({I}^{2}\left({p}^{n}\right){f}_{n+1}^{2}{p}^{n+1}\right)\left({x}_{i}+{\theta }_{3},{y}_{j}\right)+\frac{{\partial }^{4}}{\partial {x}^{4}}\left({I}^{2}\left({p}^{n}\right){f}_{n+1}^{2}{p}^{n+1}\right)\left({x}_{i}-{\theta }_{4},{y}_{j}\right)\right]\end{array}$

$\begin{array}{c}{e}_{21}=\frac{\Delta {x}^{2}}{96}\left[\frac{{\partial }^{4}}{\partial {x}^{4}}\left({I}^{2}\left({p}^{n}\right){f}_{n}^{2}{p}^{n}\right)\left({x}_{i}+{\theta }_{1},{y}_{j}\right)+\frac{{\partial }^{4}}{\partial {x}^{4}}\left({I}^{2}\left({p}^{n}\right){f}_{n}^{2}{p}^{n}\right)\left({x}_{i}-{\theta }_{2},{y}_{j}\right)\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}+\frac{{\partial }^{4}}{\partial {x}^{4}}\left({I}^{2}\left({p}^{n}\right){f}_{n+1}^{2}{p}^{n+1}\right)\left({x}_{i}+{\theta }_{3},{y}_{j}\right)+\frac{{\partial }^{4}}{\partial {x}^{4}}\left({I}^{2}\left({p}^{n}\right){f}_{n+1}^{2}{p}^{n+1}\right)\left({x}_{i}-{\theta }_{4},{y}_{j}\right)\right]\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}+\frac{{\partial }^{3}}{\partial {x}^{3}}\left(\rho {f}_{n}{g}_{n}I\left({p}^{n}\right){p}^{n}\right)\left({x}_{i}-{\theta }_{5},{y}_{j+1}\right)-\frac{{\partial }^{3}}{\partial {x}^{3}}\left(\rho {f}_{n}{g}_{n}I\left({p}^{n}\right){p}^{n}\right)\left({x}_{i}-{\theta }_{6},{y}_{j+1}\right)\end{array}$

$\begin{array}{c}{e}_{23}=\frac{\Delta {y}^{2}}{96}\left[\frac{{\partial }^{4}}{\partial {y}^{4}}\left({g}_{n}^{2}{p}^{n}\right)\left({x}_{i},{y}_{j}+{\theta }_{1}\right)+\frac{{\partial }^{4}}{\partial {y}^{4}}\left({g}_{n}^{2}{p}^{n}\right)\left({x}_{i},{y}_{j}-{\theta }_{2}\right)\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}+\frac{{\partial }^{4}}{\partial {y}^{4}}\left({g}_{n+1}^{2}{p}^{n+1}\right)\left({x}_{i},{y}_{j}+{\theta }_{3}\right)+\frac{{\partial }^{4}}{\partial {y}^{4}}\left({g}_{n+1}^{2}{p}^{n+1}\right)\left({x}_{i},{y}_{j}-{\theta }_{4}\right)\right]\end{array}$

${e}_{3}$ enables us to compensate for both the nondiagonal term and the nonlocal term $I\left({p}^{n}\right)$ that cannot be computed implicitely

$\begin{array}{c}{e}_{3}=\frac{{\partial }^{2}}{\partial {x}^{2}}\left[\left({I}^{2}\left({p}^{n}\right)-{I}^{2}\left({p}^{n+1}\right)\right)\frac{{f}_{n+1}^{2}{p}^{n+1}}{4}\right]\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}+\frac{{\partial }^{2}}{\partial x\partial y}\left[\frac{\rho }{2}\left({f}_{n}{g}_{n}I\left({p}^{n}\right){p}^{n}-{f}_{n+1}{g}_{n+1}I\left({p}^{n+1}\right){p}^{n+1}\right)\right]\end{array}$

${e}_{41}$ and ${e}_{42}$ are the terms corresponding to the first order space-derivatives

$\begin{array}{c}{e}_{41}=\frac{\Delta {x}^{2}}{24}\left[\frac{{\partial }^{3}}{\partial {x}^{3}}\left({\alpha }_{n}{p}^{n}\right)\left({x}_{i}+{\theta }_{1},{y}_{j}\right)+\frac{{\partial }^{3}}{\partial {x}^{3}}\left({\alpha }_{n}{p}^{n}\right)\left({x}_{i}-{\theta }_{2},{y}_{j}\right)\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}+\frac{{\partial }^{3}}{\partial {x}^{3}}\left({\alpha }_{n+1}{p}^{n+1}\right)\left({x}_{i}+{\theta }_{3},{y}_{j}\right)+\frac{{\partial }^{3}}{\partial {x}^{3}}\left({\alpha }_{n+1}{p}^{n+1}\right)\left({x}_{i}-{\theta }_{4},{y}_{j}\right)\right]\end{array}$

$\begin{array}{c}{e}_{42}=\frac{\Delta {y}^{2}}{24}\left[\frac{{\partial }^{3}}{\partial {y}^{3}}\left({\beta }_{n}{p}^{n}\right)\left({x}_{i},{y}_{j}+{\theta }_{1}\right)+\frac{{\partial }^{3}}{\partial {y}^{3}}\left({\beta }_{n}{p}^{n}\right)\left({x}_{i},{y}_{j}-{\theta }_{2}\right)\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}+\frac{{\partial }^{3}}{\partial {y}^{3}}\left({\beta }_{n+1}{p}^{n+1}\right)\left({x}_{i},{y}_{j}+{\theta }_{3}\right)+\frac{{\partial }^{3}}{\partial {y}^{3}}\left({\beta }_{n+1}{p}^{n+1}\right)\left({x}_{i},{y}_{j}-{\theta }_{4}\right)\right]\end{array}$

At last, ${e}_{5}$ is the correction term stemming from the alternating direction implicit scheme

$\begin{array}{c}{e}_{5}=\frac{\Delta t}{4+2{\gamma }_{n+1}\Delta t}{\delta }_{x}^{2}\left({I}^{2}\left({p}^{n}\right){f}_{n+1}^{2}\left({\delta }_{y}^{2}\left(\frac{{g}_{n+1}^{2}{p}^{n+1}-{g}_{n}^{2}{p}^{n}}{4}\right)-{\delta }_{y}\left(\frac{{\beta }_{n+1}{p}^{n+1}-{\beta }_{n}{p}^{n}}{2}\right)\right)\right)\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}-\frac{\Delta t}{2+{\gamma }_{n+1}\Delta t}{\delta }_{x}\left({\alpha }_{n+1}\left({\delta }_{y}^{2}\left(\frac{{g}_{n+1}^{2}{p}^{n+1}-{g}_{n}^{2}{p}^{n}}{4}\right)-{\delta }_{y}\left(\frac{{\beta }_{n+1}{p}^{n+1}-{\beta }_{n}{p}^{n}}{2}\right)\right)\right)\end{array}$

Thanks to the regularity of p and of the coefficients of (22), the upper bounds ${e}_{1}\le K\Delta {t}^{2}$ , ${e}_{21}+{e}_{41}\le K\Delta {x}^{2}$ , ${e}_{23}+{e}_{42}\le K\Delta {y}^{2}$ and ${e}_{22}\le K\left(\Delta {y}^{2}+\frac{\Delta {x}^{3}}{\Delta y}\right)$ are

obtained. It is also easily proven that ${e}_{5}\le K\Delta {t}^{2}$ . The term that prevents us from getting an error in $O\left(\Delta {t}^{2}\right)$ is ${e}_{3}$ . All we have is ${e}_{3}\le K\Delta t$ . This concludes the proof.

Remark 5.2. In a case with no $I\left(p\right)$ term, the equation is a classic linear and parabolic one. In that case, when the off-diagonal1 term is absent ( $\rho =0$ for instance), the previous scheme has an error in $O\left(\Delta {t}^{2}\right)$ . To obtain such an error in the general case, a second “corrector” step is generally used: the predicted value ${q}_{n+1}$ is introduced as an approximation of ${p}_{n+1}$ in the cross-derivatives. Here, we use it in the nonlocal term too.

The correction step is the following

$\begin{array}{c}\frac{{p}_{n+1}^{*}-{p}_{n}}{\Delta t}={\delta }_{x}^{2}\left(\frac{{I}^{2}\left({q}_{n+1}\right){f}_{n+1}^{2}{p}_{n+1}^{*}+{I}^{2}\left({p}_{n}\right){f}_{n}^{2}{p}_{n}}{4}\right)\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}+{\delta }_{xy}^{2}\left(\rho \frac{{\left(fg\right)}_{n+1}I\left({q}_{n+1}\right){q}_{n+1}+{\left(fg\right)}_{n}I\left({p}_{n}\right){p}_{n}}{2}\right)\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}+{\delta }_{y}^{2}\left(\frac{1}{2}{g}_{n}^{2}{p}_{n}\right)-{\delta }_{x}\left(\frac{{\alpha }_{n+1}{p}_{n+1}^{*}+{\alpha }_{n}{p}_{n}}{2}\right)\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}-{\delta }_{y}\left({\beta }_{n}{p}_{n}\right)-\frac{{\gamma }_{n+1}{p}_{n+1}^{*}+{\gamma }_{n}{p}_{n}}{2}\end{array}$

$\begin{array}{c}\frac{{p}_{n+1}-{p}_{n}}{\Delta t}={\delta }_{x}^{2}\left(\frac{{I}^{2}\left({q}_{n+1}\right){f}_{n+1}^{2}{p}_{n+1}^{*}+{I}^{2}\left({p}_{n}\right){f}_{n}^{2}{p}_{n}}{4}\right)\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}+{\delta }_{xy}^{2}\left(\rho \frac{{\left(fg\right)}_{n+1}I\left({q}_{n+1}\right){q}_{n+1}+{\left(fg\right)}_{n}I\left({p}_{n}\right){p}_{n}}{2}\right)\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}+{\delta }_{y}^{2}\left(\frac{{g}_{n+1}^{2}{p}_{n+1}+{g}_{n}^{2}{p}_{n}}{4}\right)-{\delta }_{x}\left(\frac{{\alpha }_{n+1}{p}_{n+1}^{*}+{\alpha }_{n}{p}_{n}}{2}\right)\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}-{\delta }_{y}\left(\frac{{\beta }_{n+1}{p}_{n+1}+{\beta }_{n}{p}_{n}}{2}\right)-\frac{{\gamma }_{n+1}{p}_{n+1}+{\gamma }_{n}{p}_{n}}{2}\end{array}$

Here too, one can compute ${p}_{n+1}^{*}$

${p}_{n+1}^{*}={p}_{n+1}-\frac{2\Delta t}{2+{\gamma }_{n+1}\Delta t}\left({\delta }_{y}^{2}\left(\frac{{g}_{n+1}^{2}{p}_{n+1}-{g}_{n}^{2}{p}_{n}}{4}\right)-{\delta }_{y}\left(\frac{{\beta }_{n+1}{p}_{n+1}-{\beta }_{n}{p}_{n}}{2}\right)\right)$

Eventually, a Crank-Nicholson like formula appears

$\begin{array}{l}\frac{{p}_{n+1}-{p}_{n}}{\Delta t}={\delta }_{x}^{2}\left(\frac{{I}^{2}\left({q}_{n+1}\right){f}_{n+1}^{2}{p}_{n+1}+{I}^{2}\left({p}_{n}\right){f}_{n}^{2}{p}_{n}}{4}\right)\\ +{\delta }_{xy}^{2}\left(\rho \frac{{\left(fg\right)}_{n+1}I\left({q}_{n+1}\right){q}_{n+1}+{\left(fg\right)}_{n}I\left({p}_{n}\right){p}_{n}}{2}\right)+{\delta }_{y}^{2}\left(\frac{{g}_{n+1}^{2}{p}_{n+1}+{g}_{n}^{2}{p}_{n}}{4}\right)\\ -{\delta }_{x}\left(\frac{{\alpha }_{n+1}{p}_{n+1}+{\alpha }_{n}{p}_{n}}{2}\right)-{\delta }_{y}\left(\frac{{\beta }_{n+1}{p}_{n+1}+{\beta }_{n}{p}_{n}}{2}\right)-\frac{{\gamma }_{n+1}{p}_{n+1}+{\gamma }_{n}{p}_{n}}{2}\\ -\frac{\Delta t}{4+2{\gamma }_{n+1}\Delta t}{\delta }_{x}^{2}\left({I}^{2}\left({q}_{n+1}\right){f}_{n+1}^{2}\left({\delta }_{y}^{2}\left(\frac{{g}_{n+1}^{2}{p}_{n+1}-{g}_{n}^{2}{p}_{n}}{4}\right)-{\delta }_{y}\left(\frac{{\beta }_{n+1}{p}_{n+1}-{\beta }_{n}{p}_{n}}{2}\right)\right)\right)\\ +\frac{\Delta t}{2+{\gamma }_{n+1}\Delta t}{\delta }_{x}\left({\alpha }_{n+1}\left({\delta }_{y}^{2}\left(\frac{{g}_{n+1}^{2}{p}_{n+1}-{g}_{n}^{2}{p}_{n}}{4}\right)-{\delta }_{y}\left(\frac{{\beta }_{n+1}{p}_{n+1}-{\beta }_{n}{p}_{n}}{2}\right)\right)\right)\end{array}$

Let us study the consistency of this new scheme

Proposition 5. The algorithm with a corrector step is also consistent. The truncation error is

$O\left(\Delta {t}^{2}\right)+O\left(\Delta {x}^{2}\right)+O\left(\Delta {y}^{2}\right)+O\left(\frac{\Delta {x}^{3}}{\Delta y}\right)$

Proof. To prove the consistency, let ${q}^{n+1}$ be defined as

$\begin{array}{l}\frac{{q}^{n+1}-{p}^{n}}{\Delta t}={\delta }_{x}^{2}\left({I}^{2}\left({p}^{n}\right)\frac{{f}_{n+1}^{2}{q}^{n+1}+{f}_{n}^{2}{p}^{n}}{4}\right)+{\delta }_{xy}^{2}\left(\rho {f}_{n}{g}_{n}I\left({p}^{n}\right){p}^{n}\right)\\ \text{\hspace{0.17em}}+{\delta }_{y}^{2}\left(\frac{{g}_{n+1}^{2}{q}^{n+1}+{g}_{n}^{2}{p}^{n}}{4}\right)-{\delta }_{x}\left(\frac{{\alpha }_{n+1}{q}^{n+1}+{\alpha }_{n}{p}^{n}}{2}\right)\\ \text{\hspace{0.17em}}-{\delta }_{y}\left(\frac{{\beta }_{n+1}{q}^{n+1}+{\beta }_{n}{p}^{n}}{2}\right)-\frac{{\gamma }_{n+1}{q}^{n+1}+{\gamma }_{n}{p}^{n}}{2}\\ \text{\hspace{0.17em}}-\frac{\Delta t}{4+2{\gamma }_{n+1}\Delta t}{\delta }_{x}^{2}\left({I}^{2}\left({p}^{n}\right){f}_{n+1}^{2}\left({\delta }_{y}^{2}\left(\frac{{g}_{n+1}^{2}{q}^{n+1}-{g}_{n}^{2}{p}^{n}}{4}\right)-{\delta }_{y}\left(\frac{{\beta }_{n+1}{q}^{n+1}-{\beta }_{n}{p}^{n}}{2}\right)\right)\right)\\ \text{\hspace{0.17em}}+\frac{\Delta t}{2+{\gamma }_{n+1}\Delta t}{\delta }_{x}\left({\alpha }_{n+1}\left({\delta }_{y}^{2}\left(\frac{{g}_{n+1}^{2}{q}^{n+1}-{g}_{n}^{2}{p}^{n}}{4}\right)-{\delta }_{y}\left(\frac{{\beta }_{n+1}{q}^{n+1}-{\beta }_{n}{p}^{n}}{2}\right)\right)\right)\end{array}$

The computations are almost identical to the previous proposition. This time the error is equal to

$\begin{array}{c}{E}^{*}=\frac{{p}^{n+1}-{p}^{n}}{\Delta t}-{\delta }_{x}^{2}\left(\frac{{I}^{2}\left({q}^{n+1}\right){f}_{n+1}^{2}{p}^{n+1}+{I}^{2}\left({p}^{n}\right){f}_{n}^{2}{p}^{n}}{4}\right)\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}-{\delta }_{xy}^{2}\left(\rho \frac{{\left(fg\right)}_{n+1}I\left({q}^{n+1}\right){q}^{n+1}+{\left(fg\right)}_{n}I\left({p}^{n}\right){p}^{n}}{2}\right)-{\delta }_{y}^{2}\left(\frac{{g}_{n+1}^{2}{p}^{n+1}+{g}_{n}^{2}{p}^{n}}{4}\right)\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}+{\delta }_{x}\left(\frac{{\alpha }_{n+1}{p}^{n+1}+{\alpha }_{n}{p}^{n}}{2}\right)+{\delta }_{y}\left(\frac{{\beta }_{n+1}{p}^{n+1}+{\beta }_{n}{p}^{n}}{2}\right)+\frac{{\gamma }_{n+1}{p}^{n+1}+{\gamma }_{n}{p}^{n}}{2}\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}+\frac{\Delta t}{4+2{\gamma }_{n+1}\Delta t}{\delta }_{x}^{2}\left({I}^{2}\left({q}^{n+1}\right){f}_{n+1}^{2}\left({\delta }_{y}^{2}\left(\frac{{g}_{n+1}^{2}{p}^{n+1}-{g}_{n}^{2}{p}^{n}}{4}\right)-{\delta }_{y}\left(\frac{{\beta }_{n+1}{p}^{n+1}-{\beta }_{n}{p}^{n}}{2}\right)\right)\right)\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}-\frac{\Delta t}{2+{\gamma }_{n+1}\Delta t}{\delta }_{x}\left({\alpha }_{n+1}\left({\delta }_{y}^{2}\left(\frac{{g}_{n+1}^{2}{p}^{n+1}-{g}_{n}^{2}{p}^{n}}{4}\right)-{\delta }_{y}\left(\frac{{\beta }_{n+1}{p}^{n+1}-{\beta }_{n}{p}^{n}}{2}\right)\right)\right)\end{array}$

Using the same decomposition, the errors ${e}_{1}^{*}$ , ${e}_{23}^{*}$ , ${e}_{41}^{*}$ and ${e}_{42}^{*}$ do not change. ${e}_{21}^{*}$ is slightly different but still in $O\left(\Delta {x}^{2}\right)$ . As for ${e}_{22}^{*}$ and ${e}_{5}^{*}$ , we now have

$\begin{array}{c}{e}_{22}^{*}=\frac{{e}_{22}}{2}+\rho \frac{\Delta {y}^{2}}{24}\left(\frac{{\partial }^{4}}{\partial x\partial {y}^{3}}\left({\left(fg\right)}_{n+1}I\left({q}^{n+1}\right){q}^{n+1}\right)\left({x}_{i},{y}_{j}+{\theta }_{1}\right)+\frac{{\partial }^{4}}{\partial x\partial {y}^{3}}\left({\left(fg\right)}_{n+1}I\left({q}^{n+1}\right){q}^{n+1}\right)\left({x}_{i},{y}_{j}-{\theta }_{2}\right)\right)\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}+\frac{\Delta {x}^{2}}{24\Delta y}\left(\frac{{\partial }^{3}}{\partial {x}^{3}}\left({\left(fg\right)}_{n+1}I\left({q}^{n+1}\right){q}^{n+1}\right)\left({x}_{i}+{\theta }_{3},{y}_{j-1}\right)-\frac{{\partial }^{3}}{\partial {x}^{3}}\left({\left(fg\right)}_{n+1}I\left({q}^{n+1}\right){q}^{n+1}\right)\left({x}_{i}+{\theta }_{4},{y}_{j-1}\right)\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}+\frac{{\partial }^{3}}{\partial {x}^{3}}\left({\left(fg\right)}_{n+1}I\left({q}^{n+1}\right){q}^{n+1}\right)\left({x}_{i}-{\theta }_{5},{y}_{j+1}\right)-\frac{{\partial }^{3}}{\partial {x}^{3}}\left({\left(fg\right)}_{n+1}I\left({q}^{n+1}\right){q}^{n+1}\right)\left({x}_{i}-{\theta }_{6},{y}_{j+1}\right)\right)\end{array}$

$\begin{array}{c}{e}_{5}^{*}=\frac{\Delta t}{4+2{\gamma }_{n+1}\Delta t}{\delta }_{x}^{2}\left({I}^{2}\left({q}^{n+1}\right){f}_{n+1}^{2}\left({\delta }_{y}^{2}\left(\frac{{g}_{n+1}^{2}{p}^{n+1}-{g}_{n}^{2}{p}^{n}}{4}\right)-{\delta }_{y}\left(\frac{{\beta }_{n+1}{p}^{n+1}-{\beta }_{n}{p}^{n}}{2}\right)\right)\right)\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}-\frac{\Delta t}{2+{\gamma }_{n+1}\Delta t}{\delta }_{x}\left({\alpha }_{n+1}\left({\delta }_{y}^{2}\left(\frac{{g}_{n+1}^{2}{p}^{n+1}-{g}_{n}^{2}{p}^{n}}{4}\right)-{\delta }_{y}\left(\frac{{\beta }_{n+1}{p}^{n+1}-{\beta }_{n}{p}^{n}}{2}\right)\right)\right)\end{array}$

which also verify ${e}_{22}^{*}\le K\left(\Delta {y}^{2}+\frac{\Delta {x}^{3}}{\Delta y}\right)$ and ${e}_{5}^{*}\le K\Delta {t}^{2}$ . The real difference can be seen in

$\begin{array}{c}{e}_{3}^{*}=\frac{{\partial }^{2}}{\partial {x}^{2}}\left[\left({I}^{2}\left({q}^{n+1}\right)-{I}^{2}\left({p}^{n+1}\right)\right)\frac{{f}_{n+1}^{2}{p}^{n+1}}{4}\right]\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}+\frac{{\partial }^{2}}{\partial x\partial y}\left[\frac{\rho }{2}\left({\left(fg\right)}_{n+1}I\left({q}^{n+1}\right){q}^{n+1}-{\left(fg\right)}_{n+1}I\left({p}^{n+1}\right){p}^{n+1}\right)\right]\end{array}$

The important feature of the predictor is that the difference ${q}^{n+1}-{p}^{n+1}$ is $O\left(\Delta {t}^{2}\right)$ . This gives ${e}_{3}^{*}\le K\left(\Delta {t}^{2}\right)$ and concludes the proof.

5.2. Time Convergence Rate of the Modified ADI Algorithm

In this brief section, we compare the convergence of the algorithm with the theoretical rates computed in the previous part. To do so, the calibrated value of 1-year at-the-money vanillas is computed for different number N of time steps. We then plot the error between this price and the targeted value against N. The next graph is obtained with the one-step predictor algorithm.

The error is clearly in $O\left(\Delta t\right)$ as was proved in Proposition 4. We conduct the same experiment with this time both the predictor and the corrector steps.

This time too, numerical experiments seem to agree with theory. The error appears to be in $O\left(\Delta {t}^{2}\right)$ . The predictor/corrector scheme serves its purpose.

6. Instabilities of the Solutions: Numerical Explosion for “Oscillating” Volatilities

In the previous sections, we described the algorithm used to solve the different calibration equations concerned by our work, and also mentioned the theoretical research performed on the subject. Though a partial existence result for Equation (4) was found, it was still impossible to prove it in the general case: a strongly variable function b.

This last section is devoted to the local and stochastic volatility model, from that point of view. The numerical resolution of the calibration is performed for strongly variable functions b.

At first, let us go back to the equation for the calibration of a local and stochastic volatility model. For the sake of simplicity, the interest rate is assumed to be zero. The equation is the following

$\begin{array}{l}\frac{\partial p}{\partial t}-\frac{{\partial }^{2}}{\partial {S}^{2}}\left(\frac{1}{2}{\sigma }_{D}^{2}{b}^{2}{S}^{2}\frac{\int p\text{d}y}{\int {b}^{2}p\text{d}y}p\right)-\frac{{\partial }^{2}}{\partial S\partial y}\left(\rho {\sigma }_{D}b\alpha S{\left(\frac{\int p\text{d}y}{\int {b}^{2}p\text{d}y}\right)}^{\frac{1}{2}}p\right)\\ -\frac{{\partial }^{2}}{\partial {y}^{2}}\left(\frac{1}{2}{\alpha }^{2}p\right)+\frac{\partial }{\partial y}\left(\beta p\right)=0\end{array}$ (28)

$p\left(0,S,y\right)={\delta }_{{S}_{0},{y}_{0}}$

The existence of a solution to this Equation (on a bounded domain, with regularized boundary conditions) was previously stated under certain assump- tions on b, the essential one being: there exists a constant ${b}^{*}$ such that $|b-b\left({y}_{0}\right)|\le {b}^{*}$ for a given ${y}_{0}$ . Using the algorithm described in the previous section, we are now interested in the behavior of the numerical solution of (28) when the function b violates the assumption.

The model chosen for this study is the mean-reverting volatility already expounded

$b\left(y\right)=\mathrm{exp}\left(y\right),\text{ }\alpha \left(t,y\right)=\gamma ,\text{ }\beta \left(t,y\right)=\kappa \left(\delta -y\right)$

with $\gamma$ , $\kappa$ and $\delta$ three strictly positive constants. The values chosen in Section 2 for the different parameters of the model and of the algorithm led us to a satisfactory calibration. Using them once again, we plot on the up (Figure 1(a)) the density $p\left(T,x,y\right)$ for $T=1$ year and $x=\mathrm{ln}\left(S/{S}_{0}\right)$ close to 0.

As expected, the solution p is perfectly smooth. Now, bouncing on the idea of strongly variable functions b, another density is plotted on the down (Figure 1(b)) with this time a function b equal to $b\left(y\right)=\mathrm{exp}\left(10y\right)$ . The solution is not smooth anymore. On the contrary, some kind of instability seems to occur.

Remark 6.1. To check that no other numerical effects are involved in the instability, the adjoint equation of (4) was also studied. From a theoretical view- point, it admits a solution without any restrictive assumption on b, see [5] [15] .

The adjoint equation for the local and stochastic volatility calibration is

$\begin{array}{l}\frac{\partial p}{\partial t}-\frac{1}{2}{\sigma }_{D}^{2}{b}^{2}{S}^{2}\frac{\int p\text{d}y}{\int {b}^{2}p\text{d}y}\frac{{\partial }^{2}p}{\partial {S}^{2}}-\rho {\sigma }_{D}b\alpha S{\left(\frac{\int p\text{d}y}{\int {b}^{2}p\text{d}y}\right)}^{\frac{1}{2}}\frac{{\partial }^{2}p}{\partial S\partial y}\\ -\frac{1}{2}{\alpha }^{2}\frac{{\partial }^{2}p}{\partial {y}^{2}}+\beta \frac{\partial p}{\partial y}=0\end{array}$ (29)

We make the same test and plot its numerical solution for $b\left(y\right)=\mathrm{exp}\left(Cy\right)$ with $C=10$ and $C=15$ . On both these graphics (Figure 2), no sign of insta- bility can be seen. With higher values of C, for instance $C=20$ , the function p computed numerically takes meaningless values (1080), but at no time does it start to oscillate.

(a)(b)

Figure 1. Solution p of the equation for $b\left(y\right)=\mathrm{exp}\left(y\right)$ and $b\left(y\right)=\mathrm{exp}\left(10y\right)$ .

(a)(b)

Figure 2. Solution p of the adjoint equation for $b\left(y\right)=\mathrm{exp}\left(10y\right)$ and $b\left(y\right)=\mathrm{exp}\left(15y\right)$ .

7. Conclusions

Using methods inspired from local and stochastic volatility models, we were able to write calibration equations for two other cases: the so-called local correlation model and a hybrid local volatility and stochastic rates model.

Their numerical resolution, based upon an alternating direction implicit scheme, produces a satisfactory fit under certain assumptions (confirmed by the theoretical difficulties met when studying them). When those hypotheses are not verified, an instability occurs. Explaining it brought us to consider Hadamard stability and a certain class of integro-differential equations. Unfortunately, the criterion we found can not be applied in the case of the local and stochastic volatility model, and it remains an open problem.

As far as the ADI algorithm is concerned, we managed to adapt it to deal with the nonlinearity of our equation. Its consistency was also proved, with a convergence rate in time in $O\left(\Delta {t}^{2}\right)$ . A result was confirmed numerically.

Cite this paper

Abergel, F., des Combes, R.T. and Zaatour, R. (2017) Nonparametric Model Calibration for Derivatives. Journal of Mathematical Finance, 7, 571-596. https://doi.org/10.4236/jmf.2017.73030

References

1. 1. Breeden, D. and Litzenberger, R. (1978) State Contingent Prices Implicit in Option Prices. Journal of Business, 51, 621-651. https://doi.org/10.1086/296025

2. 2. Dupire, B. (1993) Pricing and Hedging with Smiles. Proceeding AFFI Conference, La Baule.

3. 3. Lipton, A. (2002) The Vol Smile Problem. Risk Magazine, 15, 61-65.

4. 4. Richtmyer, R. and Morton, K. (1967) Difference Methods for Initial Value Problems.

5. 5. Tachet des Combes, R. (2011) Non-Parametric Model Calibration in Finance. Ph.D. Thesis, Ecole Centrale, Paris.

6. 6. Gyongy, I. (1986) Mimicking the One-Dimensional Marginal Distributions of Processes Having an Ito Differential. Probability Theory and Related Fields, 71, 501-516. https://doi.org/10.1007/BF00699039

7. 7. Abergel, F. and Tachet, R. (2010) A Nonlinear Partial Integrodifferential Equation from Mathematical Finance. Discrete and Continuous Dynamical Systems, 27, 907-917. https://doi.org/10.3934/dcds.2010.27.907

8. 8. Brigo, D. and Alfonsi, A. (2005) Credit Default Swap Calibration and Derivatives Pricing with the SSRD Stochastic Intensity Model. Finance and Stochastics, 9, 29-42. https://doi.org/10.1007/s00780-004-0131-x

9. 9. Qu, D. (2010) Pricing Basket Options with Skew. Wilmott Magazine, 58-64.

10. 10. Jourdain, B. and Sbai, M. (2012) Coupling Index and Stocks. Quantitative Finance, 12, 805-818. https://doi.org/10.1080/14697681003785959

11. 11. Douglas, J. and Rachford, H. (1956) On the Numerical Solution of Heat Conduction Problems in Two and Three Space Variables. Transactions of the American Mathematical Society, 82, 421-439. https://doi.org/10.1090/S0002-9947-1956-0084194-4

12. 12. Douglas, J. (1962) Alternating Direction Methods for Three Space Variables. Numerische Mathematik, 4, 41-63. https://doi.org/10.1007/BF01386295

13. 13. Douglas, J. and Gunn, J. (1964) A General Formulation of Alternating Direction Methods. Numerische Mathematik, 6, 428-453. https://doi.org/10.1007/BF01386093

14. 14. Beam, R. and Warming, R. (1980) Alternating Direction Implicit Methods for Parabolic Equations with a Mixed Derivative. SIAM Journal on Scientific and Statistical Computing, 1, 131-159. https://doi.org/10.1137/0901007

15. 15. Alibaud, N. (2007) Existence, Uniqueness and Regularity for Nonlinear Parabolic Equations with Nonlocal Terms Equations with Nonlocal Terms. Nonlinear Differential Equations and Applications, 14, 259-289. https://doi.org/10.1007/s00030-007-5029-9