Problem
- Example (Variance of the Number of Matches)
- A group of N people throw their hats into the center of a room. The hats are
mixed up, and each person randomly selects one. Find the variance of X, the
number of people that select their own hats.
- Solution:
- Using the same representation for
where
we have that
Since
,
we have
Also,
Cov(Xi,Xj)=E[XiXj]-E[Xi]E[Xj]
Now,
and thus
Hence,
and from Equation (3.2),
Thus both the mean and variance of the number of matches are equal to 1. When
N is large, the probability of i matches is approximately e-1/i!. That
is, when N is large, the number of matches is approximately distributed as a
Poisson random variable with mean 1. Hence, as the mean and variance of a
Poisson random variable are equal.