Skip to content
Accessibility statement
100%
100%
0%
0 turns

2 Continuous time models

Any variable whose value changes over time in an uncertain way is said to follow a stochastic process. Such processes can be classified as discrete time or continuous time. Stochastic processes can also be classified as having continuous state space or discrete state space. In this part of the course, we aim to model the dynamics of the price of a stock via a continuous state space, continuous time stochastic process. Naturally, stock prices take discrete values (e.g. multiples of a penny), nevertheless, the continuous state, continuous time interpretation can be extremely useful and many important results (such as the Black-Scholes pricing formula) can be derived from this setting.

We begin by reviewing Brownian motion and geometric Brownian motion before considering some further topics.

2.1 Brownian motion

Definition 2.1 (stochastic process)

A stochastic process is a collection of random quantities with state space and index set . We will consider only continuous state space, continuous time processes, that is with and .

The first such process we will consider as a model for stock price is Brownian Motion. This long-studied process was first observed by botanist Robert Brown in 1827 (hence the name). It was proposed as a model for asset price movements in 1900 by Louis Bachelier whilst governing laws were stated by Albert Einstein. Norbert Wiener proved many results including non-differentiability of sample paths. Consequently, a 1-d Brownian motion is often referred to as a Wiener process.

Definition 2.2 (standard Brownian motion)

Formally, is a standard Brownian motion (B.M.) if depends continuously on , and the following 3 assumptions hold

Important properties

  • The process is Markov: has the property that future states are independent of the past states given the present state.

  • Note that using Definition 2.2(1) and 2.2(3) gives . Since we have used , we may prefer to write .

  • For times define the transition density of the process by . Now note that

    From Definition 2.2(3), and so conditioning on gives

    and hence the transition density is

    This is leads us to think about the process as a continuous time random walk – given a value of the process at time , the distribution of the process at a future time is plus some zero mean Gaussian noise.

  • Standard Brownian motion can be generalised by scaling by a constant and shifting by a linear function of time. A generalised Brownian motion with drift and diffusion coefficient is defined as

    For times we have that

    Hence

    Note that and returns the standard Brownian motion process.

Example 2.1

Suppose the cash position of a company (measured in thousands of pounds) follows a generalised B.M. with drift per year and variance 900 per year (i.e. diffusion coefficient ). Initially the cash position is 50. Write down the distribution of the cash position after 6 months, 1 year, 10 years.

Solution

Denote the cash position at time by . Let . Using equation (2), after 6 months (=0.5 years) Similarly, Note that 1. cash position can become negative (we interpret this as the situation where the company is borrowing funds) and 2. our uncertainty increases as the square root of how far ahead we are looking.

Example 2.2

For times show that

Solution

As it stands, the increments are not independent so we cannot simply take the expectation of each term in the product. (To see this, consider the intervals and which overlap.) So, we re-write the expression in such a way as to give a sum of products of independent terms. By adding and subtracting and we have Now, multiplying out gives The last three terms in the sum involve pairs of independent increments. Hence, upon taking the expectation inside the brackets we see that all terms are zero except since from Definition 2.2(3).

Simulating/visualising Brownian motion

The expected length of the path followed by in any time interval is infinite. Consequently, simulation of a full realisation of on say is impossible. It is possible however to construct a skeleton of a sample path of by discretising time and then simulating at each time point using equation(2).

Split into equidistant points . Let . Consider a generalised B.M. with drift , diffusion and . The distribution of conditional on is Normal with mean and variance . We simulate from this distribution to obtain a realisation of , namely . Now simulate . In general, at time , simulate .

Algorithmically:-

  1. Initialise . Put

  2. Simulate

  3. If , stop otherwise put and go to step 2.

The following function takes as arguments , , , and , and returns a skeleton path of a generalised B.M.

genbm=function(T=20,dt=0.01,x0=0,a=0,b=1) { n=T/dt simvec=vector("numeric",len=n+1) simvec[1]=x0 for(i in 2:(n+1)) { simvec[i]=rnorm(1,simvec[i-1]+a*dt,b*sqrt(dt)) } simvec } #Run the function with genbm()

