Have a problem:
The sizes of animal populations are often estimated by using a capture-tag-recapture method. In this method k animals are captured, tagged, and then released into the population. Some time later n animals are captured, and Y, the number of tagged animals among the n, is noted. The probabilities associated with Y are a function of N, the number of animals in the population, so the observed value of Y contains information on this unknown N. Suppose that k=4 animals are tagged and then released. A sample of n=3 animals is then selected at random from the same population. Find P(Y=1) as a function of N. What value of N will maximize P(Y=1).
Note that for the following [a,b] is the combinations rule such that this equals a!/b!(a-b)!.
I said to let X be the number of tagged animals among the n. X therefore is a hypergeometric probability distribution with r=4, y=1, n=3, and N=N. Therefore the distribution would be ([4,1]*[N-4,2])/[N,3].
Is this right and is this a function of N. How would you maximize this function?
First, the formula would be invalid at N = 3 as it is not possible to take a sample without replacement of size 4 from a population of size 3.
Second, the formula is for a probability so its value is between 0 and 1.