回複:有個數學問題, 看誰能做出來?

來源: bookreader 2009-09-24 20:43:29 [] [舊帖] [給我悄悄話] 本文已被閱讀: 次 (589 bytes)
at the end of 1m, the prob of survival = 1-p = q
at the end of 2m, the prob of survival = prob survived at 1m * (1-p)=(1-p)^2
...
at the end of n minutes, the prob of survival = prob survived at n-1 minutes * (1-p) = Pn-1*(1-p)=Pn-2*(1-p)^2=...=(1-p)^n = q^n and hence the expected life is:

1*q+2*q^2+....+n*q^n+...=q/(1-q)^2=(1-p)/p^2

this makes sense because if p=1 the expected life should be 0. If p=0, the expected life should be infinity.

Comments are welcome.

One suggestion is doing a Monte Carlo simulation to see if it indeed works that way.
請您先登陸,再發跟帖!

發現Adblock插件

如要繼續瀏覽
請支持本站 請務必在本站關閉/移除任何Adblock

關閉Adblock後 請點擊

請參考如何關閉Adblock/Adblock plus

安裝Adblock plus用戶請點擊瀏覽器圖標
選擇“Disable on www.wenxuecity.com”

安裝Adblock用戶請點擊圖標
選擇“don't run on pages on this domain”