Plot the path with

plot(ts(genbm(),start=0,deltat=0.01))

Figure 1 shows a single simulated realisation of a standard B.M. viewed at decreasing sampling intervals. Note that as , the true process is obtained. Figure 2 shows 4 simulated realisations with varying drift and diffusion . Clearly, increasing shifts the trajectory up (proportional to time) and increasing causes the trajectory to vary more about its mean.

\includegraphics[width=4cm,angle=270]{bm1-eps-converted-to.pdf} \includegraphics[width=4cm,angle=270]{bm2-eps-converted-to.pdf}
Figure 1 1 simulated realisation of a standard B.M. with sampling frequency (a) , (b) , (c) and (d) .
\includegraphics[width=4cm,angle=270]{bm1b-eps-converted-to.pdf} \includegraphics[width=4cm,angle=270]{bm2b-eps-converted-to.pdf}
Figure 2 4 simulated realisations of a generalised B.M. with (a) , (b) , (c) , and (d) , .

2.2 Lognormal distribution

In order to formulate a more realistic model of stock price we will first review the Lognormal distribution. Note that in this course, .

Let be a Lognormal random variable with parameters and . Then, we write with pdf

The expectation of is

and the variance of is

Note that if , then . Or, equivalently, if , then . We can therefore obtain (3) and (4) by considering the moment generating function (mgf) of a random variable, say . Recall that this mgf (with arbitrary argument ) is

Hence we obtain

The variance is obtained by first calculating and then using

We can plot the density of for a range of and with the commands

y=seq(0,4,0.1) plot(y,dlnorm(y,0,1),type="l",ylim=c(0,2)) lines(y,dlnorm(y,1,sqrt(2)),type="l") lines(y,dlnorm(y,-1,1),type="l")

for which we obtain the Figure 3. Can you match up the distributions and their pdfs? Note that the pdfs are right skewed. Moreover, we have that

\includegraphics[width=6cm,angle=270]{ln-eps-converted-to.pdf}
Figure 3 pdfs


Finally note that the pdf of a Lognormal random variable can be obtained from the pdf of a Normal random variable as follows. Start with the cumulative distribution function of ,

Differentiating with respect to gives the pdf of as

as required.

2.3 Geometric Brownian Motion

We have considered (generalised) Brownian motion as a model for cash position but not as a model for stock price. In fact, it would appear that (generalised) B.M. has two major flaws when used to model stock price:

  1. When using B.M. the price of a stock would be a Normal random variable, and so it could be negative.

  2. The assumption that the price difference over an interval of fixed length has the same Normal distribution no matter what the price at the beginning of the interval doesn’t seem reasonable. For example, many people do not think that the probability a stock currently selling at 20 would drop to 15 or less (a loss of 25% or more) in one month should be the same as the the probability of a stock currently at 10 dropping to 5 or less in one month (a loss of 50% or more). Under generalised B.M. .

The geometric Brownian motion model has neither of these flaws. Let us see why.

Definition 2.3

A continuous time stochastic process is called a geometric Brownian motion (G.B.M.) (with parameters and ) if each path is a continuous positive function of and

Important properties / comments

  • When modelling stock price with G.B.M., the logarithm of the stock’s price is a Normal random variable and so the model does not allow for negative stock prices.

  • Since ratios of prices separated by a fixed length of time have the same distribution, G.B.M. makes the more reasonable assumption that it is the percentage change in price (and not the absolute change) whose probabilities do not depend on the present price.

  • is known as the mean rate of return or expected rate of return and is the volatility.

  • Let (for times ). Then follows the Lognormal distribution (and taking the log of results in a Normal random variable with mean and variance ).

  • Using equation (3) with and , the expectation of is

  • Using equation (4), the variance of is

  • The quantity

    is known as the continuously compounded rate of return (or simply the return) realised between times 0 and , and is so called since rearranging gives

  • G.B.M. (with parameters and ) is related to the standard B.M. via the formula

    Rewriting equation (7) with gives

    That is, is a generalised Brownian motion with initial value , drift and diffusion coefficient .

