0

I want to solve the following:

During exam time, in a certain school, only 25% of the teachers warn their students in writing that they are not allowed to stand up and ask questions during the test. However, it has been observed that despite this warning, 20% of students do so. For mentors who do not provide such a warning, the corresponding figure is 70%. If during a test given by teacher X, an inspector bursts into the room and observes that there are students breaking the rule, what is the probability that the teacher did not warn in writing that it is forbidden to ask questions in the exams?

I asked about this exercise a few days ago, the link to that post is this one

In short, the answer was:

Let $A$ be the event that a teacher warns their students in writing about the rule. Let $B$ be the event that students get up to ask questions during the exam. We are given:

  • $P(A) = 0.25$, which is the probability that a teacher gives a written warning.
  • $P(A^c) = 0.75$, which is the probability that a teacher does not give a written warning
  • $P(B|A) = 0.20$, which is the probability that students get up to ask questions given that they were warned.
  • $P(B|A^c) = 0.70$, which is the probability that students get up to ask questions given that they were not warned.

We want to find $P(A^c|B)$, the probability that a teacher did not warn in writing, given that students are observed breaking the rule.

Bayes' Theorem is given by:

$$P(A^c|B) = \frac{P(B|A^c) \cdot P(A^c)}{P(B)}$$

To find $P(B)$, we need to calculate the total probability of students getting up to ask questions, which is:

$$P(B) = P(B|A) \cdot P(A) + P(B|A^c) \cdot P(A^c)= 0.20 \times 0.25 + 0.70 \times 0.75$$

So, we obtained that $P(A^c \mid B) \approx 0.538 $

BUT I came across the same exercise in a book, and they assume that the answer is $0.9130$ My question is, who is wrong, the book or me? I appreciate your help

jgd1729
  • 435
Wrloord
  • 1,626
  • Related. https://math.stackexchange.com/questions/2279851/applied-probability-bayes-theorem/2279888#2279888 There are many links to Bayes questions next to this one. Have you checked them? – Ethan Bolker Feb 29 '24 at 01:30
  • I see that there are problems of a certain relationship, but I don't see my reasoning wrong, so I don't believe that the book's answer is completely true, that's my big doubt. – Wrloord Feb 29 '24 at 02:25
  • 2
    I don't see how you got 0.538. Doing the calculations exactly as you state them, I get $P(B)=0.575$ and $P(A^c|B) = 0.7 \times 0.75/0.575 = 0.9130$ – jgd1729 Feb 29 '24 at 04:00
  • @jgd1729 Absolutely right, it was a subtle miscalculation, thanks for the help! – Wrloord Feb 29 '24 at 04:17

0 Answers0