Skip to content

NegativeBinomial

class NegativeBinomial(k:Expression<Integer>, ρ:Expression<Real>) < Distribution<Integer>

Negative binomial distribution.

Factory Functions

Name Description
NegativeBinomial Create negative binomial distribution.
NegativeBinomial Create negative binomial distribution.
NegativeBinomial Create negative binomial distribution.
NegativeBinomial Create negative binomial distribution.

Member Variables

Name Description
k:Expression<Integer> Number of successes before the experiment is stopped.
ρ:Expression<Real> Success probability.

Factory Function Details

function NegativeBinomial(k:Expression<Integer>, ρ:Expression<Real>) -> NegativeBinomial

Create negative binomial distribution.

function NegativeBinomial(k:Expression<Integer>, ρ:Real) -> NegativeBinomial

Create negative binomial distribution.

function NegativeBinomial(k:Integer, ρ:Expression<Real>) -> NegativeBinomial

Create negative binomial distribution.

function NegativeBinomial(k:Integer, ρ:Real) -> NegativeBinomial

Create negative binomial distribution.