The probability mass function (pmf) is a function that provides the probability that a discrete random variable is exactly equal to some value. It maps each possible value of the discrete random variable to a probability, indicating how likely that value is to occur. The pmf is crucial in determining both the expected value and variance of the random variable, as it directly influences the calculation of these metrics by weighting the values by their respective probabilities.
congrats on reading the definition of pmf. now let's actually learn it.