跟球迷儿子讨论Miami Heat夺冠的概率,想不明白,用最笨的穷据法得到22/64,也不知道对不对
*7场球,谁先赢4场谁冠军
*已经打了1场,迈阿密输了
*假设每场球输赢概率都是50%
求解
谢谢!可是,别笑, C(6,4) 、C(6,5) ... 是怎么算的?
對不起沒附上解釋,國內數學或許有別的寫法。
C(X,Y) = X!/Y!(X-Y)! 譬如 C(6,4) = 6!/2!4! = 15, 這是六戰裡面贏四場的可能組合。
! = factorial, 6! = 1x2x3x4x5x6
之所以加上 C(6,5), C(6,6) 是因為:在"再打六場"的情況下,還必須考慮六戰五勝,六戰六勝也能贏。
全错。
IT民工们是如何考试毕业的?![]()
假设每场胜的概率50%。还有6场比赛。热火必须胜4场。正确的呢?
假设每场胜的概率50%。还有6场比赛。热火必须胜4场。
用递归算法。
第一场胜0.5乘以后面5场胜3场的概率,加第一场负0.5乘以后面5场胜4场的概率。
递归到N场连胜止。
P(4 win given that lost 1st game)
= P(4 win and lost 1st game) / P(lost 1st game)
= (P(win in 4 game) + P(win in 5 game) + P(win in 6 game)) / P(lost 1st game)
= 0.5* (6C4*(0.5)^4*(0.5)^2 + 6C4*(0.5)^5*(0.5) + 6C6*(0.5)^6) / 0.5
= (15 + 6 + 1)*(0.5)^6
= 22/64
Assume independence and no home game advantage.