Skip to content

Multinomial

class Multinomial(n:Expression<Integer>, ρ:Expression<Real[_]>) < Distribution<Integer[_]>

Multinomial distribution.

Factory Functions

Name Description
Multinomial Create multinomial distribution.
Multinomial Create multinomial distribution.
Multinomial Create multinomial distribution.
Multinomial Create multinomial distribution.

Member Variables

Name Description
n:Expression<Integer> Number of trials.
ρ:Expression<Real[_]> Category probabilities.

Factory Function Details

function Multinomial(n:Expression<Integer>, ρ:Expression<Real[_]>) -> Multinomial

Create multinomial distribution.

function Multinomial(n:Expression<Integer>, ρ:Real[_]) -> Multinomial

Create multinomial distribution.

function Multinomial(n:Integer, ρ:Expression<Real[_]>) -> Multinomial

Create multinomial distribution.

function Multinomial(n:Integer, ρ:Real[_]) -> Multinomial

Create multinomial distribution.