Geometric Brownian motion

{{Short description|Continuous stochastic process}}

File:GBM2.png

A geometric Brownian motion (GBM) (also known as exponential Brownian motion) is a continuous-time stochastic process in which the logarithm of the randomly varying quantity follows a Brownian motion (also called a Wiener process) with drift.{{cite book |title=Introduction to Probability Models |first=Sheldon M. |last=Ross |location=Amsterdam |publisher=Elsevier |edition=11th |year=2014 |chapter=Variations on Brownian Motion |pages=612–14 |isbn=978-0-12-407948-9 |chapter-url=https://books.google.com/books?id=A3YpAgAAQBAJ&pg=PA612 }} It is an important example of stochastic processes satisfying a stochastic differential equation (SDE); in particular, it is used in mathematical finance to model stock prices in the Black–Scholes model.

Technical definition: the SDE

A stochastic process St is said to follow a GBM if it satisfies the following stochastic differential equation (SDE):

: dS_t = \mu S_t\,dt + \sigma S_t\,dW_t

where W_t is a Wiener process or Brownian motion, and \mu ('the percentage drift') and \sigma ('the percentage volatility') are constants.

The former parameter is used to model deterministic trends, while the latter parameter models unpredictable events occurring during the motion.

Solving the SDE

For an arbitrary initial value S0 the above SDE has the analytic solution (under Itô's interpretation):

: S_t = S_0\exp\left( \left(\mu - \frac{\sigma^2}{2} \right)t + \sigma W_t\right).

The derivation requires the use of Itô calculus. Applying Itô's formula leads to

: d(\ln S_t) = (\ln S_t)' d S_t + \frac{1}{2} (\ln S_t)'' \,dS_t \,dS_t

= \frac{d S_t}{S_t} -\frac{1}{2} \,\frac{1}{S_t^2} \, dS_t \, dS_t

where dS_t \, dS_t is the quadratic variation of the SDE.

: d S_t \, d S_t \, = \, \sigma^2 \, S_t^2 \, d W_t^2 + 2 \sigma S_t^2 \mu \, d W_t \, d t + \mu^2 S_t^2 \, d t^2

When d t \to 0 , d t converges to 0 faster than d W_t,

since d W_t^2 = O(d t) . So the above infinitesimal can be simplified by

: d S_t \, d S_t \, = \, \sigma^2 \, S_t^2 \, dt

Plugging the value of dS_t in the above equation and simplifying we obtain

: \ln \frac{S_t}{S_0} = \left(\mu -\frac{\sigma^2}{2}\,\right) t + \sigma W_t\,.

Taking the exponential and multiplying both sides by S_0 gives the solution claimed above.

Arithmetic Brownian Motion

The process for X_t = \ln \frac{S_t}{S_0}, satisfying the SDE

: d X_t = \left(\mu -\frac{\sigma^2}{2}\,\right) dt + \sigma dW_t\, ,

or more generally the process solving the SDE

: d X_t = m\, dt + v\, dW_t\, ,

where m and v >0 are real constants and for an initial condition X_0, is called an Arithmetic Brownian Motion (ABM). This was the model postulated by Louis Bachelier in 1900 for stock prices, in the first published attempt to model Brownian motion, known today as Bachelier model. As was shown above, the ABM SDE can be obtained through the logarithm of a GBM via Itô's formula. Similarly, a GBM can be obtained by exponentiation of an ABM through Itô's formula.

Properties of GBM

The above solution S_t (for any value of t) is a log-normally distributed random variable with expected value and variance given by{{Citation

| title = Stochastic Differential Equations: An Introduction with Applications

|publisher=Springer

|author = Øksendal, Bernt K.

| year = 2002

| pages = 326

| isbn = 3-540-63720-6

}}

:\operatorname{E}(S_t)= S_0e^{\mu t},

:\operatorname{Var}(S_t)= S_0^2e^{2\mu t} \left( e^{\sigma^2 t}-1\right).

They can be derived using the fact that Z_t = \exp\left(\sigma W_t - \frac{1}{2}\sigma^2 t\right) is a martingale, and that

: \operatorname{E}\left[ \exp\left(2\sigma W_t - \sigma^2 t\right) \mid \mathcal{F}_s\right] = e^{\sigma^2(t - s)} \exp\left(2\sigma W_s - \sigma^2 s\right),\quad \forall 0 \leq s < t.

The probability density function of S_t is:

: f_{S_t}(s; \mu, \sigma, t) = \frac{1}{\sqrt{2 \pi}}\, \frac{1}{s \sigma \sqrt{t}}\, \exp \left( -\frac{ \left( \ln s - \ln S_0 - \left( \mu - \frac{1}{2} \sigma^2 \right) t \right)^2}{2\sigma^2 t} \right).

{{Collapse top|title=Derivation of GBM probability density function}}

To derive the probability density function for GBM, we must use the Fokker-Planck equation to evaluate the time evolution of the PDF:

:{\partial p\over{\partial t}} + {\partial\over{\partial S}}[\mu(t,S)p(t,S)] = {1\over{2}}{\partial^{2}\over{\partial S^{2}}}[\sigma^{2}(t,S)p(t,S)], \quad p(0,S) = \delta(S)

where \delta(S) is the Dirac delta function. To simplify the computation, we may introduce a logarithmic transform x = \log (S/S_{0}), leading to the form of GBM:

:dx = \left(\mu - {1\over{2}}\sigma^{2}\right)dt + \sigma dW

Then the equivalent Fokker-Planck equation for the evolution of the PDF becomes:

:{\partial p\over{\partial t}} + \left(\mu - {1\over{2}}\sigma^{2}\right){\partial p\over{\partial x}} = {1\over{2}}\sigma^{2}{\partial^{2}p\over{\partial x^{2}}}, \quad p(0,x) = \delta(x)

Define V=\mu-\sigma^{2}/2 and D=\sigma^{2}/2. By introducing the new variables \xi = x-Vt and \tau = Dt, the derivatives in the Fokker-Planck equation may be transformed as:

:\begin{aligned}\partial_{t}p &= D\partial_{\tau}p - V\partial_{\xi}p \\ \partial_{x}p &= \partial_{\xi}p \\ \partial_{x}^{2}p &= \partial_{\xi}^{2}p \end{aligned}

Leading to the new form of the Fokker-Planck equation:

:{\partial p\over{\partial\tau}} = {\partial^{2}p\over{\partial \xi^{2}}}, \quad p(0,\xi) = \delta(\xi)

However, this is the canonical form of the heat equation. which has the solution given by the heat kernel:

:p(\tau,\xi) = {1\over{\sqrt{4\pi \tau}}}\exp\left(-{\xi^{2}\over{4\tau}} \right)

Plugging in the original variables leads to the PDF for GBM:

:p(t,S) = {1\over{S\sqrt{2\pi \sigma^{2}t}}}\exp\left\{-{\left[\log(S/S_{0})-\left( \mu - {1\over{2}}\sigma^{2}\right)t \right]^{2}\over{2\sigma^{2}t}} \right\}

{{Collapse bottom}}

When deriving further properties of GBM, use can be made of the SDE of which GBM is the solution, or the explicit solution given above can be used. For example, consider the stochastic process log(St). This is an interesting process, because in the Black–Scholes model it is related to the log return of the stock price. Using Itô's lemma with f(S) = log(S) gives

:

\begin{alignat}{2}

d\log(S) & = f'(S)\,dS + \frac{1}{2} f'' (S)S^2\sigma^2 \, dt \\[6pt]

& = \frac{1}{S} \left( \sigma S\,dW_t + \mu S\,dt\right) - \frac{1}{2}\sigma^2\,dt \\[6pt]

&= \sigma\,dW_t +(\mu-\sigma^2/2)\,dt.

\end{alignat}

It follows that \operatorname{E} \log(S_t)=\log(S_0)+(\mu-\sigma^2/2)t.

This result can also be derived by applying the logarithm to the explicit solution of GBM:

:

\begin{alignat}{2}

\log(S_t) &=\log\left(S_0\exp\left(\left(\mu - \frac{\sigma^2}{2} \right)t + \sigma W_t\right)\right)\\[6pt]

& =\log(S_0) +\left(\mu - \frac{\sigma^2}{2} \right)t + \sigma W_t.

\end{alignat}

Taking the expectation yields the same result as above: \operatorname{E} \log(S_t)=\log(S_0)+(\mu-\sigma^2/2)t .

Simulating sample paths

  1. Python code for the plot

import numpy as np

import matplotlib.pyplot as plt

mu = 1

n = 50

dt = 0.1

x0 = 100

np.random.seed(1)

sigma = np.arange(0.8, 2, 0.2)

x = np.exp(

(mu - sigma ** 2 / 2) * dt

+ sigma * np.random.normal(0, np.sqrt(dt), size=(len(sigma), n)).T

)

x = np.vstack([np.ones(len(sigma)), x])

x = x0 * x.cumprod(axis=0)

plt.plot(x)

plt.legend(np.round(sigma, 2))

plt.xlabel("$t$")

plt.ylabel("$x$")

plt.title(

"Realizations of Geometric Brownian Motion with different variances\n $\mu=1$"

)

plt.show()

Multivariate version

GBM can be extended to the case where there are multiple correlated price paths.Musiela, M., and Rutkowski, M. (2004), Martingale Methods in Financial Modelling, 2nd Edition, Springer Verlag, Berlin.

Each price path follows the underlying process

:dS_t^i = \mu_i S_t^i\,dt + \sigma_i S_t^i\,dW_t^i,

where the Wiener processes are correlated such that \operatorname{E}(dW_{t}^i \,dW_{t}^j) = \rho_{i,j} \, dt where \rho_{i,i} = 1.

For the multivariate case, this implies that

:\operatorname{Cov}(S_t^i, S_t^j) = S_0^i S_0^j e^{(\mu_i + \mu_j) t }\left(e^{\rho_{i,j} \sigma_i \sigma_j t}-1\right).

A multivariate formulation that maintains the driving Brownian motions W_t^i independent is

:dS_t^i = \mu_i S_t^i\,dt + \sum_{j=1}^d \sigma_{i,j} S_t^i\,dW_t^j,

where the correlation between S_t^i and S_t^j is now expressed through the \sigma_{i,j} = \rho_{i,j}\, \sigma_i\, \sigma_j terms.

Use in finance

{{main|Black–Scholes model}}

Geometric Brownian motion is used to model stock prices in the Black–Scholes model and is the most widely used model of stock price behavior.{{cite book|title=Options, Futures, and other Derivatives|edition=7|first=John|last=Hull|year=2009|chapter=12.3}}

Some of the arguments for using GBM to model stock prices are:

  • The expected returns of GBM are independent of the value of the process (stock price), which agrees with what we would expect in reality.
  • A GBM process only assumes positive values, just like real stock prices.
  • A GBM process shows the same kind of 'roughness' in its paths as we see in real stock prices.
  • Calculations with GBM processes are relatively easy.

However, GBM is not a completely realistic model, in particular it falls short of reality in the following points:

  • In real stock prices, volatility changes over time (possibly stochastically), but in GBM, volatility is assumed constant.
  • In real life, stock prices often show jumps caused by unpredictable events or news, but in GBM, the path is continuous (no discontinuity).

Apart from modeling stock prices, Geometric Brownian motion has also found applications in the monitoring of trading strategies.{{cite journal |last1=Rej |first1=A. |last2=Seager |first2=P. |last3=Bouchaud |first3=J.-P. |title=You are in a drawdown. When should you start worrying? |journal=Wilmott |date=January 2018 |volume=2018 |issue=93 |pages=56–59 |doi=10.1002/wilm.10646 |arxiv=1707.01457 |s2cid=157827746 |url=https://onlinelibrary.wiley.com/doi/abs/10.1002/wilm.10646}}

Extensions

In an attempt to make GBM more realistic as a model for stock prices, also in relation to the volatility smile problem, one can drop the assumption that the volatility (\sigma) is constant. If we assume that the volatility is a deterministic function of the stock price and time, this is called a local volatility model. A straightforward extension of the Black Scholes GBM is a local volatility SDE whose distribution is a mixture of distributions of GBM, the lognormal mixture dynamics, resulting in a convex combination of Black Scholes prices for options.Fengler, M. R. (2005), Semiparametric modeling of implied volatility, Springer Verlag, Berlin. DOI https://doi.org/10.1007/3-540-30591-2{{cite journal | title = Lognormal-mixture dynamics and calibration to market volatility smiles | first1 = Damiano | last1 = Brigo | author-link1 = Damiano Brigo | first2 = Fabio | last2 = Mercurio | author-link2 = Fabio Mercurio | pages = 427–446 | journal = International Journal of Theoretical and Applied Finance | volume = 5 | year = 2002 | issue = 4 | doi = 10.1142/S0219024902001511 }}Brigo, D, Mercurio, F, Sartorelli, G. (2003). Alternative asset-price dynamics and volatility smile, QUANT FINANC, 2003, Vol: 3, Pages: 173 - 183, {{ISSN|1469-7688}} If instead we assume that the volatility has a randomness of its own—often described by a different equation driven by a different Brownian Motion—the model is called a stochastic volatility model, see for example the Heston model.{{cite journal | title = A closed-form solution for options with stochastic volatility with applications to bond and currency options | first = Steven L. | last = Heston | author-link1 = Steven L. Heston | pages = 327–343 | journal = Review of Financial Studies | volume = 6 | issue = 2 | year = 1993 | jstor = 2962057 | doi = 10.1093/rfs/6.2.327| s2cid = 16091300 }}

See also

References

{{Reflist}}