We can show that equation (7) defines a G.B.M. by checking Definition 2.3. The continuity of sample paths of gives continuity of sample paths of . Now note that

  1. which is a fixed, positive value.

  2. For all times ,

    and

    Now, independence of the Brownian increments on the RHS gives independence of the ratios on the LHS.

  3. For all times ,

    which, using gives

    as required.

Example 2.3

Suppose that the price of a particular stock follows a G.B.M. with mean rate of return per year and volatility per year. If the initial price of stock is , find:

  • (a)

    ;

  • (b)

    .

Solution

  • (a)

    We require

    where follows a log-Normal distribution and so we can apply equation (5). We obtain

    Note that in general,

    so the expected price grows like a fixed-income security with continuously compounded interest rate . This is why we call the rate of return.

  • (b)

    We have

    Hence we obtain

Example 2.4

Consider a stock with an initial price of 40, an expected return of 16% per annum, and a volatility of 4% per annum. Calculate a 95% confidence interval for the stock price in 6 months time, .

Solution

Identify and . Now, we know that Hence, with 95% confidence,

Simulating/Visualising Geometric Brownian Motion

Just as with Brownian motion, we can simulate a skeleton of a sample path of geometric Brownian motion by discretising time and using equation (7). As before, split into equidistant points . Let . Perform the following sequence of steps:-

  1. Initialise . Put

  2. Simulate

  3. Put

  4. If , stop otherwise put and go to step 2.

The following function takes as arguments , , , and , and returns a skeleton path of a generalised B.M.

gbm=function(T=20,dt=0.01,s0=40,mu=0.1,sig=0.2) { n=T/dt simvec=vector("numeric",len=n+1) simvec[1]=s0 for(i in 2:(n+1)) { simvec[i]=simvec[i-1]*exp((mu-0.5*sig*sig)*dt+sig*rnorm(1,0,sqrt(dt))) } simvec }

Plot the path with

plot(ts(gbm(),start=0,deltat=0.01))

Figure 4 shows two simulated realisations of a geometric B.M.

\includegraphics[width=4cm,angle=270]{gbm1-eps-converted-to.pdf}
Figure 4 2 simulated realisations of a geometric B.M. with , and .

G.B.M. as a limit of simpler models (not examinable)

Partition the interval into equal subintervals of size and consider a Binomial model for the price of a stock. That is, every time units, the price either goes up by a factor with probability or goes down by a factor of with probability . Fix and and set

Now define a random variable taking the value 1 if the price goes up at time and 0 if the price goes down. Plainly, the number of times the price goes up (in the first time increments) is and the number of times it goes down is . Hence, the stock price at time can be expressed as

Dividing by and taking logarithms gives

after using and the definitions of and . Now, taking smaller and smaller intervals, , is equivalent to taking and hence by the central limit theorem, becomes increasingly Normal. This implies that in equation (8) becomes a Normal random variable. Taking expectations

For the variance, we obtain

Hence, we have shown that taking a simple Binomial model (of stock price) with smaller and smaller time periods results in the geometric Brownian motion. We can also verify this empirically. Consider the following function that takes as arguments , , , and , and returns a simulated value of , by simulating from the Binomial model.

bin=function(T=2,dt=0.1,s0=40,mu=0.1,sig=0.2) { n=T/dt sdt=sqrt(dt) u=exp(sig*sdt) d=exp(-sig*sdt) p=0.5*(1+(mu/sig-sig/2)*sdt) s=s0 k=rbinom(1,n,p) s=s*u^(k)*d^(n-k) log(s/s0) }

Consider an example with , and . For a Binomial model with ’small’ time intervals, we should expect the distribution of to be (approximately) Normal with mean and variance . The following function generates a predetermined number of simulated values of ,

bin2=function(T=2,dt=0.1,s0=40,mu=0.1,sig=0.2,sim=1000) { simvec=vector("numeric",len=sim) for(i in 1:sim){ simvec[i]=bin(T,dt,s0,mu,sig) } simvec }

