dsimcha / dstats

A statistics library for D.
11 stars 13 forks source link

Fix API Irregularities in dstats.distrib/random #6

Closed jmh530 closed 7 years ago

jmh530 commented 7 years ago

I have noticed some irregularities in the API for dstats.distrib and dstats.random.

1) Most of the inverse CDF functions are f(p, param), but some are f(param, p). These are the two that jump out as being opposite of the others: http://dlangscience.github.io/dstats/api/dstats/distrib/invChiSquareCDFR.html http://dlangscience.github.io/dstats/api/dstats/distrib/invFisherCDFR.html

2) The names in dstats.random do not match the names in dstats.distrib in some cases. These three jump out: http://dlangscience.github.io/dstats/api/dstats/random/rLogNorm.html http://dlangscience.github.io/dstats/api/dstats/random/rNorm.html http://dlangscience.github.io/dstats/api/dstats/random/rStudentT.html

jmh530 commented 7 years ago

I had meant to put this on the dstats fork. Closing and moving it there.