Skip to content
This repository has been archived by the owner on Feb 21, 2020. It is now read-only.

Latest commit

 

History

History
29 lines (17 loc) · 598 Bytes

README.md

File metadata and controls

29 lines (17 loc) · 598 Bytes

hubound

Calculates the exact confidence upper bound for the hypergeometric distribution according to Konijn (1973)

See

https://www.rug.nl/research/portal/files/2912436/c4.pdf http://www.sascommunity.org/sugi/SUGI91/Sugi-91-248%20Tsao%20LaLonde.pdf

running

To calculate the exact upper bound for

population: 1000

sampled: 500

successes: 50

confidence level: 95%

sbt

run 1000 500 50 95

[info] Running org.agoravoting.agora.HUBound 1000 500 50 95
calculating with population 1000 sampled 500 successes 50 confidence level 0.050000000000000044
upper bound 95.0% at 117 0.117