Nepedia
Back to Discover
Advanced Reader
🔢

Bernoulli distribution

math Maturity 11-13 Next article →

The Bernoulli distribution is a fundamental concept in probability theory and statistics. It is a discrete probability distribution for a random variable. This variable can only take two possible values: 1 or 0. In many models, the value 1 represents a success or a "yes" outcome. The value 0 represents a failure or a "no" outcome. This distribution acts as a model for any single experiment that asks a yes-no question. Such questions result in Boolean-valued outcomes. These are single bits where the value is success, yes, true, or one with a probability of p. The probability of failure, or zero, is represented by q.

PMF and CDF of a bernouli distribution
PMF and CDF of a bernouli distribution

To understand the mechanism, we look at the probability mass function. This function describes the probability for each possible outcome k. The probability of success is p, and the probability of failure is q. Because there are only two outcomes, p and q must add up to 1. You can express this relationship in several ways. One way is to say the probability is p for k=1 and q for k=0. Another way is to use the formula p^k * q^(1-k). This mathematical structure allows us to calculate the likelihood of a specific result in a single trial.

Bernoulli Distribution
Bernoulli Distribution

The Bernoulli distribution is a specific type of several broader distributions. It is a special case of the binomial distribution where the number of trials, n, is exactly 1. It is also a special case of a two-point distribution. In a two-point distribution, the outcomes do not have to be 0 and 1. Furthermore, the Bernoulli distributions for different values of p form what is known as an exponential family. If you perform many independent and identical Bernoulli trials, their sum follows a binomial distribution. This connects simple single events to larger sets of data.

PMF and CDF of a bernouli distribution
PMF and CDF of a bernouli distribution

History connects this idea to the Swiss mathematician Jacob Bernoulli. His work helped define how we understand random variables and chance. Mathematicians have since used his namesake distribution to develop complex statistical tools. For example, the maximum likelihood estimator for p, based on a random sample, is simply the sample mean. This means we can estimate the true probability of success by looking at the average of our results. This connection between theory and observation is a cornerstone of modern statistics.

We can use specific numbers to describe the properties of this distribution. The expected value, or the mean, of a Bernoulli random variable is p. The variance, which measures how much the results spread out, is calculated as p times q. Because p and q are probabilities, the variance will always stay between 0 and 1. The skewness, which describes the asymmetry of the distribution, is calculated using the formula (q - p) divided by the square root of pq. These precise values allow scientists to predict the behavior of random systems with great accuracy.

Bernoulli Distribution
Bernoulli Distribution

Mathematicians also use the Bernoulli distribution to study uncertainty and information. Entropy is a measure used to describe the randomness in a distribution. For a Bernoulli variable, entropy is maximized when p is 0.5. This means there is the highest level of uncertainty when both outcomes are equally likely. If p is 0 or 1, the entropy is zero because the outcome is certain. Another important concept is Fisher information. This measures how much information an observable random variable carries about an unknown parameter p. Fisher information is also maximized when p is 0.5, reflecting maximum uncertainty.

PMF and CDF of a bernouli distribution
PMF and CDF of a bernouli distribution

Finally, the Bernoulli distribution relates to many other important mathematical ideas. The geometric distribution models how many independent Bernoulli trials are needed to reach one success. The categorical distribution is a generalization used for variables with any constant number of discrete values. There is also the Beta distribution, which serves as the conjugate prior of the Bernoulli distribution. In some cases, if p is 0.5, the distribution is known as a Rademacher distribution. These connections show how one simple yes-no model can support a vast network of mathematical thought.

Bernoulli Distribution
Bernoulli Distribution
671 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (2)
File:Bernoulli Distribution.PNG
Bernoulli Distribution.PNG
File:PMF and CDF of a bernouli distribution.png
PMF and CDF of a bernouli distribution.png
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.