Exercise 13.3 · Q4: Knows or guesses: knew the answer, given it is correct,
In answering a question on a multiple choice test, a student either knows the answer or guesses. Let be the probability that he knows the answer and be the probability that he guesses. Assuming that a student who guesses at the answer will be correct with probability . What is the probability that the student knows the answer given that he answered it correctly?
Let : the student knows the answer, : the student guesses the answer, and : the answer is correct.
and form a partition of the sample space (he either knows or guesses).
and
A student who knows the answer answers correctly, so . Also .
By the theorem of total probability,
By Bayes' theorem,
The probability that the student knows the answer, given that it is correct, is .
Want the reason behind every step, the basics and the checks?
A correct answer can come from knowing or from a lucky guess. Knowing always gives a correct answer, while guessing rarely does, so a correct answer is strong evidence that the student knew. Bayes' theorem measures how strong: the "knows" route to a correct answer, divided by both routes together.
- Given
- The student knows the answer with probability and guesses with probability ; a guess is correct with probability . Not written, but meant: a student who knows the answer gives the correct answer.
- To find
- The probability that he knew the answer, given that his answer is correct: .
- Plan
- (1) Name the events; check the partition. (2) List the four probabilities, including . (3) Total probability for . (4) Bayes' theorem.
Basics you need
If knowing the answer always leads to a correct answer, then . Basics: rules of probability
"A student who guesses will be correct with probability " is a statement about guessers only: . Lesson: conditional probability
For a partition : and . Lesson: Bayes' theorem
, so ; dividing by is multiplying by . Basics: dividing by a fraction
Solution
Name the events
Let
- : the student knows the answer;
- : the student guesses the answer;
- : the student answers the question correctly.
and form a partition of the sample space: the question says he "either knows the answer or guesses", so exactly one happens, and .
Knowing and guessing are the two possible causes; a correct answer is the result we observe. Bayes' theorem works backwards from the result to the cause.Partition: pairwise disjoint, exhaustive, nonzero probabilities (Section 13.5.1). Lesson: Bayes' theoremThe four probabilities
The first three come straight from the question. is not printed, but it is what "knows the answer" means: a student who knows the answer marks it correctly. The book's answer uses this value too (Step 4).A certain event has probability 1. Basics: rules of probabilityThe chance of a correct answer
Since and form a partition, by the theorem of total probability
The tree for Question 4. Knowing leads to a correct answer every time (the rose path, ); guessing leads to a correct answer only a quarter of the time (the green path, ). A correct answer comes either from knowing or from a lucky guess; these two routes cannot both happen, so their path probabilities add.Multiply along a path, add the paths. Basics: tree diagramsKnew it, given it is correct: Bayes' theorem
By Bayes' theorem,
The top is the "knows" path, ; the bottom is every route to a correct answer, . Out of every 13 correct answers, on average 12 come from knowing and 1 from a lucky guess.Dividing by a fraction is multiplying by its flip. Basics: dividing by a fractionA quick sense check
The guess route gets the rest: , and . The correct answer raised the chance that he knew from to .
A correct answer is more likely after knowing than after guessing (1 against ), so seeing it must make "knows" more likely, never less.for a partition. Lesson: Bayes' theorem
The probability that the student knows the answer, given that he answered it correctly, is . (Textbook answer: .)
Picture 64 students answering the question. of them, 48, know the answer and are all correct. The other 16 guess, and of them, 4, are lucky. So answers are correct and 48 of these came from knowing: , the same as .
- Answering . That is , the chance before we know the answer was correct. The correct answer is extra information, and it changes the chance.
- Leaving out . It is not printed, but it is needed: it equals 1, because a student who knows marks the right answer.
- Using as . is the chance of a correct guess only; overall a correct answer has probability .
- Look for probabilities that the question leaves unsaid but means, such as "knows the answer" giving . State them in your answer.
- A result that is much more likely under one cause (here 1 against ) pushes the probability of that cause up.
- Book Example 18 and Question 5 show the opposite effect: a rare cause stays fairly unlikely even after a positive test.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Partition of a sample space | Step 1 | Section 13.5.1 (Lesson: Bayes' theorem) |
| A certain event has probability 1 | Step 2 | Class XI axioms (Basics: rules of probability) |
| Conditional probability | Step 2 | Section 13.2 (Lesson: conditional probability) |
| Theorem of total probability | Step 3 | Section 13.5.2 (Lesson: Bayes' theorem) |
| Bayes' theorem | Steps 4, 5 | Section 13.5 (Examples 15 to 21) |
| Dividing by a fraction | Step 4 | Arithmetic (Basics: dividing by a fraction) |
Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →