Skip to content

Releases: c-blake/spfun

Add `χ²` & `χ²c` entry points

23 Jun 17:32
aefdf00
Compare
Choose a tag to compare

That's it. More or less trivial, but some people love utf8 idents.

Some ease of use additions

05 Jun 19:53
93b8ddb
Compare
Choose a tag to compare

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

06 May 15:38
f7c20ce
Compare
Choose a tag to compare

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

23 Apr 11:06
dc57b9c
Compare
Choose a tag to compare

For a quick patch release since the API is brand new anyway.

Add permutation test pValue for correlations

22 Apr 09:30
9155ce9
Compare
Choose a tag to compare

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

23 Aug 12:21
073fa03
Compare
Choose a tag to compare

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.

08 Dec 20:39
Compare
Choose a tag to compare

First release

03 Jan 14:14
Compare
Choose a tag to compare

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.