Fix 0 < p < 1 and suppose there is a coin that obtains a head with probability p. We flip the coin 17 times and get a total of 5 heads. Given this information, what is the chance that 3 of those heads occurred in the first 10 flips?
P (3 heads in first 10 flips /5 heads in 17 flips) = P (3 heads in first 10 flips and 5 heads in 17 flips) / P (5 heads in 17 flips) ? I am confused, is this how I am supposed to approach this model?
Given the information that you got exactly $5$ heads, binomial is not really needed anymore. The $5$ heads are equally likely to be any $5$ of the $17$ flips. You can use the hypergeometric distribution: think of the first $10$ flips as a sample (without replacement) from the $17$ flips, of which $5$ are heads and $12$ are tails.