Skip to content

Commit

Permalink
Added link to Sample size calculator
Browse files Browse the repository at this point in the history
  • Loading branch information
rjjfox committed Oct 15, 2020
1 parent 2194ca2 commit 1216a95
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions testcalculator.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,11 @@

"""
---
### See also
### Recommended Reading
[Sample size calculator](http://samplesize.rfoxdata.co.uk/)
### Recommended Reading
* [Bayesian Methods for Hackers by Cameron Davidson-Pilon]\
(https://github.com/CamDavidsonPilon/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers)
Expand All @@ -118,7 +121,7 @@
"""

except ValueError:

t = """
<img class='error'
src='https://www.flaticon.com/svg/static/icons/svg/595/595067.svg'>
Expand All @@ -127,12 +130,12 @@

"""
An error occured, please check the test data input and try again.
For Bayesian calculations, the conversion rate must be between 0 and
1.
"""


else: # Frequentist

f = Frequentist(
Expand Down Expand Up @@ -253,6 +256,10 @@
"""
---
### See also
[Sample size calculator](http://samplesize.rfoxdata.co.uk/)
### Recommended reading
* [Z-test Wikipedia](https://en.wikipedia.org/wiki/Z-test)
Expand All @@ -261,4 +268,4 @@
* [AB test calculator by AB Testguide](https://www.abtestguide.com/calc/)
"""

# TODO: Add a sample ratio mismatch score in case of unequal samples
# TODO: Add a sample ratio mismatch score in case of unequal samples

0 comments on commit 1216a95

Please sign in to comment.