class Statistics::NegativeBinomial
- Statistics::NegativeBinomial
- Statistics::DiscreteDistribution
- Reference
- Object
Defined in:
Constructors
Class Method Summary
Instance Method Summary
- #cdf(x : Int) : Float64
- #n : Float64
- #n=(n : Float64)
- #p : Float64
- #p=(p : Float64)
- #pdf(x : Int) : Float64
- #sample(rng : Random | Nil = nil) : Int
Instance methods inherited from class Statistics::DiscreteDistribution
sample(rng : Random | Nil = nil) : Intsample(n : Int32, rng : Random | Nil = nil) sample