Random processes I.
Wiener process, Brownian motion, GBM

:: Stochastic character of financial variables ::

:: Wiener process and Brownian motion ::

cv2procesy.sce Download [ex02processes.sce] - Scilab file with the code shown below; we will write more

:: Exercises (1) ::

  1. Modify parameters of a Brownian motion and note the influence on typical trajectories. Then, add the processes
    • x1(t)=w(t)
    • x2(t)=3*w(t)
    • x3(t)=5+2*t+w(t)
    • x4(t)=5+2*t+0.5*w(t)
    • x5(t)=5-3*t+w(t)
    to their sample paths below:
    cv-1-1

:: Geometric Brownian motion ::

:: Modelling stock prices by mean of a geometric Brownian motion ::

:: Exercises (2) ::

Recall from the probability course the definition and basic properties of a lognormal distribution:
cv2procesy.sce Download [ex02stock.sce] - Scilab file with an outline of solution to the following problems and some useful functions

Suppose that the stock price follows a GBM with parameters mi = 0.30, sigma = 0.25 and that its current price is 150 USD.
  1. Plot the probability density function of the stock price in one month. To check your computation, compare it with a histogram of simulated values of the stock price in one month.
  2. Compute the probability that the price in one month will be lower than 140 USD?
  3. What it expected value of the 1/4-year return? What is the probability of this return to be negative?

:: Estimating the parameters of the GBM from stock prices ::

cv2data.sce Download [amzn.txt] and [ex02data.sce] - stock price data in text file and Scilab file with the code given below and the outline of estimation

How to obtain estimates of parameters - we use the procedure from the lecture (cf. the slides) and replicate the results

:: Practice problems ::

  1. Denote by tM the time, in which the sample path of the Wiener process achieved its maximum on the time interval [0, 1] Plot a histogram by simulating the realizations of the random variable tM.

    A trajectory of a Wiener process and corresponding value of tM is shown below, together with a sample histogram.
    obr

  2. Let w be a Wiener process; define B(t) = w(t) - t w(1) for time t in interval [0, 1]. It is known as Brownian bridge.
    • Plot some sample paths of the process and explain its name.
    • Compute its variance at time t and sketch its behaviour as a function of time. To check your computation - what does the result have to be for t=0 and t=1?

  3. More practice problems in the course notes


Financial derivatives, 2014
Beáta Stehlíková, FMFI UK Bratislava


E-mail: stehlikova@pc2.iam.fmph.uniba.sk
Web: http://www.iam.fmph.uniba.sk/institute/stehlikova/