Assignment # 9

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 µ = 0 and variance σ2 = 1/4. If Y1 = 100, estimate the probability that Y365 is

mean <- 0
var <- (1/4)
std <- sqrt(var * 365)
  1. ≥ 100
pnorm((100-100), mean = mean, sd = std, lower.tail = FALSE)
## [1] 0.5
  1. ≥ 110
pnorm((110-100), mean = mean, sd = std, lower.tail = FALSE)
## [1] 0.1475849
  1. ≥ 120
pnorm((120-100), mean = mean, sd = std, lower.tail = FALSE)
## [1] 0.01814355
  1. Calculate the expected value and variance of the binomial distribution using the moment generating function.
knitr::include_graphics("HW9_2.jpg")

  1. Calculate the expected value and variance of the exponential distribution using the moment generating function.
knitr::include_graphics("HW9_3.jpg")