and we can then plot a histogram of these simulated values with

hist(bin2(),freq=F)  

Figure 5 provides 4 such histograms generated with decreasing .

\includegraphics[width=4cm,angle=270]{bin1-eps-converted-to.pdf} \includegraphics[width=4cm,angle=270]{bin2-eps-converted-to.pdf}
Figure 5 Histograms of 1000 simulations of from the binomial model with , and time intervals of (a) , (b) , (c) and (d) . Plot (d) includes an overlay of the density.

Black-Scholes Pricing

In the final part of this Section, we derive the well known Black-Scholes formula, which gives (under the assumption that the price of a security evolves according to a G.B.M.) the unique no-arbitrage cost of a call option. The theory was developed in the early 1970s and its importance recognised in 1997, with the award of a Nobel prize for economics.

Consider an ECC with payoff at time . The no arbitrage fair price of this ECC is

where should be an appropriate risk-neutral expectation. That is

The motivation for this form of fair price is probably best understood in the context of gambling. It is helpful to imagine the payoff of the ECC as your total fortune at time after gambling in a “fair” game. One might then expect the fair price for entering the game to be the expected payoff at time . To take into account the money market, we multiply by the discount factor, .

The simplest ECC has payoff at time . The fair price is therefore

since for no-arbitrage, the fair price of the ECC must coincide with its value at time 0. Under assumption of GBM,

and we therefore must take for (9) to be satisfied. A G.B.M. with is known as risk neutral G.B.M. Under the risk-neutral G.B.M., is Normal with mean and variance .

Hence, the unique no-arbitrage cost, , of a European call option with maturity and strike price is the discounted expected payoff at time ,

where is a Normal random variable with mean and variance . This equation can be explicitly evaluated to give the Black-Scholes option pricing formula.

Result 2.1 (Black-Scholes formula)

Under the assumption of R-N G.B.M., the fair price of a European call option with maturity and strike price is

and is the standard Normal distribution function. Recall that is base .

Derivation of the Black-Scholes price (not examinable)

Let be an indicator variable taking the value 1 if and 0 otherwise. By definition of the fair price of the European call option,

We now calculate the expectation of the indicator variable,

Now we just need . We start by writing as

where . We can then write our indicator variable as

Hence

Hence we obtain

as required.

Comments

  • Let and be the respective no-arbitrage costs of a European call and put option each with strike price and maturity . It follows from the put-call option parity formula (see Section 1) that is given by

  • Note that the no-arbitrage cost of the option depends on the underlying Brownian motion only through its volatility (since is known). In other words, to find the fair price of an option, we need only estimate .

Example 2.5

Consider an option with strike price (in pounds) and maturity months. Suppose that the current price of stock is , the risk free interest rate is 5% and the volatility is 6.25% per annum.

  • (a)

    What is the price of the option if it is a European call?

  • (b)

    What is the price of the option if it is a European put?

Solution

  • (a)

    Identify , , , . Let denote the price of the European call. Define similarly. Using the Black-Scholes formula (10) we have

    Hence the no-arbitrage price of the European call is .

  • (b)

    Using the put-call parity formula given by (11),

    Hence the no-arbitrage price the European put is .

Properties of the Black-Scholes price

We have the following properties of the Black-Scholes price :

  1. is an increasing function of . This means that if the other four variables () remain the same, then the no-arbitrage cost of the option is an increasing function of the security’s initial price. Showing this to be the case will be left as an exercise.

  2. is a decreasing function of . Showing this to be the case will be left as an exercise.

  3. is increasing in . A mathematical argument can be given but is beyond the scope of the course.

  4. is increasing in . This at first might seem intuitive since the option holder will benefit from large prices at maturity time, while any additional price decrease below the strike price will not cause any additional loss. However, we must note that increasing also results in a decrease in the mean of an asset’s price (under GBM). Nevertheless the result is true but a mathematical proof is beyond the scope of the course.

  5. is increasing in . Showing this to be the case will be left as an exercise.

/>