看板 Grad-ProbAsk 關於我們 聯絡資訊
The n candidates for a job have been ranked 1,2,3,.....,n Let X = the rank of a randomly selected candidate , so that X has pmf 1/n x =1,2,3,....n p(x)= 0 otherwiase Compute E(X) and V(X) using the shortcut formula 我有問題的是 E(X) E(X) = 1 * 1/1 + 2 * 1/2 + ......+ n * 1/n = n 為什麼答案是(n+1) /2 ?? 感謝高手幫忙,我的觀念真的不太熟~>"< -- 感謝每個幫我克服Perl關卡的人~ 感謝你~雖然我不認識你~ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.116.39.115
CCWck:p(x)=1/n, not 1/x 10/20 13:32
nana0130:對阿~~ p(1) = 1 , p(2) = 1/2 不是嗎 ??? 10/20 13:35
CCWck:全機率相加一定是1 你p(1)=1的話 怎麼還會有p(2)=1/2 10/20 13:54
kumafish07:E(x) = Σxf(x)=Σx*(1/n)=(1/n)*Σx=(1/n)*(1+n)*n/2 10/21 01:34
nana0130:感謝大家幫我解答QQ 10/21 12:40