Timeline for Efficiently generating samples from an urn with maximum per element constraint?
Current License: CC BY-SA 3.0
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 17, 2016 at 6:46 | comment | added | ciao | This does not generate a proper distribution. For example, genoutcomesLSC[{1,2,3},4,6] should generate a 4-run for leading/middle/end of sample with probabilities 1/27, 2/81, 4/243 respectively. This routine makes such runs equiprobable. Don't fret, I've been pondering this, as have some seriously sharp posters here, this is one of those simple-but-hard problems. | |
Jun 17, 2016 at 6:35 | history | answered | bobbym | CC BY-SA 3.0 |