Random processes I.

:: Stochastic character of financial variables ::

:: Wiener process ::

:: Exercises (1) ::

  1. Add more trajectories of a Wiener process into one plot. When doing this, we may encounter something like this:
    wiener
    The new trajectory does not fit into the bounds determined when displaying the first one. Compute the bounds for the vertical axis, such that you have a 95 percent probability that the end of the trajectory will be withing these bounds.

    Naturally, this doesn't necessarily mean that the whole trajectory will fit. You will explore the maximum of a Wiener process in practice problems.

  2. Simulate the values of the random variable w(1)+w(2) and make a histogram of its values. Compute the probability distribution of this random variable and check your answer with the histogram from the simulations.

:: Brownian motion and geometric Brownian motion ::

:: Exercises (2) ::

  1. Plot some trajectories of a Brownian motion into one figure and add the expected value. A sample output:
    brown
  2. 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

  3. Plot some trajectories of a geometric Brownian motion into one figure and add the expected value.

:: Exercises (3) ::

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

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

:: Practice problems ::

  1. 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?

  2. 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

  3. Define the process so that its value at time t is the maximum of a Wiener process on the interval [0,t]:
    obr
    A sample trajectory is depicted on the following plot:
    obr
    Using simulations estimate the distribution of this so-called running maximum at time t=1 and its expected value. (Here it is wirth noting that computation of the maximum using values from a discrete time set is an underestimate of the real maximum of the trajectory. Therefore, in order to obtain a more precise estimate of the expected value it is not sufficient only to simulate a large number of trajectories, but also to use a sufficiently small time step.)

  4. From Society of Actuaries exam:
    obr
    We have seen some problems from the exam on the lecture, also here it is actually a multiple-choice question and the choices are: 0.03, 0.04, 0.05, 0.06, 0.07.

  5. Define a process:
    obr
    • Plot some trajectories of the process. (Plot more trajectories, so that the typical behaviour of the process can be better observed.) How does the variance change in time? A sample graph:
      obr
    • Compute the mean and variance of the process analytically. At which time achieves the variance its maximum? What is its limit as time approaches infinity? Compare these results with the simulations of the trajectories.
    • Add 95 percent confidence interval for the value at the given time to the graph.


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


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