Question 11

The price of one share of stock in the Pilsdorff Beer Company (see Exercise 8.2.12) is given by Yn on the nth day of the year. Finn observes that the differences Xn = Yn+1 -Yn appear to be independent random variables with a common distribution having mean u = 0 and variance σ2 = 1/4. If Y1 = 100, estimate the probability that Y365 is

#Question 1 Y365 = 100

mu = 0
sigma = 1/4
Y1 = 100
Y365 = 100

z = (100-100)-0/(sqrt(365)*sqrt(1/4)) # n*mu is zero bcs mu=0
#z

pnorm(q =z, mean = 0, sd = 1, lower.tail = FALSE)
## [1] 0.5
# Question 2 Y365 = 110

z = ((110-100)-0)/(sqrt(365)*sqrt(1/4))
#z

pnorm(q =z, mean = 0, sd = 1, lower.tail = FALSE)
## [1] 0.1475849
# Question 3 Y365 = 120

z = ((120-100)-0)/(sqrt(365)*sqrt(1/4))
#z

pnorm(q =z, mean = 0, sd = 1, lower.tail = FALSE)
## [1] 0.01814355

Question 2

Calculate the expected value and variance of the binomial distribution using the moment generating function.

Moment Generating Function for Binomial Distribution

Moment Generating Function for Binomial Distribution

Question 2

Calculate the expected value and variance of the exponential distribution using the moment generating function.

Moment Generating Function for Exponential Distribution

Moment Generating Function for Exponential Distribution

References