Probability and risk
Indicator variable
Also called indicator random variable, Bernoulli indicator, 1_A
A random variable that equals 1 if an event happens and 0 if not; its expected value equals the event's probability.
How it works
Write a count as a sum of indicators, one for each thing that might happen, and the expected count is the sum of the probabilities by linearity of expectation. This avoids working out messy joint distributions. Indicators also give variances, though then the pairwise covariances matter: Var of a sum of indicators needs P(both happen) for each pair.
Worked example
Roll a die six times. Let I_k = 1 if face k appears at least once. P(I_k = 1) = 1 - (5/6)^6 = 0.665, so the expected number of distinct faces is 6 x 0.665 = 3.99.
Related terms
Put it to work in a timed game.
Practise with Confidence IntervalsSources
Last checked November 2026.