QDB: Quote #304664
About / Latest / Random / Queue / Prefs / Donate / Submit Quote / Search

This quote has been fermenting for 14 years and has been voted on 27 times.
Based on preliminary voting, this quote has a 43.8% chance of being approved.

#304664* (?/27) ⚐Flag
<+php_nick> hello anybody knows the formula for increasing chance? for example, i have 3 marbles: red, yellow, green. now lets say I have this function called pick() that when i call will randomly pick a marble. how do i tell my function to increase the chance of red by 10%
<+i_c-Y> wha
<+i_c-Y> are you asking how to draw from a certain distribution?
<+Jazzdude> just call math.statistics.chance.increase(0.1)
<+Jazzdude> it's obvious, isn't it
About / Latest / Random / Queue / Prefs / Donate / Submit Quote / Search
14,883 quotes approved; 8,695 fermenting; karma: 189.4827