GuildWiki

GuildWiki has been locked down: anonymous editing and account creation are disabled. Current registered users are unaffected. Leave any comments on the Community Portal.

READ MORE

GuildWiki
(No Drops calculation, user-callable function.)
 
m (Add linefeed)
 
Line 12: Line 12:
 
The result may be subtraced from 100 for the 'all drops' scenario.<br>
 
The result may be subtraced from 100 for the 'all drops' scenario.<br>
 
<br><br>
 
<br><br>
Some samples
+
Some samples:<br>
 
5 tries, no drops 95% margin is ~45%, calculates: {{Template:DropRates/NoDrop|tries=5|margin=.95}}%<br>
 
5 tries, no drops 95% margin is ~45%, calculates: {{Template:DropRates/NoDrop|tries=5|margin=.95}}%<br>
 
50 tries, no drops 95% margin is ~5.8%, calculates: {{Template:DropRates/NoDrop|tries=50}}%<br>
 
50 tries, no drops 95% margin is ~5.8%, calculates: {{Template:DropRates/NoDrop|tries=50}}%<br>

Latest revision as of 22:23, 16 December 2010

No Drops Calculation

This calculates the maximum expected drop rate based on how many tries were made without a single drop occurring.
This is used to calculate the upper bound in probability... eg: if I've opened 5 widgets and got nothing, the rate will probably be under 50%. if I open up 1000 widgets and got nothing, the rate will probably be under 1%. This uses a formula to derive just how high the rate could possibly go and returns that number, rounded to 4 places. It basically takes the standard 'odds I get a drop' formula of Odds=Rate^Tries and solves it for Rate, using 'margin' in place of odds.

In the case of an 'all drops' scenario, invert the result (subtract the result from 100).

Usage: {{Template:DropRates/NoDrop|tries=5|margin=.95}}
tries = the number of attempts at a drop.
margin = the error margin to use. Defaults to 0.95, which equates to 95%

The result is rounded to 4 places of precision, which may display as fewer if the last digit(s) are zeros. The result may be subtraced from 100 for the 'all drops' scenario.


Some samples:
5 tries, no drops 95% margin is ~45%, calculates: 45.07%
50 tries, no drops 95% margin is ~5.8%, calculates: 5.816%
1000 tries, no drops 95% margin is ~0.3%, calculates: 0.2991%
8 tries, 8 drops 95% margin is ~69%, calculates: 68.77%