![]() |
|
|
|
#1
|
|||
|
The OP seems to be asking how to calculate the number of attempts at a mob before getting at least N drops, given a drop rate.
That is the cumulative distribution function (CDF) of a negative binomial distribution. Scilab has this as the cdfnbn function. This gives us the number of failures before a certain number of successes. The total number of attempts is the sum of the failures and successes. For example, if we want 3 drops at 8% success per attempt, then it will require 48 attempts to be 75% sure of getting them: Code:
successes = 3
success_chance = 0.08
confidence = 0.75
attempts = successes + cdfnbn("S", successes, success_chance, 1.0-success_chance, confidence, 1.0-confidence)
attempts = 48.031623
If we want 3 drops at 1% success per attempt, then it will require 391 attempts to be 75% sure of getting them: Code:
successes = 3
success_chance = 0.01
confidence = 0.75
attempts = successes + cdfnbn("S", successes, success_chance, 1.0-success_chance, confidence, 1.0-confidence)
attempts = 391.07841
A few results: Code:
1% chance, 1 success, 50% confidence: 69 attempts 1% chance, 1 success, 75% confidence: 138 attempts 1% chance, 1 success, 95% confidence: 298 attempts 1% chance, 1 success, 99% confidence: 458 attempts 5% chance, 1 success, 50% confidence: 14 attempts 5% chance, 1 success, 75% confidence: 27 attempts 5% chance, 1 success, 95% confidence: 58 attempts 5% chance, 1 success, 99% confidence: 90 attempts 10% chance, 1 success, 50% confidence: 7 attempts 10% chance, 1 success, 75% confidence: 13 attempts 10% chance, 1 success, 95% confidence: 28 attempts 10% chance, 1 success, 99% confidence: 44 attempts | ||
|
Last edited by Ruien; 04-01-2020 at 09:02 AM..
|
|
||
|
#2
|
|||||
|
Quote:
Quote:
And ya, nothing is certain. So it's possible to never ever get an AC ring. (scary) Thank you so much for the lengthy math explanation. That is what I was most curious about. I have a very hard time understanding that stuff, and my math teach gave me a passing grade by 1 point because she just didn't want to ever see me again. So I greatly appreciate you taking the time to try and teach me. | ||||
|
|
|||||
![]() |
|
|