Other meanings of Probability density function
STATISTICS & PROBABILITY
A probability density function is a function describing the relative likelihood of continuous random-variable values. Its value is not itself a probability: probabilities are obtained by integrating the density over intervals, while the total area under the curve equals one.
A probability density function assigns nonnegative density across the possible values of a continuous random variable. If X has density f, then P(a ≤ X ≤ b) = ∫ₐᵇ f(x) dx, and the normalization rule is ∫−∞∞ f(x) dx = 1.1 Density can be greater than one when the measurement scale or interval is sufficiently narrow; only areas, not heights alone, represent probabilities.
For an ordinary continuous variable, the probability of any single exact value is zero, so P(X = x) = 0. The cumulative distribution function instead records accumulated probability, with F(x) = ∫−∞x f(t) dt; where differentiation is valid, f(x) = F′(x).2
A density describes local relative likelihood through the area it contributes over a small interval. Near a point x, the approximation P(x ≤ X ≤ x + Δx) ≈ f(x)Δx becomes accurate when Δx is small, although f(x) itself is not a probability.
Expectations are weighted integrals: for a suitable function g, E[g(X)] = ∫ g(x)f(x)dx. Thus the mean uses g(x) = x, while variance measures the expected squared distance from the mean.1 A change of measurement scale requires a Jacobian factor: if Y = h(X) and h is one-to-one and differentiable, then fY(y) = fX(h−1(y))|d h−1(y)/dy|.3
Standard density families provide compact models for measurements, errors, waiting times, and physical quantities. The normal distribution is symmetric and determined by its mean and variance; the exponential distribution models nonnegative waiting times under a constant hazard; and the beta distribution is confined to the interval from zero to one. The gamma, log-normal, Weibull, and Student's t distributions extend this library for skewness, positive data, or heavy tails.2
In statistical inference, a density may describe data conditional on parameters, or parameters conditional on data in a Bayesian model. A likelihood is not generally a probability density for the parameter: it is a function of the parameter with the observed data held fixed. Densities also underlie maximum likelihood, simulation, confidence procedures, and numerical integration.4
Density functions can be nonunique at isolated points without changing any probability. Altering f at one point, or even on a set of total length zero, leaves its integrals unchanged; densities are therefore conventionally treated as equivalent when they differ only on such sets.
Not every random variable has an ordinary density. A discrete variable uses probability masses, while a mixed variable can contain both point masses and a continuous component. More generally, probability distributions may be studied through a measure rather than a density with respect to length; singular distributions, such as the Cantor distribution, provide a less familiar case with no ordinary density despite being continuous in the cumulative-distribution sense.5
In several dimensions, a joint density integrates over regions, and marginal densities arise by integrating out coordinates. Dependence is represented by the joint density and cannot generally be recovered from the separate marginal curves alone.
Notation and conventions vary: some texts use “density” for a function defined only almost everywhere, while others select a specific representative. Interval probabilities remain the invariant quantity.
Help improve the encyclopedia. Reports go straight to the site manager.