News for hackers. Stuff that matters.
Re:Probability for Slay the Spire Fanatics by faeriechangling on Sunday June 06, 2021 @03:25PM (#27415571)
Or you can use a hypergeometric calculator https://stattrek.com/online-calculator/hypergeometric.aspx

I made a recursive hypergeometric calculator in python for fun and learning. I believe there's technically more efficient ways to go about things. This comes up in many many situations where you draw without replacement.

If you are drawing WITH replacement, you can use a binomial distribution https://stattrek.com/online-calculator/binomial.aspx

There are no comments on this comment yet.