Definition · Discrete variables
Probability mass function
Definition from the chapter Random variables and discrete distributions of Statistics and probability, with the exercises in which it is used.
Probability mass function
For the number of heads in two tosses, , , and . Every other probability about follows from these three; for example, the probability of at least one head is .
The probability mass function of assigns to each real number the probability . The values are called masses. Outside the support the mass is zero; in the example, . The masses are nonnegative and sum to over the support.
For a set of values, the probability that falls in is the sum of the masses of the values in :
The formula holds because the events for distinct values are disjoint, so their probabilities add.
The way the total probability is shared among the values of is called the distribution of ; for a discrete random variable the distribution is given by the probability mass function. The most common distributions have names, and the notation , read ” has distribution…”, states the distribution of .
Read it in the chapter Random variables and discrete distributions →
Exercises where this definition is used
Worked examples
Practice exercises
All the definitions and theorems of Statistics and probability → · All the theorems on the site →