Having a collection of unique items with index $i = {1 .. n}$, a set size $s >= 0$, and total population of all items with size $N = n * s$ (so population has $s$ copies of every unique item).
I select a sample of $m$ random items from total population, $0 <= m <= N$.
Now I select a random index $0 < r <= n$ (any possible item index with even chance).
Assuming I don't know the exact composition of the sample (i.e how many copies of each item I already have) Iād like to know the probabilities that I already have $0, 1, ⦠s$ copies of item with index $r$ in my sample.
Example: In a standard deck of cards there are 13 cards with 4 copies of each (with different colors). If I randomly select a sample of $m$ cards from full deck of 52 cards, what are the chances that I have 0, 1, 2, 3 or 4 copies of any card (e.g. an Ace) in my sample already.
Can anyone help with a formula or algorithm? If possible, a short explanation to help me tackle similar problems.
Does it matter if I know the exact composition of the sample? Do the probabilities change?
Thanks.
(EDIT: added example)