A function that assigns to each value of a discrete random variable the probability that the variable takes that value. The sum of all these probabilities is equal to 1. For a continuous random variable, its counterpart is the probability density function.