Consider the following SDE for the spot rate: drt = rtdWt. (a) Write a program that simulates
Question:
(a) Write a program that simulates a path for rt by simulating dWt. Assume r0 = 0.01, T = 2.0 and ∆ = 0.05. Calculate the expectation of the terminal spot rate, rT.
(b) Solve the given SDE and repeat the above simulation by simulating a single Wt along each path. As above, calculate the expectation of the terminal spot rate, rT.
(c) Show empirically that these two simulation methods converge as the number of draws increases and comment on their relative efficiency.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
An Introduction to the Mathematics of Financial Derivatives
ISBN: 978-0123846822
3rd edition
Authors: Ali Hirsa, Salih N. Neftci
Question Posted: