Random processes II.
Stochastic differential equations

:: Stochastic differential equations ::

ex03sde.sce Download [ex03sde.sce] - Scilab file for this exercise session

:: Exercises (1) ::

  1. Write a Scilab function, which generates a vector with a sample path of an Ornstein-Uhlenbeck process for the given initil value, parameters of the process and time ticks. Plot some trajectories of an Ornstein-Uhlenbeck process with selected parameters and note the changes depending on parameter values.

    Add the following parameter sets to their trajectories:
    • kapa = 20, theta = 1, sigma = 1
    • kapa = 3, theta = 1, sigma = 1
    • kapa = 20, theta = 3, sigma = 5
    • kapa = 20, theta = 3, sigma = 1
    obr

  2. Ornstein-Uhlenbeck process is used for example in interest rates modelling. Vasicek model assumes that the instantaneous interest rate (practically - when analysing real data - interest rate with a short maturity) follows an Ornstein-Uhlenbeck process.

    In paper Athanasios Episcopos: Further evidence on alternative continuous time models of the short-term interest rate. Journal of International Financial Markets, Institutions and Money 10 (2000) 199-212 the author estimates interest rate models. The general model which he considered is
    obr
    Special choices of some of the parameters lead to concrete models, one of them is also the Vasicek model. Results for New Zealand (estimated are based on monthly data, from April 1986 - April 1998) can be seen in the following table, taken from the paper:
    obr
    Source: (Episcopos, 2000)

    • The process is written in another parametization. Write it in terms of the parameters kapa, theta, sigma. What is the equilibrium level, to which the interest rate reverts?
    • Simulate future behaviour of the interest rate using the estimated parameters of the Vasicek model. Into one graph, plot several sample paths starting from the same initial value.



Financial derivatives - exercises, 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/