Bernoulli Distribution |
(discrete probability dist for equations) |
Usage: |
BernoulliDist (b, p) |
Definition: |
b ? p : 1 - p |
Required: |
0 ⋜ p ⋜ 1 b boolean |
Moments: |
μ = p σ^2 = p (1 – p) γ1 = (1 - 2 p) / sqrt (p (1 - p)) β2 = 3 + [1 - 6 p (1-p)] / [p (1-p)] |
This is the distribution for a single "Bernoulli trial", in which p is the probability of an outcome labeled "success" occurring. b is a boolean that is true if the "success" occurs. An example is flipping a coin and checking for the event of heads appearing.
Home > Discrete Prob_Bernoulli Distribution