tla-org / poweranalyses

Statistical power analyses in the browser
https://poweranalyses.org
GNU General Public License v3.0
4 stars 0 forks source link

fix: sample size calculation #12

Closed storopoli closed 9 months ago

storopoli commented 10 months ago

Instead of rounding .round() we are rounding up .ceil() for the sample size n calculation. Also, added more tests.

I also moved the ordering around to group related stuff and made it consistent across files and stuff.