PMFs
PMF stands for probability mass function. In probability theory, a PMF describes the distribution of a discrete random variable X by assigning a probability to each value that X can take. Formally, p(x) = P(X = x) for every x in the support of X. The function is defined on a countable set of values, satisfies p(x) ≥ 0 for all x, and the sum of p(x) over all x in the support equals 1. Values outside the support have p(x) = 0.
The PMF uniquely determines the distribution of X. From it one can derive the cumulative distribution function
Common examples include: a fair six-sided die, where p(1) = … = p(6) = 1/6 and p(x) = 0 otherwise; a
PMFs apply only to discrete random variables. For continuous variables, the analogous concept is the probability