令事件 TA 表示“A 说真话”。先验 P(TA)=1/3。
设 B 的陈述为“TA”。若 B 说真话(概率 1/3),则他陈述为 TA;若 B 说谎(概率 2/3),则他陈述为 ¬TA。
我们观测到的事件 E 是:C 的话为“B 说 TA”。
在 TA 为真时,E 发生当且仅当(B 真且 C 真)或(B 假且 C 假):
P(E∣TA)=31⋅31+32⋅32=95.
在 TA 为假时,E 发生当且仅当(B 真且 C 假)或(B 假且 C 真):
P(E∣¬TA)=31⋅32+32⋅31=94.
用贝叶斯公式:
P(TA∣E)=31⋅95+32⋅9431⋅95=135.
答案:135。
英文解析
Let event TA denote "A tells the truth". The prior probability is P(TA)=1/3.
Let B's statement be "TA". If B tells the truth (probability1/3), he statesTA; if B lies (probability2/3), he states¬TA.
The observed event E is: C says "B states TA".
When TA is true, E occurs if and only if (B tells the truth and C tells the truth) or (B lies and C lies):
P(E∣TA)=31⋅31+32⋅32=95.
When TA is false, E occurs if and only if (B tells the truth and C lies) or (B lies and C tells the truth):
P(E∣¬TA)=31⋅32+32⋅31=94.
Using Bayes' theorem:
P(TA∣E)=31⋅95+32⋅9431⋅95=135.
Answer: 135.