4 ms·
Here's a SO post w/ a python implementation: https://stackoverflow.com/questions/10029588/python-implementation-of-the-wilson-score-interval/45965534 https://s
by loisaidasam 9y ago
Here's a SO post w/ a python implementation:
https://stackoverflow.com/questions/10029588/python-implementation-of-the-wilson-score-interval/45965534 https://stackoverflow.com/questions/10029588/python-implemen...
The accepted answer uses a hard-coded z-value.
In the event that you want a dynamic z-value like the ruby solution offers, I just submitted the following solution:
https://stackoverflow.com/questions/10029588/python-implementation-of-the-wilson-score-interval/45965534#45965534 https://stackoverflow.com/questions/10029588/python-implemen...