Answer:
The probability that the missed class is because she order cookies last night is 0.83.
Step-by-step explanation:
Events:
C: order cookies
NC: not order cookies
M: missed class
Then we know:
P(C)=0.40
P(M|C)=0.75
P(M|NC)=0.10
We need to calculate the probability that the missed class is because she order cookies P(C|M).
According to the Bayes theorem, we have
[tex]P(C|M)=\frac{P(M|C)P(C)}{P(M)}= \frac{P(M|C)P(C)}{P(M|C)P(C)+P(M|NC)P(NC)} \\\\\\P(C|M)=\frac{0.75*0.40}{0.75*0.40+0.10*0.60}=\frac{0.30}{0.30+0.06}=\frac{0.30}{0.36}= 0.83[/tex]
The probability that the missed class is because she order cookies last night is 0.83.