# Coverage when sampling from a non-uniform population

#### SynBioDude

##### New Member
Suppose you have a population of discrete items (e.g. marbles numbered 1 to 100) where the items are each present in different frequencies represented by a Poisson distribution (e.g. at a mean of 50). If randomly sampling from this population (with replacement), how do you calculate how many you need to sample in order to obtain 95% (or some X percentage) of the unique numbers?

#### fed2

##### Active Member
sounds alot like 'coupon collectors problem'. there was some posts on here a bit ago with problem like this.

#### SynBioDude

##### New Member
sounds alot like 'coupon collectors problem'. there was some posts on here a bit ago with problem like this.
Yes I think it's similar, but the population of coupons here is known to be represented at a frequency according to the Poisson distribution. How can the coupon collector solution be modified to account for this distribution?
{"ft_lang_label":"__label__en","ft_lang_prob":0.93753445,"math_prob":0.7248892,"size":402,"snap":"2022-27-2022-33","text_gpt3_token_len":94,"char_repetition_ratio":0.10050251,"word_repetition_ratio":0.0,"special_character_ratio":0.22636816,"punctuation_ratio":0.09090909,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9861997,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-08-15T01:15:10Z\",\"WARC-Record-ID\":\"<urn:uuid:fc7a5bb3-b324-4bd9-8ac1-5dfb5ca92e1e>\",\"Content-Length\":\"44575\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:2b4d7908-72fc-4399-984c-8ba2b90f976a>\",\"WARC-Concurrent-To\":\"<urn:uuid:a9fc7f12-b624-414e-92c5-e82c3e5677b3>\",\"WARC-IP-Address\":\"199.167.200.62\",\"WARC-Target-URI\":\"http://talkstats.com/threads/coverage-when-sampling-from-a-non-uniform-population.76831/\",\"WARC-Payload-Digest\":\"sha1:ZUFV72BSNFWKYPAKSZJHHRH5IGAPQWCK\",\"WARC-Block-Digest\":\"sha1:INTQRNT3Q64EVLTGL3GQMAQYPWUOZWJV\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-33/CC-MAIN-2022-33_segments_1659882572089.53_warc_CC-MAIN-20220814234405-20220815024405-00009.warc.gz\"}"}