由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Quant版 - an interview question of probability
相关主题
问个likelihood以及无偏估计的问题。弱问。[合集] probability 问题
A random walk problem.a random walk problem
求教一个random walk题A probability question
[合集] 请教一个ramdom walk踢我总结了两个基本题目大家帮我看看对不对
[合集] 问个概率题 (转载)one questions
[合集] 问个概率题A probability problem
one probability question一道概率题目 (转载)
[合集] Quant interview probability question[分享]牛人整理的统计学教材(转载)
相关话题的讨论汇总
话题: question话题: interview话题: d7话题: drawers
进入Quant版参与讨论
1 (共1页)
m****r
发帖数: 141
1
This is an interview question of probability. The interview has been done.
In a room, there are 8 drawers in a desk, a man put a letter into one of
them with 50% randomly. After that, you enter the room, if drawers from 1 to
7 have been opened to show they are empty, what is probability of the 8th
drawer has a letter ?
My idea:
this is a conditional probability question and can be solved by Bayes
formula.
But, I got result 14/29 different from interviewer's answer.
Any help will be appreciated.
thanks
x*****t
发帖数: 353
2
P(d8=1|d1=0...d7=0) = ?
P(d8=1|d1=0,...d7=0) * P(d1=0,...d7=0) = P(d8=1,d1=0,...d7=0)=(1/2) * (1/8)=
1/16
P(d1=0,...d7=0) = P(d1=0,...d7=0,d8=0) + P(d1=0,...d7=0,d8=1)
= 1/2 + (1/2)*(1/8) = 9/16
So my answer is 1/9

to

【在 m****r 的大作中提到】
: This is an interview question of probability. The interview has been done.
: In a room, there are 8 drawers in a desk, a man put a letter into one of
: them with 50% randomly. After that, you enter the room, if drawers from 1 to
: 7 have been opened to show they are empty, what is probability of the 8th
: drawer has a letter ?
: My idea:
: this is a conditional probability question and can be solved by Bayes
: formula.
: But, I got result 14/29 different from interviewer's answer.
: Any help will be appreciated.

c**********e
发帖数: 2007
3
correct.

)=

【在 x*****t 的大作中提到】
: P(d8=1|d1=0...d7=0) = ?
: P(d8=1|d1=0,...d7=0) * P(d1=0,...d7=0) = P(d8=1,d1=0,...d7=0)=(1/2) * (1/8)=
: 1/16
: P(d1=0,...d7=0) = P(d1=0,...d7=0,d8=0) + P(d1=0,...d7=0,d8=1)
: = 1/2 + (1/2)*(1/8) = 9/16
: So my answer is 1/9
:
: to

a*****k
发帖数: 704
4
not quite understand "a man put a letter into one of
to
s******u
发帖数: 676
5
what is the 50% mean here?

to

【在 m****r 的大作中提到】
: This is an interview question of probability. The interview has been done.
: In a room, there are 8 drawers in a desk, a man put a letter into one of
: them with 50% randomly. After that, you enter the room, if drawers from 1 to
: 7 have been opened to show they are empty, what is probability of the 8th
: drawer has a letter ?
: My idea:
: this is a conditional probability question and can be solved by Bayes
: formula.
: But, I got result 14/29 different from interviewer's answer.
: Any help will be appreciated.

c**********e
发帖数: 2007
6
With 50% probability, the ball is put in one of the 8 draws.

【在 a*****k 的大作中提到】
: not quite understand "a man put a letter into one of
: to

r****t
发帖数: 10904
7
agreed

)=

【在 x*****t 的大作中提到】
: P(d8=1|d1=0...d7=0) = ?
: P(d8=1|d1=0,...d7=0) * P(d1=0,...d7=0) = P(d8=1,d1=0,...d7=0)=(1/2) * (1/8)=
: 1/16
: P(d1=0,...d7=0) = P(d1=0,...d7=0,d8=0) + P(d1=0,...d7=0,d8=1)
: = 1/2 + (1/2)*(1/8) = 9/16
: So my answer is 1/9
:
: to

e*********r
发帖数: 80
8
1/9 agleed
x**********2
发帖数: 169
9
1/9
S******a
发帖数: 1426
10
楼上的都好聪明,我算了两遍才算到1/9,都忘光了
k***t
发帖数: 33
11
Conditional probability gives 1/9, but suppose we conduct the experiment one
million times, and each time the opened 7 drawers are empty, what is the
expected number
of times that one finds the ball in the 8th drawer? Confused.
d**0
发帖数: 124
12
could you explain why P(d1=0,...d7=0) = 1/8? thx

)=

【在 x*****t 的大作中提到】
: P(d8=1|d1=0...d7=0) = ?
: P(d8=1|d1=0,...d7=0) * P(d1=0,...d7=0) = P(d8=1,d1=0,...d7=0)=(1/2) * (1/8)=
: 1/16
: P(d1=0,...d7=0) = P(d1=0,...d7=0,d8=0) + P(d1=0,...d7=0,d8=1)
: = 1/2 + (1/2)*(1/8) = 9/16
: So my answer is 1/9
:
: to

n****e
发帖数: 629
13
假设有16个抽屉,立得1/9

to

【在 m****r 的大作中提到】
: This is an interview question of probability. The interview has been done.
: In a room, there are 8 drawers in a desk, a man put a letter into one of
: them with 50% randomly. After that, you enter the room, if drawers from 1 to
: 7 have been opened to show they are empty, what is probability of the 8th
: drawer has a letter ?
: My idea:
: this is a conditional probability question and can be solved by Bayes
: formula.
: But, I got result 14/29 different from interviewer's answer.
: Any help will be appreciated.

d******w
发帖数: 102
14
这个真是神解法,膜拜大牛

【在 n****e 的大作中提到】
: 假设有16个抽屉,立得1/9
:
: to

1 (共1页)
进入Quant版参与讨论
相关主题
[分享]牛人整理的统计学教材(转载)[合集] 问个概率题 (转载)
another interview question[合集] 问个概率题
【Stats】问个经典概率题one probability question
an interview question confused me.[合集] Quant interview probability question
问个likelihood以及无偏估计的问题。弱问。[合集] probability 问题
A random walk problem.a random walk problem
求教一个random walk题A probability question
[合集] 请教一个ramdom walk踢我总结了两个基本题目大家帮我看看对不对
相关话题的讨论汇总
话题: question话题: interview话题: d7话题: drawers