DistKind

it.grypho.scala.leonardo.probability.DistKind
See theDistKind companion object
enum DistKind

The distribution families this package knows.

An enum rather than one case class per family: every family shares the same shape — a short parameter vector plus four kernels — so a single carrier keeps Session display, :save serialization and the parser to one case each instead of five.

Attributes

Companion
object
Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

case Binomial extends DistKind

binomial(n, p) — parameters (n, p), with n a non-negative integer, p in [0,1].

binomial(n, p) — parameters (n, p), with n a non-negative integer, p in [0,1].

Attributes

case ChiSquared extends DistKind

chisq(k) — parameter (k), the degrees of freedom, with k > 0.

chisq(k) — parameter (k), the degrees of freedom, with k > 0.

Attributes

case Exponential extends DistKind

exponential(lambda) — parameter (lambda), with lambda > 0.

exponential(lambda) — parameter (lambda), with lambda > 0.

Attributes

case Normal extends DistKind

normal(mu, sigma) — parameters (mu, sigma), with sigma > 0.

normal(mu, sigma) — parameters (mu, sigma), with sigma > 0.

Attributes

case Poisson extends DistKind

poisson(lambda) — parameter (lambda), with lambda > 0.

poisson(lambda) — parameter (lambda), with lambda > 0.

Attributes

case StudentT extends DistKind

studentt(nu) — parameter (nu), the degrees of freedom, with nu > 0.

studentt(nu) — parameter (nu), the degrees of freedom, with nu > 0.

Attributes

case Uniform extends DistKind

uniform(a, b) — parameters (a, b), with b > a.

uniform(a, b) — parameters (a, b), with b > a.

Attributes