# Question: Suppose you believe that the price of a particular stock

Suppose you believe that the price of a particular stock goes up each day with probability p and goes down with probability 1 - p. You also believe the daily price changes are independent of one another. However, you are not sure of the value of p. Based on your current information; you believe p could be 0.40, 0.45, 0.50, or 0.55, with probabilities 0.15, 0.25, 0.35, and 0.25, respectively. Then you watch the stock price changes for 25 days and observe 12 ups and 13 downs.

Use Bayes’ rule to find the posterior distribution of p. Based on this posterior distribution, calculate the probability that there will be at least 15 ups in the next 30 price changes.

Use Bayes’ rule to find the posterior distribution of p. Based on this posterior distribution, calculate the probability that there will be at least 15 ups in the next 30 price changes.

## Answer to relevant Questions

The file P02_07.xlsx includes data on 204 employees at the (fictional) company Beta Technologies. For this problem, consider this data set as the population frame.a. Using the method in this section (not StatTools), generate ...Another type of random sample is called a bootstrap sample. Given a data set with n observations, a bootstrap sample, also of size n, is when you randomly sample from the data set with replacement. To do so, you keep ...Suppose you plan to take a simple random sample from a population with N members. Specifically, you plan to sample a percentage p of the population. If p is 1%, is the finite population correction really necessary? Does the ...The file P08_06.xlsx contains data on repetitive task times for each of two workers. John has been doing this task for months, whereas Fred has just started. Each time listed is the time (in seconds) to perform a routine ...The employee benefits manager of a large public university would like to estimate the proportion of full-time employees who prefer adopting the first (plan A) of three available health care plans in the next annual ...Post your question