Question: Consider the following SDE for the spot rate: drt = rtdWt. (a) Write a program that simulates a path for rt by simulating dWt. Assume
Consider the following SDE for the spot rate: drt = σrtdWt.
(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.
(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.
Step by Step Solution
★★★★★
3.33 Rating (159 Votes )
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
a The following code can be used to calculate the expected value of the terminal spot rate using the ... View full answer
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
Document Format (1 attachment)
912-B-F-F-M (5121).docx
120 KBs Word File
