Citation:
A probability mass function (PMF) is a function that gives the probability of a discrete random variable taking on a specific value. It provides a way to assign probabilities to each possible outcome of a discrete random variable, ensuring that the sum of these probabilities equals one. The PMF is essential for calculating probabilities and is closely tied to concepts such as expectation and variance.