
Variance Problem
Someone is looking for a cat in one of thirty trees. The probability of the cat being an any tree is the same for all trees.
What is the expected value and variance of the number of trees that need to be searched to find the cat?
My work:
The probability of finding the cat in precisely the kth tree and not an earlier tree is always
The mean is easy:
To calculate variance, we first find:
So, the variance is:
That variance seems too high to be right. Is it wrong? How so?

Re: Variance Problem
Hey VinceW.
You are right in that the variance is too high.
The sum of squares is (30*31*61)/6 but then multiplying this by 1/30 gives
> 30*31*61/(6*30)
[1] 315.1667
Our variance is now 315.1667  (31/2)^2 or
> 30*31*61/(6*30)  (31/2)^2
[1] 74.91667

Re: Variance Problem
You're right! I dropped the 1/30 term in my computations. Thanks!