A probability density function (PDF) is a function associated with a continuous Random variable that gives the Probability that the variable, when measured, falls between a certain range of values. The PDF describes the Probability distribution that the variable follows, though some care should be taken when interpreting individual values of the PDF.
Formally, for a random variable , its probability density function is a non-negative Lebesgue-integrable function such that the probability of falling in the range is
It must also be normalized, that is, integrate to one over the entire sample space to satisfy the definition of probability:
Unlike the Probability mass function, the PDF does not return probability values: it must be integrated to find the probabilities. In fact, unlike the PMF, the density's image is not limited between 0 and 1 and may contain values greater than 1. As such, the values of a PDF do not qualify as a probability by definition. The integral of the density, however, does have an image of and fits the requirements of a probability, hence the normalization requirement. It is therefore convenient to define the integral of the PDF
This integral is known as the cumulative distribution function of . It represents the probability that will be lower than .
Transformations#
Given a continuous random variable of PDF and an invertible transformation , we can define the transformed random variable as . The PDF of is
The same definition applies to a continuous random vector that is invertibly transformed into another random vector , except that the derivative becomes the determinant of the Jacobian of with respect to :