镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Fix API Irregularities Between dstats.distrib and dstats.random #29

Open

Description

@jmh530

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: invChiSquareCDFR, invFisherCDFR

  2. The names in dstats.random do not match the names in dstats.distrib in some cases. These three jump out: rLogNorm, rNorm, rStudentT

  3. Excluding the first time (which obviously should be different), the type signature of invBinomialCDF does not match that of binomialCDF. Contrasting invBinomialCDF and binomialCDF, n is uint in one and ulong in another.

Activity

  1. jmh530 commented on Aug 29, 2017

    @jmh530
    Author
    1. Hypergeometric in dstats.distrib are long, but are int in dstats.random. There is a similar issue with rBinomial.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions