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)
pnorm((100-100), mean = mean, sd = std, lower.tail = FALSE)
## [1] 0.5
pnorm((110-100), mean = mean, sd = std, lower.tail = FALSE)
## [1] 0.1475849
pnorm((120-100), mean = mean, sd = std, lower.tail = FALSE)
## [1] 0.01814355
knitr::include_graphics("HW9_2.jpg")
knitr::include_graphics("HW9_3.jpg")