Skip to content

Latest commit

 

History

History
22 lines (9 loc) · 785 Bytes

File metadata and controls

22 lines (9 loc) · 785 Bytes

Hypergeometric Distribution

Using Scipy's Hypergeometric Distribution

What's the probability of catching someone turning up to work drunk? There are 260 working days in the year and the subject is known to turn up 12 times drunk in the year. The graphs show the chances of catching them depending on the number of tests in a single year. The CDFs show the probability of not being caught so 1 is subtracted from the first value in the array to calculate the percentage for the annotated value.

Annual Tests

Twice Yearly Tests

Monthly Tests

Weekly Tests

Tests Every other day

Daily