For this problem, your job is to simulate the stock price St and volatility process V...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
For this problem, your job is to simulate the stock price St and volatility process V under the Heston model dSt = Stdt + StVtdBt, dV = K (0-V)dt + oVidW. = Simulate the Heston model using the following baseline parameters: So 10, Vo = 0.06, l 0.1, K = 5, 00.04, o = 0.5, and the correlation between two Brownian Motions p= -0.6. Simulate from time 0 to T = 10, and use N = 10,000 number of steps. To ensure the reproducibility of your results, you can set random seed in Matlab using rng('default'). = t (a) (5 points) Simulate two Brownian Motions B and W with correlation p= -0.6. Plot both B and W, on the same figure. Make sure you see a negative relationship. t (b) (5 points) Simulate the stock price St and volatility process V using the correlated Brownian Motions B, and Wt you construct in part (a). Once you get V, define = V 100, as the implied volatility in percentage points. Plot the stock price S, and the implied volatility of on the same figure. Make sure you see a negative relationship. (c) (3 points) From the baseline parameters, change to 20. Plot the same figure as in part (b). What differences do you see? Why? (d) (3 points) From the baseline parameters, change p to 0.6. Plot the same figure as in part (b). What differences do you see? Why? For this problem, your job is to simulate the stock price St and volatility process V under the Heston model dSt = Stdt + StVtdBt, dV = K (0-V)dt + oVidW. = Simulate the Heston model using the following baseline parameters: So 10, Vo = 0.06, l 0.1, K = 5, 00.04, o = 0.5, and the correlation between two Brownian Motions p= -0.6. Simulate from time 0 to T = 10, and use N = 10,000 number of steps. To ensure the reproducibility of your results, you can set random seed in Matlab using rng('default'). = t (a) (5 points) Simulate two Brownian Motions B and W with correlation p= -0.6. Plot both B and W, on the same figure. Make sure you see a negative relationship. t (b) (5 points) Simulate the stock price St and volatility process V using the correlated Brownian Motions B, and Wt you construct in part (a). Once you get V, define = V 100, as the implied volatility in percentage points. Plot the stock price S, and the implied volatility of on the same figure. Make sure you see a negative relationship. (c) (3 points) From the baseline parameters, change to 20. Plot the same figure as in part (b). What differences do you see? Why? (d) (3 points) From the baseline parameters, change p to 0.6. Plot the same figure as in part (b). What differences do you see? Why?
Expert Answer:
Answer rating: 100% (QA)
Here is the code to simulate the Heston model and plot the results Set random seed for reproducibili... View the full answer
Related Book For
Posted Date:
Students also viewed these finance questions
-
Q1. You have identified a market opportunity for home media players that would cater for older members of the population. Many older people have difficulty in understanding the operating principles...
-
A three-phase line has an impedance of 1 + j3 per phase. The line feeds a balanced delta-connected load, which absorbs a total complex power of 12 + j5 k VA. If the line voltage at the load end has...
-
This case provided the data necessary to perform a cursory supplier financial analysis. In reality, cross-functional sourcing teams must often obtain this data during their assessment of potential...
-
Describe the characteristics of pluripotent stem cells and the factors that maintain their pluripotency. What are the implications of stem cell research for regenerative medicine ?
-
Air at \(25^{\circ} \mathrm{C}\) flows over a 10 -mm-diameter sphere with a velocity of \(15 \mathrm{~m} / \mathrm{s}\), while the surface of the sphere is maintained at \(75^{\circ} \mathrm{C}\)....
-
Hegy Chocolate is located in Montreal. The company prepares gift boxes of chocolates for private parties and corporate promotions. Each order contains a selection of chocolates determined by the...
-
The average molecular velocity v of a gas in a certain container is given by o(T) = 30T m/s, where T is the temperature in kelvins. The temperature is related to the pressure (in atmospheres) by T =...
-
Beverly Mills has decided to lease a hybrid car to save on gasoline expenses and to do her part to help keep the environment clean. The car she selected is available from only one dealer in the local...
-
After watching "A Class Divided" how do you see culture related to race and racism impact our youngest generations? As an anthropologist, how would you explain to a layperson why racial categories...
-
If one measures the index of refraction to be 1.1, this material would be More dense than vacuum More dense than acrylic More dense than water O Less dense than air
-
A 2000 kg elephant running across the savanna has 100 kJ of kinetic energy, what is its speed? Remember that 1 kJ = 100G-J. a. 7.1 m/s b. 100 m/s c. 5.0 m/s d. 10 m/s
-
Would Gauss's law be helpful for determining the electric field of a dipole? Why?
-
What force must be applied to the end of a rod along the x -axis of length 3.25 m in order to produce a torque on the rod about the origin of 72 N-m? Choose among the available options below. N in...
-
Consider a system that consists of an ideal spring of spring constant k attached to a block of mass m. If we multiply only the amplitude of the system's simple harmonic motion by a factor of 4, then...
-
40,000 units 49,000 units Variable Costs $140,000 ??? Fixed Costs $25,000 ??? Mixed Costs $16,000 ??? Total Costs $181,000 $218,500 Total variable costs at 49,000 units would be:
-
What are the before image (BFIM) and after image (AFIM) of a data item? What is the difference between in-place updating and shadowing, with respect to their handling of BFIM and AFIM?
-
Consider the simple convexity adjustment (Question 3 of Chapter 3) and apply it to the 10-year and 2-year CMS rates setting in 30 years time. (Suppose for this example that both swap rates are...
-
Consider a lognormal Libor Market Model. For simplicity, assume that Libor rates apply over 1y periods. Take current Libor rates to be flat at 3%. Using the discussion on the volatility triangle in...
-
Find P(min 0W t m.
-
Suppose a bond is taxable for both federal and state purposes. Let Rb = the BTROR on the bond, tfed = the federal tax rate, and tst = the state tax rate. Determine the ATROR (i.e., after federal and...
-
Under what conditions are the Exempt Model and Pension Model equivalent? Under what conditions would one model perform better than the other? How does the \($6,500\) limitation on deductible and Roth...
-
Consider three taxpayers who are in the following tax brackets: Alice 25% Brad 35% Camille 40%
Study smarter with the SolutionInn App