<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">AM</journal-id><journal-title-group><journal-title>Applied Mathematics</journal-title></journal-title-group><issn pub-type="epub">2152-7385</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/am.2018.93024</article-id><article-id pub-id-type="publisher-id">AM-83491</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Non-Negativity Preserving Numerical Algorithms for Problems in Mathematical Finance
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Yuan</surname><given-names>Yuan</given-names></name><xref ref-type="aff" rid="aff1"><sub>1</sub></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff1"><label>1</label><addr-line>Hydroforce (Beijing) Technology Co., Ltd., Beijing, China</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>yuan.yuan@hydroforce.com.cn</email></corresp></author-notes><pub-date pub-type="epub"><day>16</day><month>03</month><year>2018</year></pub-date><volume>09</volume><issue>03</issue><fpage>313</fpage><lpage>335</lpage><history><date date-type="received"><day>20,</day>	<month>December</month>	<year>2017</year></date><date date-type="rev-recd"><day>27,</day>	<month>March</month>	<year>2018</year>	</date><date date-type="accepted"><day>30,</day>	<month>March</month>	<year>2018</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  
    We give a study result to analyze a rather different, semi-analytical numerical algorithms based on splitting-step methods with their applications to mathematical finance. As certain subsistent numerical schemes may fail due to producing negative values for financial variables which require non-negativity preserving. These algorithms which we are analyzing preserve not only the non-negativity, but also the character of boundaries (natural, reflecting, absorbing, etc.). The derivatives of the CIR process and the Heston model are being extensively studied. Beyond plain vanilla European options, we creatively apply our splitting-step methods to a path-dependent option valuation. We compare our algorithms to a class of numerical schemes based on Euler discretization which are prevalent currently. The comparisons are given with respect to both accuracy and computational time for the European call option under the CIR model whereas with respect to convergence rate for the path-dependent option under the CIR model and the European call option under the Heston model. 
  
 
