Probability of picking 80% of objects at least once in a list of M with K independents attempts

67 Views Asked by At

Haven't done probabilities like this in a while, and i can't seem to find a convincing answer.

Basically, i'd like to know what is the probability of having randomly picked (at least once) 800 objects out of a 1000 object list after N attempts.

  • The objects are all different.
  • Once picked, the objects go back in the list (all picks are independent)

I have found this formula, but it doesnt seem to work in excel : First formula on this page

I would appreciate any help and excel implementaiton !

Thanks !

PS: sorry i do not know the exact concept words in english for this problem 1

1

There are 1 best solutions below

0
On

In Excel I would make the columns represent the number of different items seen and the rows represent the number of draws. Each cell will have the probability of that number of items seen given the number of draws. You start with $1$ in the cell for one draw and one item and $0$ for all other numbers of items. In each cell you have (up)($\frac {seen}{1000}$) + (up-left)$\frac {999-seen}{1000}$. You can get seen with a fixed-free reference to the top of the column. The idea is that with one more draw you get an old item with probability $\frac {seen}{1000}$. The seen=1 column does not have the up-left term. Copy right/copy down and your spreadsheet is full. Then you can have a sum of the columns from $800$ seen to $1000$ seen to get the probability of having seen at least $800$. Modeling it as a Poisson distribution you should start to have good chance of seeing $800$ different around $-1000\log(0.2)\approx 1600$ draws. We want to get the chance a particular object has not been seen down to $0.2$ and the Poisson distribution says that means $e^{-\lambda}=0.2$ where $\lambda$ is the expected number of times the item is seen, or draws/1000.