A probability distribution is a mathematical description of how likely each possible outcome of a random variable is, assigning probabilities to individual values or to ranges of values so that the total equals one. In statistics and data analysis, it is the model of uncertainty behind almost every summary, test and prediction: means, variances, confidence intervals and p-values are all properties of some assumed or estimated distribution.
Distributions describe both the process that generates data and the behavior of statistics computed from samples. Choosing a distribution is therefore a modeling decision with consequences, because a model that ignores skewness, heavy tails or discreteness produces estimates that look precise but are systematically wrong.
How a probability distribution assigns probability
A probability distribution assigns probability through a function whose form depends on whether the variable is discrete or continuous. A discrete variable, such as the number of failed orders per hour, uses a probability mass function (PMF) that gives the probability of each exact value. A continuous variable, such as response time in milliseconds, uses a probability density function (PDF), where probability exists only over intervals and equals the area under the curve.
Both kinds share the cumulative distribution function (CDF), which gives the probability that the variable is less than or equal to a value. The CDF always rises from 0 to 1, and its inverse, the quantile function, returns percentiles directly. A common misconception is that a density value is a probability; a density can exceed 1, because only its integral over a range carries probabilistic meaning.
The following table summarizes the functions used to specify a distribution and what each one answers.
| Function | Applies to | Question it answers |
|---|---|---|
| PMF | Discrete variables | What is P(X = x)? |
| Continuous variables | How dense is probability near x? | |
| CDF | Both | What is P(X ≤ x)? |
| Quantile function | Both | Which value has probability p below it? |
| Moment generating function | Both, when it exists | What are the mean, variance and higher moments? |
Parameters, moments and shape
Most named distributions are parametric families, in which a few parameters fix the exact member of the family. Parameters usually control location (where values center), scale (how widely they spread) and shape (asymmetry and tail weight). The normal distribution needs only a mean and a standard deviation, while the gamma distribution needs a shape and a scale parameter.
Moments summarize shape numerically. The first moment is the mean, the second central moment is the variance, the standardized third moment measures skewness, and the standardized fourth moment measures kurtosis, which reflects tail heaviness. Some distributions, such as the Cauchy distribution, have no finite mean or variance, so sample averages from them never settle down no matter how much data is collected.
Common families and when they apply
Each standard family corresponds to a typical data-generating mechanism, and recognizing that mechanism is a more reliable way to choose a model than matching a histogram by eye. The table below lists widely used families with their parameters and the situations they describe.
| Family | Type | Parameters | Typical use |
|---|---|---|---|
| Bernoulli | Discrete | p | Single yes or no outcome, such as a click |
| Binomial | Discrete | n, p | Successes in a fixed number of trials |
| Poisson | Discrete | λ (rate) | Counts of events per interval |
| Normal | Continuous | μ, σ | Measurement error, sums of many effects |
| Exponential | Continuous | λ (rate) | Waiting time between independent events |
| Log-normal | Continuous | μ, σ of the logarithm | Incomes, file sizes, latencies |
| Pareto | Continuous | scale, α | Heavy-tailed sizes and wealth |
Mechanisms explain these choices. Counts of rare independent events tend toward the Poisson distribution, products of many positive factors tend toward the log-normal distribution, and sums of many small independent effects tend toward the normal distribution, which is the content of the central limit theorem. Real data often violate independence, so a Poisson model for website visits commonly shows overdispersion, where the variance exceeds the mean, and a negative binomial model fits better.
Empirical and theoretical distributions compared
Practitioners distinguish a theoretical distribution, which is an assumed model, from an empirical distribution, which is the distribution of the observed sample itself. The empirical CDF places probability 1/n on each observation and converges to the true CDF as the sample grows, a result known as the Glivenko–Cantelli theorem.
A third category is the sampling distribution, the distribution of a statistic such as the sample mean across repeated samples. Its standard deviation is the standard error, and it is what confidence intervals and hypothesis tests actually rely on. The table contrasts the three views.
| View | What it describes | Typical estimate or tool | Main risk |
|---|---|---|---|
| Theoretical | Assumed data-generating process | Maximum likelihood fit | Wrong family chosen |
| Empirical | Observed sample values | Histogram, empirical CDF | Noise in small samples |
| Sampling | Variation of a statistic | Standard error, bootstrap | Dependence between observations |
Fitting and checking a distribution
Fitting a distribution means estimating its parameters from data, most often by maximum likelihood estimation, which selects the parameter values that make the observed sample most probable. Bayesian statistics instead combines a prior distribution with the likelihood to produce a posterior distribution over the parameters themselves.
A fitted model must then be checked. Quantile-quantile (Q-Q) plots compare sample quantiles with model quantiles and reveal tail problems that summary tests miss. Formal goodness-of-fit tests such as the Kolmogorov–Smirnov test, the Anderson–Darling test and the chi-squared test quantify the mismatch, although with very large samples they reject almost every model, so visual diagnostics and practical relevance should guide the final judgment.
The decision table below links common data situations to a reasonable starting model.
| Data situation | Starting model | Reason |
|---|---|---|
| Counts with variance near the mean | Poisson | Independent events at a stable rate |
| Counts with variance above the mean | Negative binomial | Allows overdispersion |
| Positive, right-skewed values | Log-normal or gamma | Multiplicative or waiting processes |
| Proportions between 0 and 1 | Beta | Bounded support |
| Extreme losses or peak loads | Generalized Pareto | Models the tail directly |
Limitations and common mistakes
The most frequent error is assuming normality by default. Many business and operational quantities are skewed or heavy-tailed, and a normal model then underestimates the frequency of extreme values, sometimes by several orders of magnitude in the far tail.
- Ignoring dependence: autocorrelated time series violate the independence behind most textbook families.
- Confusing density with probability: a PDF value of 2.5 is valid and is not a probability.
- Mixing populations: a bimodal histogram often signals two distinct groups that need separate models.
- Overfitting the tail: a handful of extreme points cannot reliably determine a tail parameter.
- Reporting only the mean: for skewed data, the median and selected percentiles describe typical behavior better.
In everyday language
A probability distribution is a map of what can happen and how often. Think of rolling a die: each face has the same chance, so the map is flat. For the height of adults, most people are near the middle and very few are extremely short or tall, so the map has a hump in the center.
Analysts use these maps to answer practical questions, such as how unusual a result is or how much to plan for a bad day. The key point is that the shape matters: a lopsided or long-tailed map leads to very different decisions than a neat, symmetric one.
Seen in the real world
A data team at an online retailer needs to size servers for checkout traffic. Requests per second average 400, and the first draft of the capacity plan assumes a normal distribution, which suggests that 520 requests per second covers almost every minute.
A Q-Q plot of three months of per-second logs shows a long right tail, and the observed variance far exceeds what a Poisson model allows. The team fits a negative binomial model for counts and a generalized Pareto model for the top 1 percent of seconds. The revised plan targets the 99.9th percentile at about 780 requests per second.
During the next seasonal sale, peaks reach 740 requests per second. The original plan would have saturated the servers, while the revised one absorbed the peak without errors.