开发者:上海品职教育科技有限公司 隐私政策详情

应用版本:4.2.11(IOS)|3.2.5(安卓)APP下载

梦梦 · 2024年01月31日

贝叶斯公式分母的推导

NO.PZ2018122801000005

问题如下:

Half of the mortgages in a portfolio are considered subprime. The principal balance of half of the subprime mortgages and one-quarter of the non-subprime mortgages exceeds the value of the property used as collateral. If you randomly select a mortgage from the portfolio for review and its principal balance exceeds the value of the collateral, what is the probability that it is a subprime mortgage?

选项:

A.

1/4

B.

1/3

C.

1/2

D.

2/3

解释:

D is correct.

考点 Bayes' formula

解析 Assume: A = event that the loan is subprime, B = event that the face value of the loan exceeds that the property

P(A) = 1/2, P(A’) = 1/2, P(B|A) = 1/2, P(B|A’) = 1/4

P(A|B) = P(B|A)*P(A)/[P(B|A)*P(A) + P(B|A’)*P(A’)]

P(A|B) = (1/2 * 1/2) / (1/2 * 1/2 + 1/4 * 1/2) = (1/4) / (1/4 + 1/8) = (1/4)/(3/8) = 8/12 = 2/3


还是同样的问题,分母的P(B)为什么等于红线?如何推导出来的?

1 个答案

pzqa39 · 2024年01月31日

嗨,努力学习的PZer你好:


分母是全概率公式,可以参考上图。

全概率公式的推导过程:

P(A)=P(AB1)+P(AB2)+....+P(ABi),这是第一个已知公式

由条件概率可知P(AB1)=P(A)P(B1|A)=P(B1)P(A|B1),这是第二个已知公式

把公式2代入公式1

P(A)=P(B1)P(A|B1)+P(B2)P(A|B2)+...+P(Bi)P(A|Bi)就可以得到全概率公式了

----------------------------------------------
就算太阳没有迎着我们而来,我们正在朝着它而去,加油!