Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Raffle Win Probability Calculator

This is a script that I wrote to calculate the winning probabilities for an easter raffle.

People choose number(s) between inclusive 1-100. During the draw if an unclaimed number is picked it's discarded and a new one is picked. The script computes the win probabilities in two ways;

  • first using the probability theories (Bayesian),
  • and then statistically (simulating a substantial amount of raffles, people call this Monte-Carlo simulation apparently).

This was basically an exercise for me to remember the subject of dependent probability and just a way to kill some time.

About

Main Repository for Coding Ground

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages