看板 YZU_CN99A 關於我們 聯絡資訊
※ 引述《ppppoooopppp (ㄔ余 日月 水工)》之銘言: : ※ 引述《y90633 (圈蕭拜)》之銘言: : : 因為他已經生了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: 114.45.110.87
ppppoooopppp:歹勢捏 今天跟老師咪挺瞇了太久 忘了問.... 01/20 03:43
ppppoooopppp:我明天再寄信幫你問 我想睡覺了~.~ 01/20 03:43