由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - 问个概率题
相关主题
请问大牛一道题多长时间收到电面或onsite通知?
概率题。。。没绿卡 申请飞机Aviation方向的工作可以么? 如果转行,选什么?谢
一道高级data scientist的题,请教important question about H1B
An interview question这样的position值得去么
请教个概率题我给出个题吧
求问个被lay的问题急问:身份很快要不保,可能推迟最后的PAYCHECK吗?
An online coding test problem快离开现在的工作了,退休基金这块如何处理?
H1B的名额能roll over到下一年吗?请问一下ssn
相关话题的讨论汇总
话题: rolls话题: pr话题: add话题: roll
进入JobHunting版参与讨论
1 (共1页)
D****6
发帖数: 278
1
在别的版看到的。看着简单,那边还没确切答案呢。
We roll a 3 sided dice 100 times. The faces have values 1, 2 and 3. What is
the probability that no 3 consecutive rolls add up to 4?
E*******0
发帖数: 465
2
题目有点坳口。
D****6
发帖数: 278
3
连续三个add up to 4的几率是 1/9。怎么考虑这100次呢?
o******e
发帖数: 1001
4
是不是就是等同与问,仍100次,出现连续 1 1 1的概率?
如果这样,另P(100)为仍100次出现的个概率,有,
P(100)=2/3*P(99)+1/3(1/3(1/3+2/3*P(97))+2/3*P(98))
=1/27+2/27*P(97)+2/9*P(98)+2/3*P(99)
比如:
P(0)=P(1)=P(2)=0;
p(3)=1/27;
p(4)=1/27+2/3*1/27=5/81
....

is

【在 D****6 的大作中提到】
: 在别的版看到的。看着简单,那边还没确切答案呢。
: We roll a 3 sided dice 100 times. The faces have values 1, 2 and 3. What is
: the probability that no 3 consecutive rolls add up to 4?

x*********s
发帖数: 2604
5
这个可以类比成某个股票连续100天的交易量,连续三天交易量相加低于某个值的概率
是多少,挺有现实意义的题。。。
a**j
发帖数: 60
6
小于1.82%
a**j
发帖数: 60
7
Pr(no 3 consecutive rolls add up to 4)=1-Pr(any 3 consecutive rolls of 100
rolls add up to 4)
(1)For exactly 3 rolls, 3 consecutive rolls add up to 4:
it must be any combination of {1,1,2}s
so Pr (3 consecutive rolls add up to 4,for exactly 3 rolls)=1/9
(2) Let only consider independent cases
Pr (sum of roll 1, 2, 3 =4)=1/9
Pr (sum of roll 4, 5, 6 =4 and sum of roll 1, 2, 3 not equal to 4)=(1/9)*(8/
9)
...
pr (sum of roll 97, 98, 99 =4 and all previous independent 3 rolls not equal
to 4)= (1/9)*(8/9)^32
For all 33 independent consecutive 3 rolls, Pr of any consecutive add up to
4 is:
(1/9)*(1+8/9+(8/9)^2+...+(8/9)^32)=(1/9)*9*(1-(8/9)^33)=0.98
So Pr(any 3 consecutive rolls of 100 rolls add up to 4)>0.98
Pr(no 3 consecutive rolls add up to 4)<0.02
a**j
发帖数: 60
8
result of highly correlated consecutive 3 rolls are hard to calculate
Since for example roll 2,3,4 are dependent on the results of roll 1,2,3 roll
3,4,5 and roll 4,5,6
So it will take a bit of time to compute exact probability.
But in most cases 0
s*****w
发帖数: 1017
9
马农门的数学啊。。。能算出小于2%就算decent的结果了
a**j
发帖数: 60
10
since the 8/9 is the the Probability excluding the prior consecutive 3 rolls
having sum of 4, therefore we can calculate the exact probability of any 3
consecutive rolls of 100 rolls add up to 4
By the previous statement we have:
Pr(any 3 consecutive rolls of 100 rolls add up to 4)
=(1/9)*(1+8/9+(8/9)^2+...+(8/9)^97)=(1/9)*9*(1-(8/9)^98)
=0.9999903
Therefore Pr(no 3 consecutive rolls add up to 4)=1-0.9999903=0.0000097
a**j
发帖数: 60
11
Regular dice should be 6 sided with value of 1, 2,3 4,5,6
in this case rolling 100 times
Pr(any of 3 consecutive rolls add up to 4)
=(1/72)*72*(1-(71/72)^98)=0.746
Pr(no 3 consecutive rolls add up to 4)=0.254
it is geometric series
1 (共1页)
进入JobHunting版参与讨论
相关主题
请问一下ssn请教个概率题
Re: 有在AMAZON的吗, 问个办绿卡的事求问个被lay的问题
大家预计H1B何时用完?An online coding test problem
工作机会H1B的名额能roll over到下一年吗?
请问大牛一道题多长时间收到电面或onsite通知?
概率题。。。没绿卡 申请飞机Aviation方向的工作可以么? 如果转行,选什么?谢
一道高级data scientist的题,请教important question about H1B
An interview question这样的position值得去么
相关话题的讨论汇总
话题: rolls话题: pr话题: add话题: roll