Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Probability for Slay the Spire Fanatics.
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.
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