|
|
|
|
|
by ribrars
2488 days ago
|
|
> How do you arrive at that 5% base chance? I actually don’t know an analytic way of arriving there, but you can get there experimentally pretty easily by just writing a loop that runs through this a million times and then tells you how often it succeeded or failed. Then you build a lookup table that contains the percentages. I'm no stats expert by any means, but couldn't you calculate the percentages of each event occuring (and the amount to increment) using bayesian modeling? Simply taking the product of a string of actions and calculating those seems like an acceptable solution, however I'm not sure. The author seems to use a calculation approach, which if I understand correctly is a valid method and is sampling the distribution. But then again, not sure. |
|
E.g. in the author's example, where the rate starts at 5% and increases by 5% with each failure, the expected number of trials needed for a success would be:
Summing up that loop gives 5.29 for the expected number of trials, the inverse of which is 18.9%, matching the author's observed result.