Discrete Probability Dist_Bernoulli

Netica

                

Bernoulli Distribution

(discrete probability dist for equations)

 

Usage:

BernoulliDist (b, p)

Definition:

b ? p : 1 - p

Required:

0 £ p £ 1       b boolean

Moments:

m = p

s^2 = p (1 – p)

g1 = (1 - 2 p) / sqrt (p (1 - p))

b2 = 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 = 4 && typeof(BSPSPopupOnMouseOver) == 'function') BSPSPopupOnMouseOver(event);" class="BSSCPopup" onclick="BSSCPopup('X_PU_boolean_node.htm');return false;">boolean that is true if the "success" occurs.  An example is flipping a coin and checking for the event of heads appearing.