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

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

zh_kikiyu · 2024年04月26日

贝叶斯应用

NO.PZ2022062760000012

问题如下:

An analyst is examining a portfolio that consists of 1,000 subprime mortgages and 600 prime mortgages. Of the subprime mortgages, 200 are late on their payments. Of the prime mortgages, 48 are late on their payments. If the analyst randomly selects a mortgage from the portfolio and it is currently late on its payments, what is the probability that it is a subprime mortgage?

选项:

A.

60%

B.

67%

C.

75%

D.

81%

解释:

中文解析:

首先计算任何一个mortgage late的概率

P(Mortgage is late) = (200+48)/(1000+600) = 15.5%

利用贝叶斯公式:

P(Subprime mortgage | Mortgage is late) = P(Subprime mortgage and late)/P(Mortgage is late).

已知:

P(Subprime mortgage and late) = 200/1600 = 12.5%;

得:

P(Subprime mortgage | Mortgage is late) = 12.5% / 15.5% = 0.81 = 81%

In order to solve this conditional probability question, first calculate the probability that any one mortgage in the portfolio is late.

This is: P(Mortgage is late) = (200+48)/(1000+600) = 15.5%.

Next, use the conditional probability relationship as follows:

P(Subprime mortgage | Mortgage is late) = P(Subprime mortgage and late)/P(Mortgage is late).

Since P(Subprime mortgage and late) = 200/1600 = 12.5%;

P(Subprime mortgage | Mortgage is late) = 12.5% / 15.5% = 0.81 = 81%.

Hence the probability that a random late mortgage selected from this portfolio turns out to be subprime is 81%.

这个题目的解题思路是不是和这个一样,都可以用贝叶斯,为什么算出来的结果不一样

1 个答案

pzqa39 · 2024年04月27日

嗨,爱思考的PZer你好:


同学你好,你发送的题号和正文里面的题目是同一道题,是哪里算出来的结果不一样呢?


这道题需要用到贝叶斯公式:


P(A|B) = P(AB) / P(B),这里P(AB)就是某个贷款既属于A又属于B的概率,只有200个样本是既属于A有属于B。P(AB)=200/1600=12.5%,

而P(B)是B发生的概率,也就是某个贷款late on payments的概率,一共是248个late的,所以P(B)=248/1600=15.5%,

所以P(A|B) = P(AB)/(PB) = 12.5%/15.5% = 81%.

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