Skip to content

NegativeBinomial


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

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>) -> Distribution<Integer>

Create negative binomial distribution.

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

Create negative binomial distribution.

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

Create negative binomial distribution.

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

Create negative binomial distribution.