由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - 两道面试题: 概率和逻辑
相关主题
两道概率面试题两道面试题,请大家说说看法
两道题问两道Google面试题
贡献两道面试的概率题。问两道amazon的面试题
[合集] 【讨论】两道非常难的Google面试题贡献两道google面试题
两道面试题贴两道面试题
分享两道面试题--求教高手两道面试题
两道面试题急问两道面试题
求教两道面试题两道面试题求解
相关话题的讨论汇总
话题: diabetes话题: positive话题: ab话题: suppose话题: test
进入JobHunting版参与讨论
1 (共1页)
a***o
发帖数: 118
1
1. suppose that 5% of people of your age and heredity have diabetes.
Suppose that a blood test has been developed that correctly gives a positive
test result in 80% of people with diabetes, and gives a false positive in
20% of the cases of people without diabetes. Suppose you take the test, and
it is positive. What is the probability that you actually have diabetes,
given the positive result?
我怎么觉得和5%无关呢?
x****r
发帖数: 99
2
有关系的, 假设
A: 得了糖尿病
B: 测试阳性
P(A) = 0.05;
P(B|A) = 0.8;
P(B|^A) = 0.2;
P(AB) = P(B|A) * P(A) = 0.8 * 0.05 = 0.04;
P(^AB) = P(B|^A) * P(^A) = 0.2 * 0.95 = 0.19;
P(B) = P(AB) + P(^AB) = 0.23;
现在求P(A|B) = P(AB) / P(B) = 0.04 / 0.23 = 4/23
P(A|B)就是测试阳性下你得糖尿病的概率
上课这样教的,不对请指正 :P

positive
positive in
test, and
diabetes,

【在 a***o 的大作中提到】
: 1. suppose that 5% of people of your age and heredity have diabetes.
: Suppose that a blood test has been developed that correctly gives a positive
: test result in 80% of people with diabetes, and gives a false positive in
: 20% of the cases of people without diabetes. Suppose you take the test, and
: it is positive. What is the probability that you actually have diabetes,
: given the positive result?
: 我怎么觉得和5%无关呢?

a***o
发帖数: 118
3
哦, 对哦, 应该是条件概率
1 (共1页)
进入JobHunting版参与讨论
相关主题
两道面试题求解两道面试题
我招两位 experienced Java developers 和 两位QA分享两道面试题--求教高手
两道简单的面试题两道面试题
请教两道面试题求教两道面试题
两道概率面试题两道面试题,请大家说说看法
两道题问两道Google面试题
贡献两道面试的概率题。问两道amazon的面试题
[合集] 【讨论】两道非常难的Google面试题贡献两道google面试题
相关话题的讨论汇总
话题: diabetes话题: positive话题: ab话题: suppose话题: test