It is known that many people dump their pet goldfish into lakes, when they want to get rid of them with no remorse! We wish to calculate the number of goldfish in a small lake, in which there are several other fish of various species. For this purpose we pick 20 goldfish and put them a permanent mark and then release them into the lake. After one day (and assuming there are no changes in the population of goldfish or other fish – the system is “closed”), we pick 30 goldfish, of which 5 are found marked. What is the probability that the total population of goldfish in the lake is from 115 to 125?
I have found that this is done by using the “mark and recapture” method, by which we calculate the expected population to be
$\frac{20*30}{5} = 120$
But how do we calculate the probability for it to be in the requested range?
Of course by intuition, I guess it must be close to 100%!
phyper(5, 20,100, 30)returns 0.6222. – BruceET Aug 09 '20 at 05:19