Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The function simulate_VaR is supposed to, given the stock's drift rate and volatility, simulate stock returns for a certain number of trials and at the

The function simulate_VaR is supposed to, given the stock's drift rate and volatility, simulate stock returns for a certain number of trials and at the specified time horizon in years. It should then return the VaR for the stock by locating the correct percentile from the simulated stock returns. The second block of code tries to use this function on a stock with an annual drift rate of .05 and annual volatility of .1, and wants to simulate the VaR at 5% at a 10 year time horizon and using 100 trials. (Hint: the answer should be -.08118566).

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

Behavioral Finance And Asset Prices

Authors: David Bourghelle, Pascal Grandin, Fredj Jawadi, Philippe Rozin

1st Edition

3031244850, 978-3031244858

More Books

Students also viewed these Finance questions

Question

What is the difference between skimming and scanning?

Answered: 1 week ago

Question

What are the APPROACHES TO HRM?

Answered: 1 week ago