How does one model the Binomial distribution where the probability of success is the result of another Binomial distribution.
For example, say I make 10 coin tosses many times and record the number of heads (H). Then for each set (i) of 10 coin tosses I put Hi black marbles, and 10-Hi white marbles in a jar and make 50 draws with replacement. How would I model the distribution of the black marble draws taking into account their dependence on the previous Binomial distribution that generated their probability of success.