A probability mass function (PMF) is a function associated with a discrete Random variable that gives the Probability that the variable, when measured, is exactly equal to some value. The PMF describes the Probability distribution that a discrete variable follows.
Given a discrete random variable , its probability mass function is defined as , where is 's sample space. It is equal to
where is a measure of probability. By definition of probability, the total probability must be 1:
Transformations#
Given a discrete random variable of Probability mass function and an invertible transformation , we can define the transformed random variable as . The PMF of is
The same definition applies to a discrete random vector that is invertibly transformed into another random vector :