Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use R Studio code to answer the questions please provide the code for the answer to the following questions. 1.There is 40% chance that the

Use R Studio code to answer the questions please provide the code for the answer to the following questions.

1.There is 40% chance that the value of an companys stock goes up by 75 USD and 40% chance that it will not change and 20% chance that it will go down by 30 USD. Plot the probability distribution of average return on this stock for 80 trading days. What is the value of your expected return assuming that the number of trading days is sufficiently large? In plain English, explain what it means to have this value of expected return.

2.What is the variance in your return? Plot the variance as a function of the number of trading days (Hint: I am asking about the variance in return not the variance in average return. Be careful when you are changing the code).

3.Repeat the analysis in question 1 for 800 trading days instead of 80. How does the expected value (mean) and variance (of the return not the average return) change?

4.Suppose the probabilities of going up, remaining constant and going down are (40%, 30%, 30%), how do the expected value and variance change for 120 trading days? How do they change for 1200 trading days?

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

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2017 Skopje Macedonia September 18 22 2017 Proceedings Part 3 Lnai 10536

Authors: Yasemin Altun ,Kamalika Das ,Taneli Mielikainen ,Donato Malerba ,Jerzy Stefanowski ,Jesse Read ,Marinka Zitnik ,Michelangelo Ceci ,Saso Dzeroski

1st Edition

3319712721, 978-3319712727

More Books

Students also viewed these Databases questions