作者ppppoooopppp (ㄔ余 日月 水工)
看板YZU_CN99A
標題Re: [新聞] 機率
時間Mon Jan 18 16:48:33 2010
※ 引述《y90633 (圈蕭拜)》之銘言:
: ※ 引述《Nantou (超級男頭)》之銘言:
: : 作者 awdzs (...) 看板 Gossiping
: : 標題 [問卦] 機率的八卦?
: : 時間 Sun Jan 17 18:05:30 2010
: : ───────────────────────────────────────
: : 在Tech_Job科技業討論板看到的題目吵很兇
: : 還轉到math板還是吵很兇
: : 小明過年期間去拜訪許久沒見面的同學,聽說同學
: : 已經生了兩個小孩,進門後小明看到朋友其中一個小孩
: : 是男生,請問,另一個是男生的機率為多少?
: : 我覺得答案明明就很簡單
: : 靠有這問題的八卦嗎
: : 為什麼那麼簡單可以爭成這樣!!?
: : ========================================================================
: 因為他已經生了2個小孩,所以猜第二個小孩是男是女並不是獨立事件,
: 再加上他已經看到第一個小孩是男生了,
: 所以我推估題意是:一個小孩是男生的前提下,另一個小孩為男生的機率。
: 我的算法是這樣
: r.v X : 2個小孩,男生的個數 ~B(2 , 0.5)
: P(X=2 且 X≧1)
: 所求 P(X=2 | X≧1) = ------------------
: P(X≧1)
: 2
: C 2 * (0.5)^2 1
: = --------------------- = ------- = 1/3
: 2 2 2 + 1
: (C 1 + C 2)*(0.5)^2
: 我也是覺得答案很明顯啦
: 應該沒錯吧
: 如果要說是獨立事件的話,應該不能加入「已經」生了兩個小孩這個條件
if the kids are both independent, and P(boy) = P(girl) 1/2, then
P( 2nd is boy | 1st is boy ) = P( 2nd is boy) [because of independence]
= P(boy) = 1/2
That is, in case if independent events, it does not matter what
happened before, the probability of the next event is the same.
Like with a fair coin: If you see that you got 100 Heads, then the
probability of the next toss being a Head is still 1/2. The previous
coin tosses do NOT change the coin, so it's 1/2.
Rudy版的解答
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 122.116.13.129
推 ilovecindy:恩....我也是這樣覺得 01/18 19:01
推 Slash520:期待小明、違停版本 01/18 19:57