Template:DropRate/lib/AdjWaldUpper

From Guild Wars 2 Wiki
Jump to navigationJump to search


Usage: {{Template:DropRate/lib/AdjWaldUpper|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 77.0914...%, calculates: 77.09142170088
50 tries, 20 drops 95% margin is 53.8368...%, calculates: 53.836835452262
1000 tries, 400 drops 95% margin is 43.0694...%, calculates: 43.069354605464