I am working on the following problem:
A school serves orange juice on Thursdays and milk every other day. It is warm outside 70% of the time, Harry is only happy when orange juice is served or it is warm outside. Harry is happy today. What is the probability today is a warm Thursday?
I think this might be an application of Bayes' theorem? (I could be wrong) But I cannot get beyond formulating the following: $$P(\text{Warm Thursday} | \text{Happy}) = \frac{P(\text{Happy} | \text{Warm Thursday})P(\text{Warm Thursday})}{P(\text{Happy})}$$
I believe $P(Warm) = 0.7$ but I don't know where to go from here working out the rest, any help would be great, thanks.
I'm assuming that we're talking about the whole week (7 days), not the school week (5 days). Assuming independence: $$P(\text{Warm Thursday}) = P(\text{Warm}) \times P(\text{Thursday}) = 7/10 \times 1/7 = 0.1$$ Then, assuming Harry is always happy when it's warm: $$P(\text{Happy} | \text{Warm Thursday}) = 1$$ Finally, what's the prior probability of him being happy? Use marginalization $$P(\text{Happy}) = P(\text{Happy on Monday}) + P(\text{Happy on Tuesday}) \ + \ ...= 1/7 + 6 \times 1/7 \times 0.7$$
Note that the probability of being happy on Thursday is the probability of Thursday itself since we know he's happy on Thursday.
Use Bayes Rule to combine the results.