Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

7. (book # 3.7) A simple model of the stock market suggests that, each day, a stock with price & will increase by a factor

image text in transcribed
image text in transcribed
7. (book # 3.7) A simple model of the stock market suggests that, each day, a stock with price & will increase by a factor > > 1 to er with probability p and will fall to x/r with probability q = 1-p. Assuming we start with a stock with price Xo = 1, find a formula for the expected value E(X,) and the variance Var(X) of the price Xy of the stock after d days. That is, Xy is the stock price after d changes (increase or decrease). Hint: Let Y = number of days when the price increases. Then Y ~ Bin(d, p) and Xd = ry . (1/r)d-Y. To evaluate the expression for E(X), use the binomial theorem (see lecture #3.4). You can state the binomial theorem as I Came = (a + 6)n (why?). 7a. Evaluate your solution for E(X) for d = 60, r = 1.05 and p = 0.6, E(XJ) = 7b. Evaluate your solution for Var(X) for d = 60, r = 1.05 and p = 0.6, Var( Xd) = 8. (book #3.8) Suppose that we have an algorithm that takes as input a string of n bits. We are told that the expected running time is O(n') if the input bits are chosen independently and uniformly at random. That is. letting X, denote the running time with an input of size n, E(X,) 0 and Pr(X, = x,) 2 2-" (2, since more than one sequence might have a given running time I, ). What can Markov's inequality tell us about the worst-case running time a$ of this algorithm on inputs of size n? Nothing to turn in

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

Sacred Mathematics Japanese Temple Geometry

Authors: Fukagawa Hidetoshi, Tony Rothman, Freeman Dyson

1st Edition

1400829712, 9781400829712

More Books

Students also viewed these Mathematics questions

Question

Speak clearly and distinctly with moderate energy

Answered: 1 week ago

Question

Get married, do not wait for me

Answered: 1 week ago

Question

Do not pay him, wait until I come

Answered: 1 week ago