Math help please? I am doing weighted reservoir sampling (without replacement) from a list of probabilities. If I grab `n` samples, how do I calculate the probability of each sample being chosen?
I ran into a similar problem in grad school ~2003, this seemed to offer some unusual tacks. Proved too challenging for me but luckily I found a simpler hack and moved on https://www.amazon.com/Urn-Models-Their-Application-Mathematical/dp/0471446300 …
-
-
Yeah using simulation is a perfectly reasonable hack, so I'm moving on too. :)
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.