Suppose X is the number of heads in 10 tosses of a fair coin. Given X=5, what is the probability that the first head occurred in the third toss?
We can assume X to a Binomial distribution with p=1/2 and n=10. Let Y=number of trails required to get one success. I presumed Y can have a negative binomial distribution with r=1, that is a geometric distribution. But how do I incorporate the relation between X and Y?
This is not a homework question, but a question that has been asked in an entrance examination in the previous years.