A man who lies a fourth of the time throws a die and says it is a six. What is the probability it is actually a six?
Solution 1:
There are essentially three aspects of the question that I would consider vague:
The probability distribution of the outcome of the die roll is not explicitly stated--so in particular, are we to assume that it is a fair die?
Whether the event that the man lies about the die roll is independent of the true outcome of the die roll is not stated, and the official solution assumes that these events (the roll of the die, and whether the man lies or tells the truth) are independent.
If a six is not rolled and the man lies about the outcome, does the man lie in the sense of choosing any one of the other five numbers available to him, or does he lie in the sense of "I didn't roll a six but I will say I did?"
Item 3 is the real sticking point, since without making the assumptions of Items 1 and 2, no computation can be performed at all. But Item 3 requires us to interpret the meaning of "lie," and more problematically, a fully reasonable computation is possible under a variety of interpretations. To see why, let's make the process a bit more concrete:
- The man rolls the die and observes the number rolled, which is hidden from you.
- The man then flips a fair coin twice and again this outcome is hidden from you. If he gets two heads, he decides to lie; otherwise, he tells the truth.
- If telling the truth, he reports the actual value of the die roll he observed.
Now consider two plausible interpretations of what happens if the man lies:
- (Option A) If he lies, then the value he reports is any value randomly and uniformly chosen from the remaining five possibilities.
- (Option B) If the actual value was a six and he got two heads, then he lies by choosing any other number from $\{1,2,3,4,5\}$; if the actual value was not a six and he got two heads, then he reports $6$.
It is under the interpretation of Option B that the "official" answer is $3/8$. But what about Option A? Let's do the computation. Let $X = 1$ if the true value of the die is six, and $X = 0$ otherwise. Let $Y = 1$ if the reported value of the die is six, and $Y = 0$ otherwise. Let $L = 1$ if the man lies, and $L = 0$ otherwise. Then we know $\Pr[X = 1] = \frac{1}{6}$, $\Pr[L = 1] = \frac{1}{4}$. We also know $$\Pr[Y = 1 \mid X = 1] = \Pr[L = 0] = \frac{3}{4},$$ and $$\Pr[Y = 1 \mid X = 0] = \Pr[Y = 1 \mid (X = 0 \cap L = 1)]\Pr[L = 1] = \frac{1}{5} \cdot \frac{1}{4} = \frac{1}{20},$$ because two things must happen for the man to report a six if no six was rolled: he has to flip two heads (and thus be allowed to lie) with probability $\frac{1}{4}$, and he must randomly and uniformly choose to report six with probability $\frac{1}{5}$. From this, we can now compute $$\begin{align*} \Pr[X = 1 \mid Y = 1] &= \frac{\Pr[Y = 1 \mid X = 1] \Pr[X = 1]}{\Pr[Y = 1]} \\ &= \frac{\Pr[Y = 1 \mid X = 1]\Pr[X = 1]}{\Pr[Y = 1 \mid X = 1]\Pr[X = 1] + \Pr[Y = 1 \mid X = 0]\Pr[X = 0]} \\ &= \frac{\frac{3}{4} \cdot \frac{1}{6}}{\frac{3}{4} \cdot \frac{1}{6} + \frac{1}{20} \cdot \frac{5}{6}} \\ &= \frac{3}{4}. \end{align*}$$ Therefore, the question lacks a critically important clarification: when the man "lies," is the nature of that lie of the form "I rolled a six (but I really did not) / I did not roll a six (but I really did)" (this is Option B), or is it "I rolled a one (but I really did not) / I rolled a two (but I really did not) / etc." (this is Option A)? Which option you choose affects the resulting probability calculation, and you can simulate either scenario to that effect.
Indeed, there are any number of possible interpretations, because ultimately what influences the desired conditional probability is the probability that the man will choose to report a six given that he has decided to lie after not actually rolling a six, and this is not specified in the question. Both options already described yield reasonable interpretations, but we could also recognize them as special cases of the general probability $$\Pr[X = 1 \mid Y = 1] = \frac{3}{3+5p},$$ where $p = \Pr[Y = 1 \mid (X = 0 \cap L = 1)]$. Option A sets $p = 1/5$ (choose uniformly among the other options), and Option B sets $p = 1$ (always choose to report 6).
Consequently, I would regard this question as having insufficient information to formulate a conclusive answer.
Solution 2:
There are two situations in which the man can report a 6, either he is telling the truth or he is lying. The key assumption that seems to be made here is that the man's veracity is independant of the value on the die. Namely, he is just as likely to lie if the die shows a six as if it shows a three.
That being said, as you posted above, this is an example of Bayes Theorem. Let me change your nomenclature a bit.
Let $S$ be the probability of rolling a six $=\frac{1}{6}$
Let $\bar{S}$ be the probability of not rolling a six $=\frac{5}{6}$
Let $T$ be the probability of the man telling the truth, regardless of situation $=\frac{3}{4}$
Let $\bar{T}$ be the probability of the man not telling the truth, regardless of situation $=\frac{1}{4}$
Let $M$ be the probability the man says there was a 6. So what we want is: $$ P(S|M) = \frac{P(S \cap M)}{P(M)} $$
We don't immediately know $M$, true. What we do know is that $M$ comprises two situations: truth and falsity. In other words: $$ P(M) = P(T \cap S) + P(\bar{T} \cap \bar{S}) $$.
We are also luckily working under the assumption that the man's prevarication is independant of the die, so we can calulate $P(M)$ directly from the known $P(S)$ and $P(T)$. $P(S \cap M)$ is the case where the man tells the truth about the rolled six, which is $\frac{3}{4}\cdot\frac{1}{6}$. $P(\bar{S} \cap \bar{M})$ is the case where the man lies about anything other than a rolled six, which is $\frac{1}{4}\cdot\frac{5}{6}$. So the conditional probability of the there being a six, given that the man told us so, is the probability of the true case over the probability of all possible cases where the man says 6: $$ \begin{align} P(S|M) &= \frac{P(S \cap M)}{P(M)}\\ &= \frac{\frac{3}{4}\cdot\frac{1}{6}}{\frac{3}{4}\cdot\frac{1}{6} + \frac{1}{4}\cdot\frac{5}{6}}\\ &=\frac{\frac{3}{24}}{\frac{3 + 5}{24}}\\ &=\frac{3}{8} \end{align} $$