Definition · Discrete variables
Indicators and the Bernoulli distribution
Definition from the chapter Random variables and discrete distributions of Statistics and probability, with the exercises in which it is used.
Indicators and the Bernoulli distribution
When a die is rolled, the random variable that equals if a comes up and otherwise takes the value with probability and the value with probability .
For an event with probability , the indicator is the random variable that equals when occurs and otherwise; it is the same indicator used to count data in Chapter 1. Then has the Bernoulli distribution with parameter , where , written . Its expected value is . Since and , we have , so and
For the on the die, and .
Indicators express a count as a sum. If is the event that unit passes an inspection, the number of units that pass is : with three units and results pass, fail, pass, the sum is . By linearity, the expected number of units that pass is ; this calculation gives the mean of the binomial and hypergeometric distributions.
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 →