</p></abstract><kwd-group><kwd>Stochastic Differential Equations</kwd><kwd> Numerical Methods</kwd><kwd> Splitting-Step Algorithm</kwd><kwd> Non-Negativity</kwd><kwd> Convergence</kwd><kwd> Simulation</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Stochastic differential equations (SDEs) are fundamental in mathematical finance. Particularly, they serve as models for describing the evolution of certain financial variables, such as the stock price, interest rates or volatility of an asset. Although there are extensive studies on SDEs, explicit solutions of SDEs are rarely known or very difficult to obtain, so numerical approximations are relied on. Actually a wealth of numeric methods have been proposed and tested (see for example [<xref ref-type="bibr" rid="scirp.83491-ref1">1</xref>] [<xref ref-type="bibr" rid="scirp.83491-ref2">2</xref>] [<xref ref-type="bibr" rid="scirp.83491-ref3">3</xref>] [<xref ref-type="bibr" rid="scirp.83491-ref4">4</xref>] ). In our work, we mainly dedicate to applying rather different numerical algorithms to evaluate financial derivatives with comparison to methods based on Euler discretization. We concentrate on the Cox-Ingersoll-Ross (CIR) model [<xref ref-type="bibr" rid="scirp.83491-ref5">5</xref>] and the Heston model [<xref ref-type="bibr" rid="scirp.83491-ref6">6</xref>] as they are two of the fundamental models in mathematical finance.</p><sec id="s1_1"><title>1.1. Problem Statement and Motivation</title><p>In some cases, the It&#244;-type SDEs of the form</p><p>d X ( t ) = f ( X ( t ) ) d t = σ ( X ( t ) ) d W ( t ) ,   X ( 0 ) = X 0 ∈ D (1.1)</p><p>are well-defined only with certain boundary conditions. For example, the Cox-Ingersoll-Ross (CIR) [<xref ref-type="bibr" rid="scirp.83491-ref5">5</xref>] model and the Heston model [<xref ref-type="bibr" rid="scirp.83491-ref6">6</xref>] which were proposed to describe the short rate of interest and stock price dynamics respectively are well-defined in the domain D = [ 0 , ∞ ) , where X ( t ) = 0 implies an absorbing or reflecting state. Precisely, the CIR process can be expressed in the form</p><p>d V ( t ) = κ ( θ − V ( t ) ) d t − σ V ( t )   d W V ( t ) (1.2)</p><p>where W V ( t ) is a Wiener process and κ , θ , σ are positive constants. The Heston model is a two-factor model of the form:</p><p>d S ( t ) = μ S ( t ) d t + V ( t ) S ( t ) d W S ( t ) (1.3)</p><p>d V ( t ) = κ ( θ − V ( t ) ) d t + σ V ( t )   d W V ( t ) (1.4)</p><p>where W S ( t ) , W V ( t ) are two correlated Wiener processes with d W S ( t ) d W V ( t ) = ρ d t , ρ ∈ ( − 1 , 1 ) , and μ , κ , θ , σ are positive parameters. The component S describes the evolution of a financial variable such as stock index or exchange rate, and V describes the stochastic variance of its returns. One can notice that the component V in the Heston model evolves according to the CIR process (1.2).</p><p>First let’s mention that the SDE (1.2) for CIR process is not explicitly solvable but its transition probability is known; it can be represented by a non-central chi-square density. Depending on the number of degrees of freedom d : = 4 κ θ / σ 2 , there are significant differences in the boundary behavior of CIR process. According to Feller’s classification [<xref ref-type="bibr" rid="scirp.83491-ref7">7</xref>], if d ≥ 2 , the boundary V ( t ) = 0 is unattainable and the strong solution is strictly positive; if d &lt; 2 , the boundary is attracting and attainable but strongly reflecting, i.e., each sample path will reflect instantaneously into the positive domain once it reaches 0 (see e.g. Karlin &amp; Taylor [<xref ref-type="bibr" rid="scirp.83491-ref8">8</xref>] ). The reflecting behavior in the latter case is particularly difficult to capture numerically. During our work, we only focus on the case that the boundary is attainable, i.e. d &lt; 2 .</p><p>Second, as the square-root term in CIR process avoids the possibility of negative values, Euler-Maruyama [<xref ref-type="bibr" rid="scirp.83491-ref1">1</xref>] and higher order Taylor-type methods [<xref ref-type="bibr" rid="scirp.83491-ref1">1</xref>] [<xref ref-type="bibr" rid="scirp.83491-ref2">2</xref>] cannot be applied in this case as they lead to negative values of X ( t ) in practice. The numerical methods which preserve non-negativity are preferred. Actually various numerical schemes have been devised to meet this requirement, among which the schemes based on Euler discretization normally gives high efficiency, but their strong convergence rate and discretization errors are difficult to establish. In contrast to the Euler-type methods giving strong convergence of</p><p>order 1 2 − ε , Moro and Schurz [<xref ref-type="bibr" rid="scirp.83491-ref9">9</xref>] provide the splitting-step methods of strong</p><p>convergence at least of order 1. Although they are more costly with respect to computational time, they give higher accuracy and convergence rate. With this motivation, we would like to evaluate some important financial instruments using splitting-step methods with comparison to Euler-type numerical schemes. We apply them to option pricing including a path-dependent option valuation comparing both accuracy and computational cost.</p><p>Third, exact simulation methods exist for both the CIR process (see Glasserman [<xref ref-type="bibr" rid="scirp.83491-ref10">10</xref>] ) and the Heston model (see Broadie and Kaya [<xref ref-type="bibr" rid="scirp.83491-ref11">11</xref>] [<xref ref-type="bibr" rid="scirp.83491-ref12">12</xref>] ). The drawback of these exact simulation methods is that they are very time-consuming. They are competitive when one just simulates the process at one time (or few times), for example to price a European option with a Monte-Carlo algorithm. On the contrary, they are too slow when one has to simulate the process along a time-grid, for example to compute a path-dependent European option. Thus, the splitting-step methods may have advantage on pricing path-dependent options as they are more efficient.</p></sec><sec id="s1_2"><title>1.2. Review of Research Status</title><p>For the CIR process, a number of numerical schemes based on implicit time-stepping integrators have been devised for the case of unattainable boundary condition, see for example Alfonsi [<xref ref-type="bibr" rid="scirp.83491-ref13">13</xref>], Kahl and Schurz [<xref ref-type="bibr" rid="scirp.83491-ref14">14</xref>] and Dereich et al., 2012 [<xref ref-type="bibr" rid="scirp.83491-ref15">15</xref>] . There also are some splitting methods that serve for both boundary conditions without any restriction of parameters, such as Alfonsi [<xref ref-type="bibr" rid="scirp.83491-ref16">16</xref>], Moro and Schurz [<xref ref-type="bibr" rid="scirp.83491-ref9">9</xref>] . The latter paper gives a splitting-step method which highly relied on the knowledge of explicit solution of SDEs. This method is what we mainly use throughout our project.</p><p>Other direct approaches that can be applied to both attainable and unattainable zero boundary cases are based on modification of Euler-Maruyama approximations. See for example Deelstra and Delbaen [<xref ref-type="bibr" rid="scirp.83491-ref17">17</xref>], Bossy and Diop [<xref ref-type="bibr" rid="scirp.83491-ref18">18</xref>], Berkaoui, Bossy and Diop [<xref ref-type="bibr" rid="scirp.83491-ref19">19</xref>], Higham and Mao [<xref ref-type="bibr" rid="scirp.83491-ref20">20</xref>], Lord et al., 2008 [<xref ref-type="bibr" rid="scirp.83491-ref21">21</xref>] . These methods all are proved to converge to the exact solution as the time step tends to 0, but the strong convergence rate and discretization errors are difficult to establish. The full truncation method in Lord et al., 2008 [<xref ref-type="bibr" rid="scirp.83491-ref21">21</xref>] has been shown in practice to be the leading method in this class.</p><p>The exact simulation method for CIR model exists, see Glasserman [<xref ref-type="bibr" rid="scirp.83491-ref10">10</xref>], but it requires more computational time than discretization schemes (up to a factor 10). This was analyzed in Alfonsi [<xref ref-type="bibr" rid="scirp.83491-ref13">13</xref>] . For the Heston model, the exact simulation scheme (see Broadie and Kaya [<xref ref-type="bibr" rid="scirp.83491-ref11">11</xref>] [<xref ref-type="bibr" rid="scirp.83491-ref12">12</xref>] ) has the same drawback of highly time-consuming and were analyzed in Broadie and Kaya [<xref ref-type="bibr" rid="scirp.83491-ref11">11</xref>] [<xref ref-type="bibr" rid="scirp.83491-ref12">12</xref>] and Lord et al., 2008 [<xref ref-type="bibr" rid="scirp.83491-ref21">21</xref>] . After comparing to various numerical schemes, Kahl and J&#228;ckel [<xref ref-type="bibr" rid="scirp.83491-ref22">22</xref>] conclude that combining the balanced Milstein method (BMM) for the variance process with their bespoke IJK method for the logarithm of the stock price gives the best results with respect to strong convergence measure. The BMM method actually preserves positivity for the variance process if 4 κ θ &gt; σ 2 : But this restriction is rarely satisfied in practice, and one typically finds that the sampling scheme for V produces negative values with substantial probability.</p><p>Anderson [<xref ref-type="bibr" rid="scirp.83491-ref23">23</xref>] considered two new discretization schemes: the truncated Gaussian scheme (TG) and the quadratic-exponential scheme (QE) with additional martingale-corrected versions labeled by “TG-M” and “QE-M” respectively. Both TG and QE schemes were attested to outperform the full truncation method proposed by Lord et al., 2008 [<xref ref-type="bibr" rid="scirp.83491-ref21">21</xref>] with respect to biases and only cost marginally more computational time than the Euler scheme. The TG scheme is more natural to use than the QE scheme in multi-asset applications that involve several correlated variance processes, but generally performs somewhat worse than QE at practically relevant time steps. Thus they concluded that the QE scheme should be the default choice of the schemes considered due to its simplicity and strong performance; martingale correction (the QE-M scheme) is optional.</p><p>Further, for pricing financial derivatives under Heston model, closed form semi-analytical formulae for plain vanilla option prices have been derived in [<xref ref-type="bibr" rid="scirp.83491-ref6">6</xref>] . However, these formulae require the evaluation of logarithms with complex arguments during the involved inverse Fourier integration step. Carr &amp; Madan [<xref ref-type="bibr" rid="scirp.83491-ref24">24</xref>] pioneered the use of the fast Fourier transform (FFT) technique by mapping the Fourier transform directly to option prices via the characteristic function. Lewis [<xref ref-type="bibr" rid="scirp.83491-ref25">25</xref>] considered the same type of approach, except that there the transform was taken with respect to the log-spot price. An important step in Lewis [<xref ref-type="bibr" rid="scirp.83491-ref25">25</xref>] was made by considering the resulting integral as a contour integral in the complex plane. Lee [<xref ref-type="bibr" rid="scirp.83491-ref26">26</xref>] generalizes Carr &amp; Madan [<xref ref-type="bibr" rid="scirp.83491-ref24">24</xref>] and unifies it with extensions of some relevant elements and proved an error analysis for these FFT methods. Kahl &amp; J&#228;chel [<xref ref-type="bibr" rid="scirp.83491-ref27">27</xref>] propose a new approach which enables the use of Heston’s analytics for practically all levels of parameters and even maturities of many decades since most implementations of Heston’s formulae are not robust for moderate to long dated maturities or strong mean reversion. Lord &amp; Kahl [<xref ref-type="bibr" rid="scirp.83491-ref28">28</xref>] present the optimal contour of the Fourier integral, taking into account numerical issues such as cancellation and explosion of the characteristic function. Fang &amp; Oosterlee [<xref ref-type="bibr" rid="scirp.83491-ref29">29</xref>] proposed the COS method which is based on the Fourier and Fourier-cosine expansion.</p></sec><sec id="s1_3"><title>1.3. Summary of the Paper</title><p>In the remaining paper, we introduce the general structure and properties of splitting-step algorithm proposed by Moro and Shurtz in [<xref ref-type="bibr" rid="scirp.83491-ref9">9</xref>] in Section 2, including an efficient sample manner for generating a non-central chi-square distribution random number.</p><p>In Section 3, we present numerical results of applications to CIR model, evaluating a European plain vanilla call option and a path-dependent option with comparisons to the methods based on Euler discretization. The comparisons are with respect to both accuracy and computational time. All of our numerical results are generated on a MacBook Pro with an Intel Core i7 2.3 GHz processor, 16 GB 1600 MHz DDR3 memory, using Xcode 6.4 and R 3.1.0 in a Mac OS X Yosemite environment.</p><p>In Section 4 we study the option valuation under the Heston model. The results show that the splitting-step method gives the best convergence rate for pricing a European plain vanilla call option among the five algorithms utilized in our project.</p><p>Finally we conclude and point out the future work in Section 5.</p></sec></sec><sec id="s2"><title>2. General Structure of Splitting-Step Algorithms</title><sec id="s2_1"><title>2.1. Construction of the Algorithms</title><p>The splitting-step algorithm [<xref ref-type="bibr" rid="scirp.83491-ref9">9</xref>] has general structure as followed. Suppose that the more general equation to be integrated is of the form</p><p>d X ( t ) = [ α ( X ( t ) , t ) + β ( X ( t ) , t ) ] d t + σ ( X ( t ) , t ) d W ( t ) , (2.1)</p><p>where W ( t ) is a standard Wiener process? Then decompose the above equation into two subsystems</p><p>d X 1 ( t ) = β ( X 1 ( t ) , t ) d t + σ ( X 1 ( t ) , t ) d W ( t ) , (2.2)</p><p>d X 2 ( t ) = α ( X 2 ( t ) , t ) d t (2.3)</p><p>where it’s required that we know the exact strong solution for X 1 ( t ) or the conditional probability P [ X 1 ( t ) | X 1 ( 0 ) ] . Afterwards, approximate the solution of (2.1) along the time interval [ t , Δ t ] using the following two-step algorithm for each Δ t .</p><p> Step 1: Knowing the value X t , taking it as an initial data of (2.2), i.e. X t = X 1 ( t ) , we obtain an intermediate value X ˜ t = X 1 ( t + Δ t ) through the exact integration of (2.2), or alternatively, through the conditional transition probability P [ X 1 ( t + Δ t ) | X 1 ( t ) ] .</p><p> Step 2: Using X<sub>t</sub> obtained in step 1 as the initial condition for (2.3), i.e. X ˜ t = X 2 ( t ) , integrate (2.3) by any converging deterministic numerical algorithm to get X 2 ( t + Δ t ) (at least of deterministic order 1). Then X t + Δ t = X 2 ( t + Δ t ) .</p><p>Easily speaking, the procedure is as follow:</p><p>We adapt the example in [<xref ref-type="bibr" rid="scirp.83491-ref9">9</xref>] to see how to obtain X 1 ( t ) through the conditional transition probability P [ X 1 ( t ) | X 1 ( 0 ) ] . Suppose that β ( X 1 , t ) = 0 , σ ( X 1 , t ) = X 1 , then the conditional probability distribution is given by</p><p>P [ X 1 ( t ) | X 1 ( 0 ) ] = 2 t ( X 1 ( 0 ) X 1 ( t ) ) 1 2 I 1 ( 4 t X 1 ( t ) X 1 ( 0 ) ) e − 2 t [ X 1 ( t ) + X 1 ( 0 ) ] + e − 4 t X 1 ( 0 ) δ ( X 1 (t) )</p><p>where δ ( x ) is the Dirac delta function and I is the modified Bessel function of the first kind with index n which is given by</p><p>I ν ( x ) = ∑ n = 0 ∞ 1 n ! ( ν + n + 1 ) ( x 2 ) ν + 2 n ,   x &gt; 0</p><p>with gamma function Γ ( t ) : = ∫ 0 ∞ x t − 1 e − x d x , t &gt; 0 specially Γ ( n ) = ( n − 1 ) ! for n = 0 , 1 , 2 , ⋯ . Then we can sample the conditional probability distribution function using the rejection or inverse methods but it’s computational expensive. There is a more simple way to obtain X 1 ( t ) . Noticing that the variable</p><p>Z ( t ) = 4 t X 1 ( t ) follows a non-central c<sup>2</sup>-distribution, that is</p><p>P [ Z | Z 0 ] = ∑ j = 1 ∞ ( λ / 2 ) j e − λ / 2 j ! P χ 2 j 2 ( Z ) + e − t 4 λ δ (Z)</p><p>where λ = 4 t Z 0 and P χ 2 j 2 ( x ) is c<sup>2</sup>-pdf with 2j degrees of freedom. Then</p><p>X 1 ( t ) = 1 2 k { 0                                     if   K = 0 , ∑ i = 1 2 K z i 2                         if   K ≠ 0 ,</p><p>where k = 2 t and K is chosen from a Poisson distribution with mean λ / 2 and</p><p>z i are independent Gaussian random numbers with zero mean and unit variance.</p><p>Generally, a non-central chi-square distribution random variable χ ′ d 2 ( λ ) with d degree of freedom and non-centrality parameter λ whose probability density function is given by</p><p>P [ χ ′ d 2 ( λ ) = x ] = p ( x ; d , λ ) = e − ( λ + x ) / 2 2 ( x λ ) ( d − 2 ) / 4 I ( d − 2 ) / 2 ( λ x ) (2.4)</p><p>see Johnson et al., 1994 [<xref ref-type="bibr" rid="scirp.83491-ref30">30</xref>] . This distribution is properly defined for d positive, and was extended to the case d = 0 by Siegel [<xref ref-type="bibr" rid="scirp.83491-ref31">31</xref>], afterwards was extended to the case for d = − 2 , − 4 , ⋯ by Moro and Schurz [<xref ref-type="bibr" rid="scirp.83491-ref9">9</xref>] . They used the fact that the distribution of (0.1) can be expressed as a mixture of central c<sup>2</sup> variables with Poisson weights, then it can be sample as follow: Choose K from a Poisson distribution with mean = 2, then</p><p>χ ′ d 2 ( λ ) = χ d + 2 K 2</p><p>And</p><p>χ ′ d 2 ( λ ) = { 0                           if   d + 2 K ≤ 0 χ ′ d + 2 K 2               if   d + 2 K &gt; 0             d = 0 , − 2 , − 4 , ⋯</p><p>where χ d + 2 K 2 can be sampled using any standard random number generator of the χ d 2 distribution. This sampling is used specially when λ is small. For the case of large λ , other approximations (see e.g. Johnson et al., 1994 [<xref ref-type="bibr" rid="scirp.83491-ref30">30</xref>] ) might be taken into account for improving the speed of the splitting-step algorithms.</p></sec><sec id="s2_2"><title>2.2. Strong and Weak Convergence of Splitting-Step Methods</title><p>Let C i , j ( ℝ d &#215; [ 0 , T ] ) denote the vector space of continuous functions f = f ( x , t ) which are i times continuously differentiable with respect to the space</p><p>Coordinate x k ∈ ℝ , ( k = 1 , 2 , ⋯ , d ) and j times continuously differentiable with respect to the time coordinate t ∈ [ 0 , T ] . Let</p><p>0 &lt; t 0 &lt; t 1 &lt; ⋯ &lt; t n &lt; t n + 1 &lt; ⋯ &lt; t N = T</p><p>be any random partition of the given time interval [ 0 , T ] with sufficiently small maximum step size Δ = max i = 1 , 2 , ⋯ , N | t i − t i − 1 | ≤ 1 . Then the time discretized approximation X ˜ Δ of a continuous-time process X, is said to be of general strong order of convergence g to X at time T if there exists a positive constant C, which does not depend on D, and a δ 0 &gt; 0 such that the following strong error ε ( Δ ) satisfies</p><p>ε ( Δ ) = E ( | X ( T ) − X ˜ Δ ( T ) | ) ≤ C Δ γ</p><p>for each Δ ∈ ( 0 , δ 0 ) .</p><p>Along with the strong convergence, the weak convergence can be defined. A discrete-time approximation Y Δ is said to converge with weak order β &gt; 0 to X at time T as Δ → 0 if for each smooth function g of polynomial growth there exists a constant C g , which does not depend on D and Δ 0 ∈ [ 0 , 1 ] such that the following weak error ϵ ( Δ ) satisfies the estimate</p><p>ϵ ( Δ ) = | E g ( X ( T ) ) − E g ( Y Δ ( T ) ) | ≤ C g Δ β</p><p>for each Δ ∈ ( 0 , Δ 0 ) .</p><p>The splitting-step algorithm has been shown that has strong and weak order 1.0 of convergence under certain assumption of the coefficient functions in [<xref ref-type="bibr" rid="scirp.83491-ref9">9</xref>]. We quote the convergence theorem here:</p><p>Recall that the original SDE is</p><p>d X ( t ) = [ α ( X ( t ) , t ) + β ( X ( t ) , t ) ] d t + σ ( X ( t ) , t ) d W ( t ) . (2.5)</p><p>We refer to the splitting</p><p>d X 1 ( t ) = β ( X ( t ) , t ) d t + σ ( X ( t ) , t ) d W ( t ) (2.6)</p><p>d X 2 ( t ) = α ( X ( t ) , t ) d t (2.7)</p><p>Theorem Assume that the coefficient functions α , β ∈ C 2 , 1 ( ℝ d &#215; [ 0 , T ] ) and σ ∈ C 3 , 2 ( ℝ d &#215; [ 0 , T ] ) with exclusively uniformly bounded derivatives are such that</p><p>  sup 0 ≤ t ≤ T E [ | X ( t ) 2 | + | α ( X ( t ) , t ) | 2 + | β ( X ( t ) , t ) | 2 + | σ ( X ( t ) , t ) | 2 ] &lt; + ∞</p><p>for a fixed finite, nonrandom terminal time T &gt; 0 . Then the splitting-step algorithm with step 1 and 2 (see section &#167;2.1) has (global) strong and weak order 1.0 of convergence on the interval [ 0 , T ] (in the worst case).</p><p>The proof and a general theorem on L<sup>2</sup>-convergence based on variation-of-constants formula (VOP) see Moro and Schurz [<xref ref-type="bibr" rid="scirp.83491-ref9">9</xref>] . We check the weak convergence with numerical experiment by taking g the identity function in section 3, where we present numerical studies of various strategies for integrating SDEs.</p></sec></sec><sec id="s3"><title>3. Numerical Studies with the CIR Model</title><sec id="s3_1"><title>3.1. CIR Model and Its Properties</title><p>The famous Cox-Ingersoll-Ross (CIR) model was introduced in 1985 by John C. Cox, Jonathan E. Ingersoll and Stephen A. Ross in [<xref ref-type="bibr" rid="scirp.83491-ref5">5</xref>] as an extension of the Vasicek model. It serves to describe the evolution of interest rates. This model specifies that the interest rate dynamics follows the stochastic differential equation, which is also called CIR Process:</p><p>d V ( t ) = − κ ( V ( t ) − θ ) d t + σ V ( t )   d W ( t ) ,         ∀ t ∈ ℝ + (3.1)</p><p>with k, θ and σ strictly positive parameters and W ( t ) a Wiener process. The parameter k determines the speed of adjustment, θ is the long-run mean and σ is the so-called volatility to volatility. The drift factor, κ ( θ − V ( t ) ) is exactly the same as in the Vasicek model. It ensures mean reversion of the interest rate towards the long-term value θ, with speed of adjustment governed by the strictly positive parameter k. According to Feller’s boundary criteria, see Feller [<xref ref-type="bibr" rid="scirp.83491-ref32">32</xref>], different k, θ and σ values may produce distinct behavior at the boundary V ( t ) = 0</p><p>・ If κ θ ≥ σ 2 / 2 , the upward drift is sufficiently large to make the boundary unattainable, i.e., the solution is always positive V ( t ) &gt; 0 if V 0 &gt; 0.</p><p>・ If κ θ &lt; σ 2 / 2 , there are infinite many values of t &gt; 0 for which V ( t ) = 0 . The boundary becomes attainable, but it is strongly reflecting. That is, when a sample path reaches 0, then it returns immediately to the positive domain in a reflecting manner.</p><p>Since for all positive values of k and θ, the standard deviation factor σ V ( t ) rejects the possibility of negative interest rates, integration strategies must preserve non-negativity. Otherwise, it not only lacks any possible interpretation in the context of finance but also could induce severe errors in option valuation.</p></sec><sec id="s3_2"><title>3.2. Simulation Schemes for the CIR model</title><p>We now turn to the simulation of CIR model (12). The exact simulation method for CIR model exists, see Glasserman [<xref ref-type="bibr" rid="scirp.83491-ref10">10</xref>], but it’s very time-consuming. A simple Euler discretization of the CIR process may produce negative values of V ( t ) . Practitioners often choose either a absorption or reflection fix whenever the process attains a negative value. That is to say, they deal with it by either setting V ( t ) = 0 or setting V ( t ) = − V ( t ) whenever V ( t ) &lt; 0 (see e.g. [<xref ref-type="bibr" rid="scirp.83491-ref33">33</xref>] ). Other direct approaches base on forced Euler-Maruyama approximations by slight modification of the model are also prevalent, see for example Higham and Mao [<xref ref-type="bibr" rid="scirp.83491-ref20">20</xref>], Deelstra and Delbaen [<xref ref-type="bibr" rid="scirp.83491-ref17">17</xref>], Lord et al., 2008 [<xref ref-type="bibr" rid="scirp.83491-ref21">21</xref>], which the full truncation method in Lord et al., 2008 [<xref ref-type="bibr" rid="scirp.83491-ref21">21</xref>] in practice has been proved to be the leading method of this class. Apart from Euler-type schemes, the splitting-step methods we introduced in the foregoing section can be applied to CIR model without any modification of the SDE. Moreover, the non-negativity is preserved during all the time interval.</p><sec id="s3_2_1"><title>3.2.1. Numerical Schemes Based on Euler Discretization</title><p>Here we outline the numerical schemes based on Euler discretization which we mentioned above. Let</p><p>0 &lt; t 0 &lt; t 1 &lt; ⋯ &lt; t n &lt; t n + 1 &lt; ⋯ &lt; t N = T</p><p>be any random partition of the given time interval [ 0 , T ] .</p><p>・ Higham and Mao [<xref ref-type="bibr" rid="scirp.83491-ref20">20</xref>] considered an Euler discretization of the CIR model with a novel fix, for which they prove strong convergence. Their scheme deals with the squart-root term in (12) by taking absolute value of the inside component, i.e.</p><p>V ( t n + 1 ) = V ( t n ) − κ Δ t ( V ( t n ) − θ ) + σ | V ( t n ) | Δ W n , (3.2)</p><p>V ( t 0 ) = V ( 0 ) , (3.3)</p><p>where Δ W n = W ( t n + 1 ) − W ( t n ) .</p><p>Although it can be applied to the simulation, it leads to negative values of V ( t ) in practice as we can see from <xref ref-type="fig" rid="fig1">Figure 1</xref></p><p>・ In Lord et al., 2008 [<xref ref-type="bibr" rid="scirp.83491-ref21">21</xref>], when they referred the method Higham and Mao, they had one more step which was taking the absolute value of the right side of (3.2), we call this method Higham and Mao complemented, which is as follow</p><p>V ˜ ( t n + 1 ) = V ˜ ( t n ) − κ Δ t ( V ˜ ( t n ) − θ ) + σ | V ˜ ( t n ) | Δ W n , (3.4)</p><p>V ( t n + 1 ) = | V ˜ ( t n + 1 ) | , (3.5)</p><p>V ( t 0 ) = V ( 0 ) . (3.6)</p><p>・ Deelstra and Delbaen [<xref ref-type="bibr" rid="scirp.83491-ref17">17</xref>] proposed an Euler-type scheme by taking positive part of the component inside the squared-root, this scheme is called partial truncation in Lord et al., 2008 [<xref ref-type="bibr" rid="scirp.83491-ref21">21</xref>] and has the form as follow</p><p>V ˜ ( t n + 1 ) = V ˜ ( t n ) − κ Δ t ( V ˜ ( t n ) − θ ) + σ ( V ˜ ( t n ) ) + Δ W n (3.7)</p><p>V ˜ ( t n + 1 ) = ( V ˜ ( t n + 1 ) ) + (3.8)</p><p>V ( t 0 ) = V ( 0 ) (3.9)</p><p>・ Full truncation was devised by Lord, Koekkoek &amp; Van Dijk in [<xref ref-type="bibr" rid="scirp.83491-ref21">21</xref>] which is the leading method of these classes. The difference between full truncation and partial truncation is the treatment of the drift term, where the full truncation method has one more x and can be expressed as follow</p><p>V ˜ ( t n + 1 ) = V ˜ ( t n ) − κ Δ t ( V ˜ ( t n ) + − θ ) + σ ( V ˜ ( t n ) ) + Δ W n (3.10)</p><p>V ˜ ( t n + 1 ) = ( V ˜ ( t n + 1 ) ) + (3.11)</p><p>V ( t 0 ) = V ( 0 ) (3.12)</p><p>We refer the above four numerical schemes as Higham and Mao, Higham and Mao complemented, partial truncation and full truncation respectively.</p></sec><sec id="s3_2_2"><title>3.2.2. Splitting-Step Algorithms Applied to CIR Process</title><p>According to the general structure of splitting-step algorithm in Section 2, we split the SDE (3.1) into two equations as follows.</p><p>d V 1 ( t ) = κ θ d t + σ V 1 ( t )   d W ( t ) (3.13)</p><p>d V 2 ( t ) = − κ V 2 ( t ) d t (3.14)</p><p>We note that the process defined by (3.13) is a kθ-dimensional squared Bessel</p><p>process (BESQ) with index of the process = ν = 2 κ θ σ 2 − 1 (see Makarov and</p><p>Glew [<xref ref-type="bibr" rid="scirp.83491-ref34">34</xref>] ). The boundary V 1 ( t ) = 0 is entrance if ν ≥ 0 , regular if − 1 &lt; ν &lt; 0 , or exit if ν ≤ − 1 . For the regular diffusion on ( 0 , ∞ ) the transition probability density function (PDF) is given by</p><p>P ( V 1 ( t + Δ t ) | V 1 ( t ) ) = ( V 1 ( t + Δ t ) V 1 ( t ) ) ν 2 e − 2 ( V 1 ( t + Δ t ) + V 1 ( t ) ) / σ 2 Δ t σ 2 Δ t / 2 I ν ( 4 V 1 ( t + Δ t ) V 1 ( t ) σ 2 t ) (3.15)</p><p>in the case of a regular boundary, where I ν is the modified Bessel function of the first kind with index n. Then we notice that the transition density P [ V 1 ( t + Δ t ) | V 1 ( t ) ] can be written in terms of a non-central χ 2 distribution. Recalling the probability density function (PDF) of a non-central chi-square distribution random variable with d degree of freedom and non-centrality parameter λ:</p><p>P [ χ ′ d 2 ( λ ) = x ] = p ( x ; d , λ ) = e − ( λ + x ) / 2 2 ( x λ ) ( d − 2 ) / 4 I ( d − 2 ) / 2 ( λ x ) ,     x &gt; 0</p><p>Comparing the equation above and (3.15), we have</p><p>P ( V 1 ( t + Δ t ) | V 1 ( t ) ) = 4 σ 2 Δ t p ( 4 V 1 ( t + Δ t ) σ 2 Δ t ; 4 κ θ σ 2 , 4 V 1 ( t ) σ 2 Δ t ) , (3.16)</p><p>as ν = d 2 − 1 . The Equation (3.16) shows that the random process 4 V 1 ( t + Δ t ) σ 2 Δ t can be represented by a non-central chi-square distribution with d = 4 κ θ σ 2 degree of freedom and non-centrality parameter λ = 4 V 1 ( t ) σ 2 Δ t . Hence we have</p><p>V 1 ( t + Δ t ) = σ 2 Δ t 4 χ ′ d 2 ( λ ) (3.17)</p><p>where</p><p>λ = 4 V 1 ( t ) σ 2 Δ t ,       d = 4 κ θ σ 2 (3.18)</p><p>Then along the time interval [ t , t + Δ t ] , given V ( t ) , first we take it as an initial data of (3.13) and integrate the SDE though the transition conditional probability (3.15) to obtain V 1 ( t + Δ t ) which can be done by sampling a χ ′ d 2 ( λ ) random number in (3.17). Second we regard V 1 ( t + Δ t ) has the initial data of (3.14) and integrate it by any deterministic numerical method of at least order 1. In our project, we practically sample the χ ′ d 2 ( λ ) random number by the aid of the function rnchisq() inside the Rmath library from R and integrate (3.14) with deterministic Euler method.</p><p>In <xref ref-type="fig" rid="fig1">Figure 1</xref>, three trajectories for the CIR process are shown with a comparison to Higham-Mao which is simply taking absolute value of V ( t ) in the squart-root term. Here we choose κ = 1 , θ = 1 , σ = 2 , so that the boundary is attainable.</p><p>The figure depicts that the splitting-step algorithm preserves non-negativity for positive initial data while Higham-Mao produces negative values occasionally. Thus splitting method is preferable as the CIR process is not defined for negative values.</p></sec><sec id="s3_2_3"><title>3.2.3. Weak Convergence</title><p>In this section we verify that the splitting-step algorithm has weak convergence of order 1.0 on the interval [0,T] for a fixed finite, nonrandom terminal time T &gt; 0 .</p><p>We take g the identity function and use the model</p><p>d V ( t ) = ( a + b V ( t ) ) d t + σ V ( t )   d W ( t ) (3.19)</p><p>Then split it in this way:</p><p>d V 1 ( t ) = a d t + σ V 1 ( t )   d W ( t ) (3.20)</p><p>d V 2 ( t ) = b V 2 ( t ) d t (3.21)</p><p>Similarly to (3.17) (3.18), we have</p><p>V 1 ( t + Δ t ) = σ 2 Δ t 4 χ ′ d 2 ( λ ) (3.22)</p><p>where</p><p>λ = 4 V 1 ( t ) σ 2 Δ t ,         d = 4 a σ 2 (3.23)</p><p>We use (3.22) (3.23) to obtain V 1 ( t + Δ t ) which is corresponding to (3.20) and deterministic Euler method to integrate (3.21).</p><p>Now, we calculate the expected value of exact solution of (3.19) with the initial value V ( 0 ) = V 0 ≥ 0 .</p><p>Taking the expected value of both sides of (3.19) reads:</p><p>d E [ V ( t ) | V ( 0 ) = V 0 ] = ( a + b E [ V ( t ) | V ( 0 ) = V 0 ] ) d t + E [ σ V ( t )   d W ( t ) | V ( 0 ) = V 0 ] (3.24)</p><p>Notice that the second term on the right side E [ σ V ( t )   d W ( t ) | V ( 0 ) = V 0 ] = 0 as W ( t ) is a standard Wiener process. We define</p><p>y ( t ) = E [ V ( t ) | V ( 0 ) = V 0 ]</p><p>Then y ( t ) is a deterministic function of t. Equation (3.24) becomes</p><p>d y ( t ) = ( a + b y ( t ) ) d t</p><p>with y ( 0 ) = V 0 . Solving the above equation we have</p><p>y ( t ) = y ( 0 ) e b t + a b ( e b t − 1 )</p><p>Therefore,</p><p>E [ V ( t ) | V ( 0 ) = V 0 ] = y ( t ) = V 0 e b t + a b ( e b t − 1 ) (3.25)</p><p>For a = 1 , b = 1 , we have</p><p>E [ V ( t ) | V ( 0 ) = V 0 ] = e t ( 1 + V 0 ) − 1 (3.26)</p><p>Then we apply the splitting-step method to obtain the numerical approximation V ˜ ( t ) . <xref ref-type="fig" rid="fig2">Figure 2</xref> depicts the error</p><p>ϵ Δ t = | E [ V ( t ) ] − E [ V ˜ ( t ) ] | (3.27)</p><p>Versus decreasing uniform step size Dt, which shows that the method has weak order 1.0 while using constant step sizes Dt. Moreover, we compare to Higham-Mao complemented, partial truncation and full truncation for the same equation. <xref ref-type="fig" rid="fig2">Figure 2</xref> shows that splitting methods has the highest precision among these four algorithms.</p></sec></sec><sec id="s3_3"><title>3.3. Option Valuations</title><p>Among the variety of financial derivatives, the option is one of the most important financial instruments. In current financial markets, there are mainly four kinds of options: American option, European option, Asian option, and Barrier option. In our work, we only focus on pricing European options, which can only be exercised on the maturity date whereas an American option can be exercised at any time before expiration.</p></sec><sec id="s3_4"><title>3.4. A European Call Option</title><p>A European call option on an asset is a contract that allows the buyer to buy (but not obligate) this asset at the price K at time T. The number K &gt; 0 is called the exercise (or strike) price and T &gt; 0 the maturity (or expiration) time. We pay K to buy the asset at time T if V ( T ) ≥ K and sell it immediately at V ( T ) making a profit of V ( T ) − K . The option is worthless if V ( T ) &lt; K as we can buy it cheaper than K.</p><p>Thus at time T, the call option has the value</p><p>C T = E [ ( V ( T ) − K ) + ] = E [ max ( V ( T ) − K , 0 ) ] (3.28)</p><p>Suppose that C<sub>T</sub> is the numerical approximation of C<sub>T</sub>, then the error</p><p>ϵ c a l l = | C ˜ T − C T | (3.29)</p><p>reveals the precision of an algorithm. Since the exact solution C<sub>T</sub> no explicitly known, we compute a numerical reference solution with a very small t and regard it as C<sub>T</sub>. Here we use the numerical approximation of C<sub>T</sub> with t = 10 4 computed by splitting method as reference. <xref ref-type="fig" rid="fig3">Figure 3</xref>(a) depicts the comparison of the four algorithms with respect to the precision of calculating call option for each step size t and <xref ref-type="fig" rid="fig3">Figure 3</xref>(b) shows the computational cost versus precision among them. We observe that Higham-Mao complemented, partial truncation and full truncation work better on this call option pricing as they have more precision and higher speed.</p><sec id="s3_4_1"><title>3.4.1. A Path-Dependent Option</title><p>Apart from the typical European call option in the previous section, more exotic options exist in the market (see, for example [<xref ref-type="bibr" rid="scirp.83491-ref35">35</xref>] [<xref ref-type="bibr" rid="scirp.83491-ref36">36</xref>] ). Here we consider one of path-dependent options: up-and-out call option (hereafter referred as U&amp;O option). An up-and-out call option pays off the usual max ( V ( T ) − K , 0 ) at expiry unless at any time during the life of the option the underlying asset reaches certain level (from below, obviously) then it is said to knock out and become worthless. The <xref ref-type="fig" rid="fig4">Figure 4</xref> explains the payoff of each underlying asset. We assume that a underlying will be knocked-out once it reaches L from below at any time prior to expiry time T. Then the underlying asset corresponds to the blue one has payoff 0 as it’s knocked-out.</p><p>As we say that an U&amp;O option expires worthless if the asset price touches some barrier L from below, say, at any time prior to expiry, where L is larger than the present asset value V 0 , the price of U&amp;O call option at expiry time T is given by</p><p>C U &amp; O ( T ) = E [ ( V ( T ) − K ) + 1 { 0 &lt; V ( t ) &lt; L , 0 ≤ t ≤ T } ] (3.30)</p><p>where 1 { x } is one if x is true and zero otherwise.</p><p>The exact option price C U &amp; O ( T ) is not available since the exact solution of U&amp;O call option under CIR model is not explicitly known. Then instead of evaluating biases we work on the convergence properties of the algorithms.</p><p>Let u ˜ Δ t which depends on the time step Dt be a numerical approximation of an exact value u. The numerical method said to be of order p means that there exists a number C independent of Dt such that</p><p>| u ˜ Δ t − u | ≤ C Δ t p</p><p>At least for sufficiently small Dt. It’s also said that the convergence rate of the method is Δ t p . Normally the error u ˜ Δ t − u depends smoothly on Dt. Then</p><p>u ˜ Δ t − u = C Δ t p + O ( Δ t p + 1 )</p><p>i.e.,</p><p>u ˜ Δ t = u + C Δ t p + O ( Δ t p + 1 )</p><p>An approach of p is to check the relative differences between u ˜ Δ t computed for different Dt. In most cases we compare solutions where Dt is halved successively. Then we get</p><p>u ˜ Δ t − u ˜ Δ t / 2 = u + C Δ t p − u − C ( Δ t / 2 ) p + O ( Δ t p + 1 ) = C Δ t p ( 1 − 1 2 p ) + O ( Δ t p + 1 ) = C ′ Δ t p + O ( Δ t p + 1 )</p><p>with C ′ = C ( 1 − 1 2 p ) Hence, we can get an estimate of the order of accuracy p after computing u ˜ Δ t and u ˜ Δ t / 2 for different Dt.</p><p>The relative differences u ˜ Δ t − u ˜ Δ t / 2 indicate the convergence rate of an algorithm. The faster converges a scheme (has higher p value), the faster relative differences reduce to 0 as Dt tends to 0. Now we define the relative difference of U&amp;O call option value as:</p><p>ϵ Δ t U &amp; O = | C ˜ Δ t U &amp; O ( T ) − C ˜ Δ t / 2 U &amp; O ( T ) | (3.31)</p><p>where C ˜ Δ t U &amp; O ( T ) is the numerical approach of C Δ t U &amp; O ( T ) using time step Dt. Thus ϵ Δ t U &amp; O = C Δ t p + O ( Δ t p + 1 ) , with C a constant independent of Dt. We show the relation between ϵ Δ t U &amp; O and the time step Dt to get an estimate of p for the four algorithms. We also analyze the computational cost with respect to the relative difference ϵ Δ t U &amp; O . For sufficient small Dt, the relative differences ϵ Δ t U &amp; O computed by splitting method are much less than standard error of the mean (SEM) which suggests to increase substantially the number of sample paths for</p><p>the sake of validity of these ϵ Δ t U &amp; O . But roughly SEM ∼ 1 N where N is size of</p><p>the sample, which means that the SEM will reduce to 10% if we increase N to 100N. As we have already used N = 10 7 sample paths, it’s impossible in practice to increase it to at least N = 10 11 to make ϵ Δ t U &amp; O larger than SEM. Then for sufficient small Dt, we estimate ϵ Δ t U &amp; O computed by splitting by the fit of existing data. This has implied that splitting convergent the fastest as it’s the first one to reach the SEM level. <xref ref-type="fig" rid="fig5">Figure 5</xref>(a) depicts that the splitting-step method has the highest order of accuracy p since p corresponds to the slope of these lines. The parameter what we used are V ( 0 ) = 1.0 , κ = θ = 1 , σ = 2 , T = 10 , K = 2 , L = 10 and 10<sup>7</sup> sample paths are generated. <xref ref-type="fig" rid="fig5">Figure 5</xref>(b) portrays the computational time in seconds with respect to the relative difference ϵ Δ t U &amp; O . At the beginning, splitting performs the worst as it’s the most time-consuming one, see for example when ϵ Δ t U &amp; O = 0 .02 . But along the trend of smaller relative differences, splitting performs better and better and costs the least since certain value of relative difference. For example, with the same parameter setting, we can deduce that splitting will cost the least for the cases of ϵ Δ t U &amp; O &lt; 0 .001 from the tendency of these four algorithms.</p></sec></sec></sec><sec id="s4"><title>4. Option Pricing with Heston’s Stochastic Volatility Model</title><sec id="s4_1"><title>4.1. Heston Model Basics</title><p>The Heston model [<xref ref-type="bibr" rid="scirp.83491-ref6">6</xref>] is defined by the coupled two-dimensional stochastic differential equation (SDE):</p><p>d S ( t ) = μ S ( t ) d t + V ( t )   S ( t ) d W S ( t ) (4.1)</p><p>d V ( t ) = κ ( θ − V ( t ) ) d t + σ V ( t )   d W V ( t ) (4.2)</p><p>where κ , θ , σ are positive constants, W S ( t ) and W V ( t ) are Wiener processes with correlation, i.e., d W S ( t ) d W V ( t ) = d t , ρ ∈ ( − 1 , 1 ) . The parameters μ is the rate of return of the asset. θ is the long variance, which means as t tends to infinity, the expected value of V ( t ) tends to θ. k is the rate at which V ( t ) reverts to θ σ is the so-called vol of vol, which determines the variance of V ( t ) . We note that the variance (4.2) follows a CIR process.</p><p>For V ( t ) it has the same boundary behavior as we mentioned in &#167;3.1.</p><p>1) 0 is an attainable boundary when σ 2 &gt; 2 κ θ . The boundary is strongly reflecting;</p><p>2) ∞ is an unattainable boundary.</p><p>There is an additional condition for S ( t ) which is iii) S ( t ) has an absorbing barrier at 0.</p></sec><sec id="s4_2"><title>4.2. Path Simulation</title><p>There are plenty of methods can be used to simulate Heston model. Broadie and Kaya [<xref ref-type="bibr" rid="scirp.83491-ref11">11</xref>] [<xref ref-type="bibr" rid="scirp.83491-ref12">12</xref>] derived an exact simulation method without bias, but highly time-consuming. This is analyzed in Broadie and Kaya [<xref ref-type="bibr" rid="scirp.83491-ref21">21</xref>], and Lord et al., 2008 [<xref ref-type="bibr" rid="scirp.83491-ref21">21</xref>] . The exact scheme is competitive when one simulates the process just at one time (or few times), for example to price European options with a Monte-Carlo algorithm. On the contrary, they are drastically too slow for simulating the process along a time-grid, which occurs when computing path-dependent options prices. Kahl and J&#228;ckel [<xref ref-type="bibr" rid="scirp.83491-ref22">22</xref>] state that combining the balanced Milstein method (BMM) for the variance process with their bespoke IJK method for the logarithm of the stock price gives the best results with respect to strong convergence measure. The BMM method actually preserves positivity for the variance process if 4 κ θ &gt; σ 2 : But this restriction is rarely satisfied in practice, and one typically finds that the sampling scheme for V produces negative values with substantial probability. The TG and QE schemes proposed by Anderson [<xref ref-type="bibr" rid="scirp.83491-ref23">23</xref>] were attested to outperform the full truncation method proposed by Lord et al., 2008 [<xref ref-type="bibr" rid="scirp.83491-ref21">21</xref>] with respect to biases and only cost marginally more computational time than the Euler scheme.</p><p>Comparing to the methods above, Euler discretization and splitting-step are very simple to implement. For simulating the variance process (4.2) we use Splitting-step, Higham-Mao, partial truncation and full truncation methods introduced in &#167;3. Then we switch to logarithms for the asset price S ( t ) , as in Lord et al., 2008 [<xref ref-type="bibr" rid="scirp.83491-ref21">21</xref>], i.e.</p><p>ln S ( t + Δ t ) = ln S ( t ) + ( μ − 1 2 V ( t ) ) Δ t + V ( t ) ( ρ Δ W V ( t ) + 1 − ρ 2 Δ W S ( t ) ) (4.3)</p><p>with W S ( t ) , W V ( t ) two independent Wiener processes. For Higham-Mao, as it may produce negative values of V ( t ) with substantial probability which we have seen in &#167;3.2.1, we follow their spirit to take the absolute value of V ( t ) in (4.3), i.e.,</p><p>ln S ( t + Δ t ) = ln S ( t ) + ( μ − 1 2 | V ( t ) | ) Δ t + | V ( t ) | ( ρ Δ W V ( t ) + 1 − ρ 2 Δ W S ( t ) ) (4.4)</p></sec><sec id="s4_3"><title>4.3. A European Call Option with Heston Model</title><p>Closed form semi-analytical formulae for plain vanilla option prices have been derived in [<xref ref-type="bibr" rid="scirp.83491-ref6">6</xref>] . However, these formulae require the evaluation of logarithms with complex arguments during the involved inverse Fourier integration step. Carr &amp; Madan [<xref ref-type="bibr" rid="scirp.83491-ref24">24</xref>], Lewis [<xref ref-type="bibr" rid="scirp.83491-ref25">25</xref>] considered the use of the fast Fourier transform (FFT) technique by mapping the Fourier transform directly to option prices via the characteristic function. Lee [<xref ref-type="bibr" rid="scirp.83491-ref26">26</xref>] generalizes Carr &amp; Madan [<xref ref-type="bibr" rid="scirp.83491-ref24">24</xref>] and unifies it with extensions of some relevant elements and proved an error analysis for these FFT methods. Kahl &amp; J&#228;chel [<xref ref-type="bibr" rid="scirp.83491-ref27">27</xref>] propose a new approach which enables the use of Hestons analytics for practically all levels of parameters and even maturities of many decades since most implementations of Hestons formulae are not robust for moderate to long dated maturities or strong mean reversion. Lord &amp; Kahl [<xref ref-type="bibr" rid="scirp.83491-ref28">28</xref>] present the optimal contour of the Fourier integral, Fang &amp; Oosterlee [<xref ref-type="bibr" rid="scirp.83491-ref29">29</xref>] proposed the COS method which is based on the Fourier and Fourier-cosine expansion.</p><p>For simplicity and efficiency, in this section we mainly work on the convergence performance of the algorithms we mentioned in &#167;4.2 and demonstrate that besides the well performance in convergence rates, splitting has superiority in computational efficiency.</p><p>We define C H e s ( T ) to be the exact European call option price at maturity time T based on Heston model, i.e.</p><p>C H e s ( T ) = E [ ( S ( T ) − K ) + ] = E [ max ( S ( T ) − K ) , 0 ]</p><p>and C ˜ Δ t H e s is an numerical approximation of C H e s ( T ) with time step Dt.</p><p>Then the relative difference is defined as</p><p>ϵ Δ t H e s = | C ˜ Δ t H e s − C ˜ Δ t / 2 H e s | (4.5)</p><p>The same technique with &#167;3.3.2 gives that ϵ Δ t H e s = C Δ t p + O ( Δ t p + 1 ) , with C a constant independent of Dt, where p is the order of accuracy defined in &#167;3.3.2. We estimate p by computing ϵ Δ t H e s for different Dt. The slope of the plots of ϵ Δ t H e s with respect to Dt gives the approximation of p.</p><p><xref ref-type="fig" rid="fig6">Figure 6</xref> are drawn with parameters S ( 0 ) = 100 , V ( 0 ) = 0.04 , μ = 0.02 , κ = 1.5 , θ = 0.06 , σ = 0.7 , ρ = 0 , K = 120 , T = 10 and 10<sup>7</sup> sample paths. Obviously the splitting-step method has the highest order of accuracy p. Although the splitting method is more time-consuming than the others for each Dt, and with respect to relative differences, it costs the most at the beginning as for the case ϵ Δ t H e s &gt; 2 illustrated in <xref ref-type="fig" rid="fig6">Figure 6</xref>(b). But it costs the least computational time if one restricts that the relative differences should be less than a certain value. For example, if one requires that the relative difference should be less than 0.10 with the same parameter setting, splitting practically works much faster than the others. The <xref ref-type="fig" rid="fig6">Figure 6</xref>(b) gives the evidence.</p><p>More precisely, we analyze the computational cost by taking the case ϵ Δ t H e s = 0.065 as an example. As partial truncation and full truncation give fluctuant points (see <xref ref-type="fig" rid="fig6">Figure 6</xref>(b)), we choose Higham-Mao to compare with. The fitted line of Higham-Mao is extended to intersect with the vertical line ϵ Δ t H e s = 0.065 . From <xref ref-type="fig" rid="fig7">Figure 7</xref>, one can find that for reducing ϵ Δ t H e s to 0.065, splitting needs around 10<sup>4</sup> seconds &#187; 2.8 hours while Higham-Mao needs much more than 10<sup>6</sup> seconds &#187; 277.8 hours which is more than 100 times than splitting.</p></sec></sec><sec id="s5"><title>5. Conclusions</title><p>A number of existing numerical algorithms for integrating SDEs cannot be used to simulate certain financial models which require non-negativity, such as the CIR model, the Heston model that we have seen. A slight modification of Euler-Maruyama [<xref ref-type="bibr" rid="scirp.83491-ref1">1</xref>] method conducts to various Euler-type numerical schemes. They are simple to implement and efficient enough, but have lower accuracy compared to exact simulation schemes. Sometimes they also give (4.5). The vertical dash line corresponds to ϵ Δ t H e s = 0.065 .</p><p>Less precision is compared to semi-analytical numerical schemes such as the splitting-step methods which we are analyzing in our project. Since the exact simulation schemes are thoroughly too slow for simulating a process along a time-grid, splitting-step methods preponderate them with respect to efficiency.</p><p>The splitting algorithms heavily rely on the exploitation of the specific structure of original system (2.1). One can decompose the original system into two subsystems appropriately for which either one knows the explicit solution or the conditional transition probability of one of the subsystems and integrate the remaining one by deterministic numerical methods of at least order 1. In this way, it preserves the non-negativity and a maximum of convergence order 1.0 both in strong and weak sense. For the analytical solution of SDEs, an extensive list of known one can be found in textbooks such as Kloeden and Platen [<xref ref-type="bibr" rid="scirp.83491-ref1">1</xref>] .</p><p>Among the numerical schemes in &#167;3, splitting-step method gives the best convergence rate and normally highest accuracy. We observe that it doesn’t perform better than other four schemes on call option valuation with CIR model. Despite it costs more computational time to generate sample paths, it may cost even less for certain &#215; errors. For example, if one requires that the relative difference of A European call option under the Heston model should be less than 0.10 with the parameter setting in &#215;4.3, the splitting method costs the least computational time than others.</p></sec><sec id="s6"><title>6. Future Work</title><p>Since derivatives are one of the three main categories of financial instruments where the other two being stocks (i.e., equities or shares) and debt (i.e., bonds and mortgages), and as we said that the splitting methods are much more efficient but has less accuracy than exact simulation methods which are not suitable for pathwise simulations, then one direction of our interest is applying splitting-step method to other path-dependent options, probably with comparison to other efficient algorithms like what we have done in &#167;3.3.2.</p><p>Another direction is the application of splitting-step models to portfolio problems which are aiming to find the optimal investment strategy of an investor. Following the optimal portfolio strategy leads to the maximum expected utility of the terminal wealth. For example the classical Merton’s problem [<xref ref-type="bibr" rid="scirp.83491-ref37">37</xref>] and mixed stock &amp; bond portfolio problem like in [<xref ref-type="bibr" rid="scirp.83491-ref38">38</xref>] are under consideration.</p><p>As Moro and Schurz [<xref ref-type="bibr" rid="scirp.83491-ref9">9</xref>] have mentioned that the splitting-step scheme is applicable to multi-dimensional problems, we intend to encounter some suitable splitting manners to deal with them which in particular can be SDEs with linear, decoupled, commutative or diagonal noise terms. Furthermore, non-linear partial differential equations, for instance, Super-Brownian motion interest us to verify its properties by implement splitting-step methods.</p></sec><sec id="s7"><title>Acknowledgements</title><p>I would take the opportunity to thank my tutor Esteban Moro Egido who gives the support during our project.</p></sec><sec id="s8"><title>Cite this paper</title><p>Yuan, Y. and Egido, E.M. (2018) Non-Negativity Preserving Numerical Algorithms for Problems in Mathematical Finance. Applied Mathematics, 9, 313-335. https://doi.org/10.4236/am.2018.93024</p></sec></body><back><ref-list><title>References</title><ref id="scirp.83491-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Kloeden, P.E. and Platen, E. (1998) Numerical Solution of Stochastic Differential Equations. Springer, New York.</mixed-citation></ref><ref id="scirp.83491-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Kloeden, P.E., Platen, E. and Schurz, H. (1994) Numerical Solution of SDEs through Computer Experiments. Springer, New York.  
https://doi.org/10.1007/978-3-642-57913-4</mixed-citation></ref><ref id="scirp.83491-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Schurz, H. (1997) Stability, Stationarity, and Boundedness of Some Implicit Numerical Methods for Stochastic Differential Equations and Applications. Logos-Verlag, Berlin.</mixed-citation></ref><ref id="scirp.83491-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Milstein, G.N. (1995) Numerical Integration of Stochastic Differential Equations. Kluwer, Dordrecht. https://doi.org/10.1007/978-94-015-8455-5</mixed-citation></ref><ref id="scirp.83491-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Cox, J.C., Ingersoll, J.E. and Ross, S.A. (1985) A Theory of Term Structure of Interest Rates. Econometrica, 53, 385-407.</mixed-citation></ref><ref id="scirp.83491-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Heston, S. (1993) A Closed-Form Solution for Options with Stochastic Volatility with Applications to Bond and Currency Options. Reviews of Financial Studies, 6, 327-343. https://doi.org/10.1093/rfs/6.2.327</mixed-citation></ref><ref id="scirp.83491-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Feller, W. (1951) Two Singular Diffusion Problems. Annals of Mathematics, 54, 173-182. https://doi.org/10.2307/1969318</mixed-citation></ref><ref id="scirp.83491-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Karlin, S. and Taylor, H.M. (1981) A Second Course in Stochastic Processes. Academic Press, New York.</mixed-citation></ref><ref id="scirp.83491-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Moro, E. and Schurz, H. (2007) Boundary Preserving Semi-Analytic Numerical Algorithms for Stochastic Differential Equations. SIAM Journal on Scientific Computing, 29, 1525-1549. https://doi.org/10.1137/05063725X</mixed-citation></ref><ref id="scirp.83491-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Glasserman, P. (2003) Monte Carlo Methods in Financial Engineering. Springer Verlag, New York. https://doi.org/10.1007/978-0-387-21617-1</mixed-citation></ref><ref id="scirp.83491-ref11"><label>11</label><mixed-citation publication-type="book" xlink:type="simple">Broadie, M. and Kaya, O. (2004) Exact Simulation of Option Greeks under Stochastic Volatility and Jump Diffusion Models. In: Ingalls, R.G., Rossetti, M.D., Smith, J.S. and Peters, B.A., Eds., Proceedings of the 2004 Winter Simulation Conference, INFORMS, Washington, 1607-1615. https://doi.org/10.1109/WSC.2004.1371506</mixed-citation></ref><ref id="scirp.83491-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Broadie, M. and Kaya, O. (2006) Exact Simulation of Stochastic Volatility and Other Affine Jump Diffusion Processes. Operations Research, 54, 217-231.  
https://doi.org/10.1287/opre.1050.0247</mixed-citation></ref><ref id="scirp.83491-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Alfonsi, A. (2005) On the Discretization Schemes for the CIR (and Bessel Squared) Processes. Monte Carlo Methods and Applications, 11, 355-384.  
https://doi.org/10.1515/156939605777438569</mixed-citation></ref><ref id="scirp.83491-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Kahl, C. and Schurz, H. (2006) Balanced Milstein Methods for Ordinary SDEs. Monte Carlo Methods and Applications, 12, 143-170.  
https://doi.org/10.1515/156939606777488842</mixed-citation></ref><ref id="scirp.83491-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Dereich, S., Neuenkirch, A. and Szpruch, L. (2012) An Euler-Type Method for the Strong Approximation of the Cox-Ingersoll-Ross Process. Proceedings of the Royal Society of London A, 468, 1105-1115. https://doi.org/10.1098/rspa.2011.0505</mixed-citation></ref><ref id="scirp.83491-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Alfonsi, A. (2010) High Order Discretization Schemes for the CIR Process: Application to Affine Term Structure and Heston Models. Mathematics of Computation, American Mathematical Society, 79, 209-237.  
https://doi.org/10.1090/S0025-5718-09-02252-2</mixed-citation></ref><ref id="scirp.83491-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Deelstra, G. and Delbaen, F. (1998) Convergence of Discretized Stochastic (Interest Rate) Processes with Stochastic Drift Term. Applied Stochastic Models and Data Analysis, 14, 77-84.  
https://doi.org/10.1002/(SICI)1099-0747(199803)14:1&lt;77::AID-ASM338&gt;3.0.CO;2-2</mixed-citation></ref><ref id="scirp.83491-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Bossy, M. and Diop, A. (2004) An Efficient Discretization Scheme for One Dimensional SDEs with a Diffusion Coefficient Function of the Form. INRIA Working Paper No. 5396.</mixed-citation></ref><ref id="scirp.83491-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">Berkaoui, A., Bossy, M. and Diop, A. (2008) Euler Scheme for SDEs with Non-Lipchitz Diffusion Coefficient: Strong Convergence. ESAIM Probability and Statistics, 12, 1-11.</mixed-citation></ref><ref id="scirp.83491-ref20"><label>20</label><mixed-citation publication-type="other" xlink:type="simple">Higham, D.J. and Mao, X. (2005) Convergence of Monte Carlo Simulations Involving the Mean-Reverting Square Root Process. Journal of Computational Finance, 8, 35-62.</mixed-citation></ref><ref id="scirp.83491-ref21"><label>21</label><mixed-citation publication-type="other" xlink:type="simple">Lord, R., Koekkoek, R. and van Dijk, D. (2008) A Comparison of Biased Simulation Schemes for Stochastic Volatility Models. Journal of Quantitative Finance, 10, 177-194.</mixed-citation></ref><ref id="scirp.83491-ref22"><label>22</label><mixed-citation publication-type="other" xlink:type="simple">Kahl, C. and Jackel, P. (2006) Fast Strong Approximation Monte-Carlo Schemes for Stochastic Volatility Models. Quantitative Finance, 6, 513-536.  
https://doi.org/10.1080/14697680600841108</mixed-citation></ref><ref id="scirp.83491-ref23"><label>23</label><mixed-citation publication-type="other" xlink:type="simple">Andersen, L. (2008) Simple and Efficient Simulation of the Heston Stochastic Volatility Model. Journal of Computational Finance, 11, 1-42.  
https://doi.org/10.21314/JCF.2008.189</mixed-citation></ref><ref id="scirp.83491-ref24"><label>24</label><mixed-citation publication-type="other" xlink:type="simple">Carr, P. and Madan, D. (1999) Option Valuation using the Fast Fourier Transform. Journal of Computational Finance, 2, 61-73. https://doi.org/10.21314/JCF.1999.043</mixed-citation></ref><ref id="scirp.83491-ref25"><label>25</label><mixed-citation publication-type="other" xlink:type="simple">Lewis, A.L. (2001) A Simple Option Formula for General Jump-Diffusion and Other Exponential Levy Processes. http://www.optioncity.net/pubs/ExpLevy.pdf</mixed-citation></ref><ref id="scirp.83491-ref26"><label>26</label><mixed-citation publication-type="other" xlink:type="simple">Lee, R.W. (2004) Option Pricing by Transform Methods: Extensions, Unification and Error Control. Journal of Computational Finance, 7, 51-86.  
https://doi.org/10.21314/JCF.2004.121</mixed-citation></ref><ref id="scirp.83491-ref27"><label>27</label><mixed-citation publication-type="other" xlink:type="simple">Kahl, C. and Jackel, P. (2005) Not-So-Complex Logarithms in the Heston Model. Wilmott Magazine, 19, 94-103.</mixed-citation></ref><ref id="scirp.83491-ref28"><label>28</label><mixed-citation publication-type="other" xlink:type="simple">Lord, R. and Kahl, C. (2007) Optimal Fourier Inversion in Semi-Analytical Option Pricing. http://papers.tinbergen.nl/06066.pdf</mixed-citation></ref><ref id="scirp.83491-ref29"><label>29</label><mixed-citation publication-type="other" xlink:type="simple">Fang, F. and Oosterlee, C.W. (2008) A Novel Pricing Method for European Options Based on Fourier-Cosine Series Expansions. SIAM Journal on Scientific Computing, 31, 826-848. https://doi.org/10.1137/080718061</mixed-citation></ref><ref id="scirp.83491-ref30"><label>30</label><mixed-citation publication-type="other" xlink:type="simple">Johnson, N.L., Kotz, S. and Balakrishnan, N. (1994) Continuous Univariate Distributions. Wiley, New York, 2.</mixed-citation></ref><ref id="scirp.83491-ref31"><label>31</label><mixed-citation publication-type="other" xlink:type="simple">Siegel, A.F. (1979) The Noncentral Chi-Squared Distribution with Zero Degrees of Freedom and Testing for Uniformity. Biometrika, 66, 381-386.  
https://doi.org/10.1093/biomet/66.2.381</mixed-citation></ref><ref id="scirp.83491-ref32"><label>32</label><mixed-citation publication-type="other" xlink:type="simple">Feller, W. (1971) Probability Theory and Its Applications. 2nd Edition, Wiley, New York.</mixed-citation></ref><ref id="scirp.83491-ref33"><label>33</label><mixed-citation publication-type="other" xlink:type="simple">Gatheral, J. (2006) The Volatility Surface: A Practitioners Guide. John Wiley and Sons, New York.</mixed-citation></ref><ref id="scirp.83491-ref34"><label>34</label><mixed-citation publication-type="other" xlink:type="simple">Makarov, R.N. and Glew, D. (2010) Exact Simulation of Bessel Discussions. Monte Carlo Methods and Applications, 16, 283-306.  
https://doi.org/10.1515/mcma.2010.010</mixed-citation></ref><ref id="scirp.83491-ref35"><label>35</label><mixed-citation publication-type="other" xlink:type="simple">Shreve, S.E. (1996) Stochastic Calculus and Finance.  
http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.137.6951&amp;rep=rep1&amp;type=pdf</mixed-citation></ref><ref id="scirp.83491-ref36"><label>36</label><mixed-citation publication-type="other" xlink:type="simple">Wilmott, P., Howison, S. and Dewynne, J. (1995) The Mathematics of Financial Derivatives. Cambridge University Press, New York.  
https://doi.org/10.1017/CBO9780511812545</mixed-citation></ref><ref id="scirp.83491-ref37"><label>37</label><mixed-citation publication-type="other" xlink:type="simple">Merton, R.C. (1969) Lifetime Portfolio Selection under Uncertainty: The Continuous-Time Case. Review of Economics and Statistics, 51, 247-257.  
https://doi.org/10.2307/1926560</mixed-citation></ref><ref id="scirp.83491-ref38"><label>38</label><mixed-citation publication-type="other" xlink:type="simple">Korn, R. and Kraft, H. (2002) A Stochastic Control Approach to Portfolio Problems with Stochastic Interest Rates. SIAM Journal on Control and Optimization, 40, 1250-1269. https://doi.org/10.1137/S0363012900377791</mixed-citation></ref></ref-list></back></article>