Template:DropRate/lib/AdjWaldLower

From Guild Wars 2 Wiki
Jump to navigationJump to search


Usage: {{Template:DropRate/lib/AdjWaldLower|hits=1|tries=5|zScore=1.96}}
Used to find the lower bound in the Adjusted Wald Interval for an estimated binomial rate.
z = z-score to use. 1.960 -> 95% margin

This is combines the 2 part equation and converts it to a percentage, but applies no rounding.

Some samples:
5 tries, 2 drops 95% margin is 11.5984...%, calculates: 11.598408194162
50 tries, 20 drops 95% margin is 27.5902...%, calculates: 27.590165231224
1000 tries, 400 drops 95% margin is 37.0072...%, calculates: 37.007183366264