Statistics[Distributions]
Bernoulli
Bernoulli distribution
Calling Sequence
Parameters
Description
Examples
References
Bernoulli(p)
BernoulliDistribution(p)
p
-
probability of success
The Bernoulli distribution is a discrete probability distribution with probability function given by:
f⁡t=1−pt=0pt=10otherwise
subject to the following conditions:
0≤p,p≤1
The Bernoulli distribution comes about as a consequence of a single Bernoulli trial. Success of the Bernoulli trial is indicated with x=1 and failure is indicated with x=0, where a success occurs with probability p. The parameter p is also referred to as the Bernoulli probability parameter.
Note that the Bernoulli command is inert and should be used in combination with the RandomVariable command.
with⁡Statistics:
X≔RandomVariable⁡Bernoulli⁡p:
ProbabilityFunction⁡X,0
1−p
ProbabilityFunction⁡X,1
Mean⁡X
Variance⁡X
p⁢1−p
Evans, Merran; Hastings, Nicholas; and Peacock, Brian. Statistical Distributions. 3rd ed. Hoboken: Wiley, 2000.
Johnson, Norman L.; and Kotz, Samuel; and Balakrishnan, N. Continuous Univariate Distributions. 2nd ed. 2 vols. Hoboken: Wiley, 1995.
Stuart, Alan, and Ord, Keith. Kendall's Advanced Theory of Statistics. 6th ed. London: Edward Arnold, 1998. Vol. 1: Distribution Theory.
See Also
Statistics
Statistics[RandomVariable]
Download Help Document