由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - 一个游戏中的概率题。
相关主题
问关于在药厂做health economics outcome research关于Positive definite一问。谢谢指点。
如何找出没有duplicate的数字[done]问一个Model的问题
questions about a SAS codeAnyone know one-sample test method for survival data
A question on Stat请教一个time series的问题
GlaxoSmithKline is looking for a Manager, Applied Outcomes & Analysis.一个好机会,大药厂biostatistician!
招 SAS Programmer (转载)Poisson and Binomial
competing risks models with correlated outcomes请教如何用proc glimmix 分析 repeated measures with binary outcome.
Job: Consultant in Pharmacoeconomics and Outcomes Research (转载)问个multicollinearity 的问题,inSAS - fresh水平,谢谢帮助!
相关话题的讨论汇总
话题: 12话题: balls话题: line话题: outcomes话题: them
进入Statistics版参与讨论
1 (共1页)
b*******t
发帖数: 390
1
有一个5×5共25个方格的盘子,往里面扔小皮球,因为小皮球比每个格子小一点,而且
弹性好,容易滚动,所以假设每次都有一个小皮球能进入到一个格子中(也不可能一个
格子出现多个球),
共有12个小皮球,25个方格中,任意五个球在一条直线或斜线上,就中奖了!
请问:中奖的概率有多大?
w******o
发帖数: 578
2
(12*nchoosek(20,7)-nchoosek(12,2)*nchoosek(15,2))/nchoosek(25,12)=0.1775
h********y
发帖数: 540
3
我的理解是,这个方格子总共12条线,每条线有5个格子,如果有5个球在一条线上,那
么有12种可能,而另外7个球会在剩下的20个方格里的任何方格,会有(20,7)个组合
。12个球在25个格子上的组合是(25,12),那么中奖概率就是12*(20,7)/(25,
12)=0.17888,excel算的

【在 b*******t 的大作中提到】
: 有一个5×5共25个方格的盘子,往里面扔小皮球,因为小皮球比每个格子小一点,而且
: 弹性好,容易滚动,所以假设每次都有一个小皮球能进入到一个格子中(也不可能一个
: 格子出现多个球),
: 共有12个小皮球,25个方格中,任意五个球在一条直线或斜线上,就中奖了!
: 请问:中奖的概率有多大?

a*********h
发帖数: 71
4
Let A_i, for 1<=i<=12, be the set of outcomes with the five squares on th i-
th line filled with 5 balls. We need to compute |A_1 U A_2 U ... U A_12|. We
notice that the intersection of any four or more above different sets is
always empty since there are no any outcomes with 12 balls appearing on four
or more lines. However, there are outcomes with 12 balls appearing on three
or less lines; for instance, 12 balls can appear on two columns and one row
.
For the outcomes with 12 balls appearing on three lines, there are 2*C(5,2)*
C(5,1) of them with either two rows and one column or two columns and one
row, there are 2*C(5,1)*C(4,1) of them with one row and one column and one
diagonal, and there are 8 of them with two diagonals and one row/column.
For the outcomes with at least two lines, there are 2*C(5,2)*C(15,2) of them
with two rows or two columns, there are C(5,1)*C(5,1)*C(16,3)of them
with one row and one column, there are 2*5*C(16,3) of them with one diagonal
and
one row/column, and there are C(16,3) of them with two diagonals. For the
outcomes with 12 balls appearing on at
least one line, there are C(12,1)*C(20,7) of them.
Using the inclusion and exclusion principle, we have |A_1 U A_2 U ... U A_12
|= 12*C(20,7)-(2*C(5,2)*C(15,2)+C(5,1)*C(5,1)*C(16,3)+2*5*C(16,3)+C(16,3))+(
2*C(5,2)*C(5,1)+2*C(5,1)*C(4,1)+8)=
908128.
So 908128/C(25,12)=908128/5200300=0.17463.
y*****w
发帖数: 1350
5
You forgot to take out the duplicates in the following cases:
1) a combination of one horizontal line and another horizontal line (n=10*C(
15, 2)=10*105)
2) a combination of one vertical line and another vertical line (n=10*C(15,
2)=10*105)
3) a combination of one horizontal line and one vertical line (n=25*C(15, 2)
=25*105)
4) a combination of one line (horizontal or vertical) and one diagonal (n=20
*C(15, 2)=20*105)
The calculation steps would be:
1) There are 12 cases where you can get a straight line of 5 balls.
2) In one such case, for the rest of the balls, there are C(20, 7)
possibilities.
3) Then get the "total" number of possibilities is 12*C(20, 7).
4) The nubmer in Step 3) did not take into account the duplicates. Therefore
, the correct number of possibilities is 12*C(20, 7) - (10+10+25+20)*105 =
12*77520 - 6825 = 923415 by deducting those duplicates.
5) The total number of possibilities for 12 balls in a 5X5 panel is C(25, 12
) = 5200300
6) Consequently, the probability is 923415 / 5200300 = 0.17757.

【在 h********y 的大作中提到】
: 我的理解是,这个方格子总共12条线,每条线有5个格子,如果有5个球在一条线上,那
: 么有12种可能,而另外7个球会在剩下的20个方格里的任何方格,会有(20,7)个组合
: 。12个球在25个格子上的组合是(25,12),那么中奖概率就是12*(20,7)/(25,
: 12)=0.17888,excel算的

1 (共1页)
进入Statistics版参与讨论
相关主题
问个multicollinearity 的问题,inSAS - fresh水平,谢谢帮助!GlaxoSmithKline is looking for a Manager, Applied Outcomes & Analysis.
CS和AR covariance structure怎么求逆呢?招 SAS Programmer (转载)
求教:How to analyze a categorized longitudinal outcomecompeting risks models with correlated outcomes
R: logistic and kknn: how to cross validate binary outcomeJob: Consultant in Pharmacoeconomics and Outcomes Research (转载)
问关于在药厂做health economics outcome research关于Positive definite一问。谢谢指点。
如何找出没有duplicate的数字[done]问一个Model的问题
questions about a SAS codeAnyone know one-sample test method for survival data
A question on Stat请教一个time series的问题
相关话题的讨论汇总
话题: 12话题: balls话题: line话题: outcomes话题: them