Idea: Count with indicators
Write a count as a sum of indicators, each if its event happens and if not.
- The mean needs no independence
- Pick the unit: seats, days, pairs, values
Formula: Linearity of indicators
The expected count is the sum of the chances that each unit is counted, dependent or not.
Example: Sign flips in a report
positions in random order, long and short. Expected number of neighbours with opposite signs?
- neighbouring pairs; mark each flip
- One pair flips with chance
- Expected flips:
Example: Count the easy side
orders go independently and uniformly to venues. Expected number of venues used?
- Mark the empty venues instead
- One is empty with chance : expect empty
- Used:
Formula: The variance needs the pairs
Linearity stops at the mean; for the spread, the covariance of each pair comes back.
Idea: Indicator covariance stays simple
is the indicator that both events happen.
- Without replacement the covariance is negative
Quick check: Spread of an audit
Draw of orders without replacement; are flagged. Variance of the flagged count?
Show the answer
Answer:
Each draw has variance , each pair covariance : .
Common mistake: Linearity for the variance
Adding up as if linearity covered the variance too. It works only when the covariances vanish.
Instead The mean never cares about dependence; the variance always does. Count the pairs.
Idea: Say it in the room
Name the indicator in one sentence: let be if seat is counted.
- Say that linearity needs no independence
- Give one unit's chance, multiply, finish
- Asked about spread: go to pairs and covariance signs
Courses / Problem-solving toolkit