Skip to content

awneto-basic/2022_world_cup_sticker_album

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2022_world_cup_sticker_album

Calculating the probabilities of events related to collecting stickers from the 2022 World Cup sticker album

What if you wanted to complete the a sticker album collection without trading stickers with other collectors? What is the expected number of packets you would have to purchase in this scenario?

Read the full explanation here.

To answer this question, we can refer to the Coupon collector’s problem, a classical problem with studies dating back to the 18th century. The goal of the problem is to calculate the average number of purchases a collector of coupons (or stickers, cards, tickets etc.) needs to make to complete the coupon collection, given that there is a finite number of coupons to be collected, and that each coupon is randomly selected (i.e., the collector does not know which coupon it will get on each purchase).

For the 2022 FIFA World Cup album, the probabilities associated with various waiting times (from buying 1 sticker packet to buying 2000 sticker packets) for obtaining all stickers from the collection are shown on the plot below: image

The probabilities associated with various waiting times for obtaining all stickers of a defined national team without trading duplicate stickers are shown on the plot below: image

The plots shown below present the probability of completing this year’s sticker album and expected number of distinct stickers to be obtained for various amounts of packets to be bought, assuming that no duplicates are traded. image

The plots shown below present the probability of obtaining all 20 stickers from a defined national team (e.g. Brazil) and expected number of distinct stickers from the subset to be obtained for various amounts of packets to be bought, assuming that the trading of duplicate stickers does not take place. image

The paniny.py Python script listed in this repository was to calculate the probabilities and expected values and to produce the plots above. Note that the Decimal module was needed to compute the large numbers involved in the calculations (e.g. the factorial of 670).

The above results confirms the common sense: it pays off to swap duplicate stickers with other collectors. Speaking from experience, it may also make the whole collecting experience more fun. Happy collecting!

About

Calculating the probabilities of events related to collecting stickers from the 2022 World Cup sticker album

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages