Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help coding the following in r. Consider the following 2-factor model for stock prices with stochastic volatility:{dS_t = rS_t dt + squareroot V_t

I need help coding the following in r.

image text in transcribed

Consider the following 2-factor model for stock prices with stochastic volatility:{dS_t = rS_t dt + squareroot V_t S_t d W^1_t dV_t = alpha (beta - V_t)dt + sigma squareroot V_t dW^2_t where Brownian Motion processes above are correlated: dW^1_t dW^2_t = rho dt, where the correlation rho is a constant in [-1, 1]. Compute the price of a European Call option (via Monte Carlo simulation) that has a strike price of K and matures in T years. Use the following parameters of the model: rho = 0.6, r = 0.03, S_0 = $48, V_0 = 0.05, sigma = 0.42, alpha = 5.8, beta = 0.0625. Use the Full Truncation, Partial Truncation and Reflection methods, and provide 3 price estimates by using the tree methods. Inputs: seed 1, seed 2 outputs: I values: C1, C2, C3 Consider the following 2-factor model for stock prices with stochastic volatility:{dS_t = rS_t dt + squareroot V_t S_t d W^1_t dV_t = alpha (beta - V_t)dt + sigma squareroot V_t dW^2_t where Brownian Motion processes above are correlated: dW^1_t dW^2_t = rho dt, where the correlation rho is a constant in [-1, 1]. Compute the price of a European Call option (via Monte Carlo simulation) that has a strike price of K and matures in T years. Use the following parameters of the model: rho = 0.6, r = 0.03, S_0 = $48, V_0 = 0.05, sigma = 0.42, alpha = 5.8, beta = 0.0625. Use the Full Truncation, Partial Truncation and Reflection methods, and provide 3 price estimates by using the tree methods. Inputs: seed 1, seed 2 outputs: I values: C1, C2, C3

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Finance Accumulation And Monetary Power

Authors: Daniel Woodley

1st Edition

0367338556, 978-0367338558

More Books

Students also viewed these Finance questions

Question

Define OEE.

Answered: 1 week ago