Releases: c-blake/spfun
Add `χ²` & `χ²c` entry points
Some ease of use additions
Just these two:
- Add
binomp.initBinomP
- a little constructor proc for simpler usage at call sites - Add
studentT.ccPvEvalCount
- a global evaluation counter (to easily id many-evals situations)
There was preliminary work on a CDF plotter, but it moved to https://github.com/c-blake/bu
Add good binomial p CI's & use for correlation significance
Add Wilson & Agresti scoring (as well as the roll-out-of-bed Wald stuff) for good CIs of binomial p
parameter with a little cligen
CLI utility for testing.
Use this new binomial proportion estimator for very strong simulation-based p-Values of correlations (Pearson linear or Spearman rank). { This largely nullifies the advantage of rank correlation, but sometimes people do still over-interpret "correlations close to 1". }
Fix oversight of using seq not openArray
For a quick patch release since the API is brand new anyway.
Add permutation test pValue for correlations
For small samples, this can have 2-4X better false positive control as per Yu & Hutson 2020/2021 which can make all the difference in even being distracted by insignificant correlations.
Get working with nim-devel
Must explicitly say param: untyped = expr
in some templates after nim-lang/Nim@26f1830 , but this also works with older Nim. (If this behavior stays, nim-devel should probably at least document it somehow.)
Cross nim portability & style check.
That's about it.
First release
So, I thought I had actually done a GH release not merely put a version in nimble. Oops. This really is just a foot in the ground repository doing some basic things, not even entirely consistently, but the functions defined do have uses elsewhere.