distributions

package module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2021 License: MIT Imports: 4 Imported by: 0

README

About

This repo contains functions for (the density of) the following statistical distributions:

  • Uniform (Dunif)
  • Binomial (Bbinom)
  • Beta (Dbeta)
  • scaled and shifted t-distribution (Scaled_shifted_t)
  • Normal distribution (Dnorm)
  • Non-central t distribution (Dt)
  • Cauchy distribution (Dcauchy)

And a helper function:

  • Integrate

Apart from the Dt, all the distributions are simply wrappers around the functions provided by GoNum (The cauchy distribution is implemented as a 1 df student t distribution). For the non-central t distribution, a standard algorithm that is implemented in, for example, SciPy, is used.

The functions written so that their interface is consistent with that employed by the corresponding functions in R.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL