Respuesta :
Answer:
The probability this could occur by chance is approximately 0.003053.
Step-by-step explanation:
This problem can be solved with a binomial distribution, if we imagine that by the end of January the stock market will follow the same pattern for the rest of the year we can define the following random variable:
[tex]X =[/tex] "The stock market will be up for the rest of the year",
and [tex]X = 1[/tex] if by the end of January the stock market is up and [tex]X = 0[/tex] otherwise, this way [tex]X \sim Bin(1,p) \text{ or } X \sim Bernoulli(p)[/tex], where p is the probability of success. Next we can define the following random variable:
[tex]Y =[/tex] "Sum of all years where the stock market was up"
Now, the sum of a Bernoulli random variables is a Binomial random variable, in other words [tex]Y \sim Bin(n,p)[/tex], where n is the number of trials and p is the probability of success. The pdf of Y is given by:
[tex]P(X = k) = \big {n \choose k}p^k(1-p)^{n-k}, \text{ } k \leq n[/tex]
The question give us the [tex]n = 34[/tex], [tex]k = 25[/tex] and [tex]p = 0.5[/tex]. Now we just have to solve it:
[tex]P(X = 25) = \big {34 \choose 25}(0.5)^{25}(1-0.5)^{34-25} = {34 \choose 25}(0.5)^{34} = \\P(X = 25)= 52451256\cdot(0.5)^{34} \approx 0.003053[/tex]
Which is highly unlikely to happen.