Jangsea Park
August 13, 2017
1k

# [PyConKR2017] 온라인 게임에서의 이항 분포

August 13, 2017

## Transcript

Whisker ߅੢द

1 2 3 4 5 X
6. ### ഛܫ ߸ࣻ X = x X = x {s ∈

S : X(s) = x} X = 1 {success} X = 0 {fail} S F Prob: 0.1 Prob: 0.9 0 1 2 3 4 5 X
7. ### ഛܫ ೣࣻ P(X=x) = f(x) P(X = x) = f(x)

P(X = 1) = f(1) = 0.1 P(X = 0) = f(0) = 0.9 S F Prob: 0.1 Prob: 0.9 0 1 2 3 4 5 X f 0 1 0.1 0.9 x p
8. ### ߬ܰ־੉ द೯ https://en.wikipedia.org/wiki/Bernoulli_trial S F Prob: 0.1 Prob: 0.9 0

1 2 3 4 5 X f 0 1 0.1 0.9 x p

10. ### ੉೦ ࠙ನ https://en.wikipedia.org/wiki/Binomial_distribution 0 0 1 2 3 4 5

X f 1 2 3 4 5 6 7 8 9 10 6 7 8 9 10

12. ### ੉೦ ࠙ನ vs ਺੉೦ ࠙ನ ੉೦࠙ನ ﬁxed n: ୨ द೯

ࣻ p: ࢿҕ ഛܫ variable k: ࢿҕ പࣻ k <= n count ੿೧૓ द೯ പࣻ ೞীࢲ ࢿҕೞח പࣻ ਺੉೦࠙ನ ﬁxed n: ୨ ࢿҕ പࣻ p: ࢿҕ ഛܫ variable k: पಁ പࣻ 0 <= k < inf count ੿೧૓ ࢿҕ പࣻܳ ׳ࢿೡ ٸө૑ पಁೞח പࣻ

14. ### ਺੉೦ ࠙ನ https://en.wikipedia.org/wiki/Negative_binomial_distribution 0 0 1 2 3 4 5

X f 1 2 3 4 5 6 7 8 9 inf 6 7 8 inf

16. ### ਺੉೦ ࠙ನ੄ ׮ܲ ಴ӝߨ k: पಁ, n: ࢿҕ k: ࢿҕ,

r: पಁ nCr = nCn-r 5 choose 3 = 5 choose 2 x: ୨ दب, r: पಁ x = k + r