Documentation ¶
Overview ¶
Probability distributions.
Copyright 2012 The Probab Authors. All rights reserved. See the LICENSE file.
Index ¶
- Constants
- Variables
- func Bernoulli(ρ float64) func() int64
- func BernoulliCDF(ρ float64) func(k int64) float64
- func BernoulliCDFAt(ρ float64, k int64) float64
- func BernoulliLnPMF(ρ float64) func(k int64) float64
- func BernoulliNext(ρ float64) int64
- func BernoulliPMF(ρ float64) func(k int64) float64
- func BernoulliPMFAt(ρ float64, k int64) float64
- func Beta(α, β float64) func() float64
- func Beta4(α, β, a, c float64) func() float64
- func Beta4CDF(α, β, a, c float64) func(y float64) float64
- func Beta4CDFAt(α, β, a, c, x float64) float64
- func Beta4Next(α, β, a, c float64) float64
- func Beta4PDF(α, β, a, c float64) func(y float64) float64
- func Beta4PDFAt(α, β, a, c, x float64) float64
- func Beta4Qtl(α, β, a, c float64) func(p float64) float64
- func Beta4QtlFor(α, β, a, c, p float64) float64
- func Beta4Transform(a, b, x float64) float64
- func BetaCDF(α, β float64) func(x float64) float64
- func BetaCDFAt(α, β, x float64) float64
- func BetaExKurt(α, β float64) float64
- func BetaLnPDF(α, β float64) func(x float64) float64
- func BetaMean(α, β float64) (μ float64)
- func BetaMedian(α, β float64) (med float64)
- func BetaMedianApprox(α, β float64) float64
- func BetaMode(α, β float64) float64
- func BetaNext(α, β float64) float64
- func BetaPDF(α, β float64) func(x float64) float64
- func BetaPDFAt(α, β, x float64) float64
- func BetaQtl(α, β float64) func(p float64) float64
- func BetaQtlFor(α, β, p float64) float64
- func BetaReparamMeanStd(μ, σ float64) (α, β float64)
- func BetaSkew(α, β float64) (s float64)
- func BetaStd(α, β float64) float64
- func BetaVar(α, β float64) float64
- func Betaμν(μ, ν float64) func() float64
- func BetaμνCDF(μ, ν float64) func(x float64) float64
- func BetaμνCDFAt(μ, ν, x float64) float64
- func BetaμνLnPDF(μ, ν float64) func(x float64) float64
- func BetaμνNext(μ, ν float64) float64
- func BetaμνPDF(μ, ν float64) func(x float64) float64
- func BetaμνPDFAt(μ, ν, x float64) float64
- func BetaμνQtl(μ, ν float64) func(p float64) float64
- func BetaμνQtlFor(μ, ν, p float64) float64
- func Betaμσ(μ, σ float64) func() float64
- func BetaμσCDF(μ, σ float64) func(x float64) float64
- func BetaμσCDFAt(μ, σ, x float64) float64
- func BetaμσLnPDF(μ, σ float64) func(x float64) float64
- func BetaμσNext(μ, σ float64) float64
- func BetaμσPDF(μ, σ float64) func(x float64) float64
- func BetaμσPDFAt(μ, σ, x float64) float64
- func BetaμσQtl(μ, σ float64) func(p float64) float64
- func BetaμσQtlFor(μ, σ, p float64) float64
- func Binomial(n int64, p float64) func() int64
- func BinomialCDF(n int64, p float64) func(k int64) float64
- func BinomialCDFAt(n int64, p float64, k int64) float64
- func BinomialExKurt(n int64, p float64) float64
- func BinomialLnPMF(n int64, p float64) func(k int64) float64
- func BinomialMGF(n int64, p, t float64) float64
- func BinomialMean(n int64, p float64) float64
- func BinomialMedian(n int64, p float64) float64
- func BinomialMode(n int64, p float64) float64
- func BinomialNext(n int64, p float64) (x int64)
- func BinomialPGF(n int64, p, z float64) float64
- func BinomialPMF(n int64, p float64) func(k int64) float64
- func BinomialPMFAt(n int64, p float64, k int64) float64
- func BinomialQtl(n int64, ρ float64) func(p float64) int64
- func BinomialQtlFor(n int64, ρ, p float64) int64
- func BinomialSkew(n int64, p float64) float64
- func BinomialStd(n int64, p float64) float64
- func BinomialVar(n int64, p float64) float64
- func CRPLnPMF(α float64) func(x []int64) float64
- func CRPPMF(α float64) func(x []int64) float64
- func Cauchy(δ, γ float64) func() float64
- func CauchyCDF(δ, γ float64) func(x float64) float64
- func CauchyCDFAt(δ, γ, x float64) float64
- func CauchyLnCDF(δ, γ float64) func(x float64) float64
- func CauchyLnPDF(δ, γ float64) func(x float64) float64
- func CauchyMedian(δ, γ float64) float64
- func CauchyMode(δ, γ float64) float64
- func CauchyNext(δ, γ float64) float64
- func CauchyPDF(δ, γ float64) func(x float64) float64
- func CauchyPDFAt(δ, γ, x float64) float64
- func CauchyQtl(δ, γ float64) func(p float64) float64
- func CauchyQtlFor(δ, γ, p float64) float64
- func ChiSquare(n int64) func() float64
- func ChiSquareCDF(n int64) func(x float64) float64
- func ChiSquareCDFAt(n int64, x float64) float64
- func ChiSquareExKurt(n int64) float64
- func ChiSquareLnPDF(n int64) func(x float64) float64
- func ChiSquareMean(n int64) float64
- func ChiSquareMedian(n int64) float64
- func ChiSquareMode(n int64) float64
- func ChiSquareNext(n int64) (x float64)
- func ChiSquarePDF(n int64) func(x float64) float64
- func ChiSquarePDFAt(n int64, x float64) float64
- func ChiSquareQtl(n int64) func(p float64) float64
- func ChiSquareSkew(n int64) float64
- func ChiSquareStd(n int64) float64
- func ChiSquareVar(n int64) float64
- func Choice(θ []float64) func() int64
- func ChoiceLnPMF(θ []float64) func(i int64) float64
- func ChoiceNext(θ []float64) int64
- func ChoicePMF(θ []float64) func(i int64) float64
- func Dirichlet(α []float64) func() []float64
- func DirichletLnPDF(α []float64) func(x []float64) float64
- func DirichletMean(α []float64) []float64
- func DirichletMode(α []float64) []float64
- func DirichletNext(α []float64) []float64
- func DirichletPDF(α []float64) func(θ []float64) float64
- func DirichletPDFAt(α, θ []float64) float64
- func DirichletVar(α []float64) []float64
- func Exponential(λ float64) func() float64
- func ExponentialCDF(λ float64) func(x float64) float64
- func ExponentialCDFAt(λ, x float64) float64
- func ExponentialExKurt(λ float64) float64
- func ExponentialLnPDF(λ float64) func(x float64) float64
- func ExponentialMGF(λ, p, t float64) float64
- func ExponentialMean(λ float64) float64
- func ExponentialMedian(λ float64) (med float64)
- func ExponentialMode(λ float64) float64
- func ExponentialNext(λ float64) float64
- func ExponentialPDF(λ float64) func(x float64) float64
- func ExponentialPDFAt(λ, x float64) float64
- func ExponentialQtl(λ float64) func(p float64) float64
- func ExponentialQtlFor(λ, p float64) float64
- func ExponentialSkew(λ float64) (s float64)
- func ExponentialStd(λ float64) float64
- func ExponentialVar(λ float64) float64
- func F(d1, d2 int64) func() float64
- func FCDF(d1, d2 int64) func(x float64) float64
- func FCDFAt(d1, d2 int64, x float64) float64
- func FExKurt(d1, d2 int64) float64
- func FLnPDF(d1, d2 int64) func(x float64) float64
- func FMean(d1, d2 int64) float64
- func FMode(d1, d2 int64) float64
- func FNext(d1, d2 int64) float64
- func FPDF(d1, d2 int64) func(x float64) float64
- func FPDFAt(d1, d2 int64, x float64) float64
- func FQtl(d1, d2 int64) func(p float64) float64
- func FQtlFor(d1, d2 int64, p float64) float64
- func FSkew(d1, d2 int64) float64
- func FStd(d1, d2 int64) float64
- func FVar(d1, d2 int64) float64
- func Gamma(α, θ float64) func() float64
- func GammaCDF(α float64, θ float64) func(x float64) float64
- func GammaCDFAt(α, θ, x float64) float64
- func GammaLnCDF(α float64, θ float64) func(x float64) float64
- func GammaLnCDFAt(α, θ, x float64) float64
- func GammaLnPDF(α float64, θ float64) func(x float64) float64
- func GammaLnPDF2(α float64, θ float64) func(x float64) float64
- func GammaLnPDFAt(α, θ, x float64) float64
- func GammaMean(α, θ float64) float64
- func GammaMode(α, θ float64) float64
- func GammaNext(α float64, θ float64) float64
- func GammaPDF(α float64, θ float64) func(x float64) float64
- func GammaPDF2(α, θ float64) func(x float64) float64
- func GammaPDFAt(k, θ, x float64) float64
- func GammaQtl(alpha, scale float64) func(p float64) float64
- func GammaQtlFor(k, θ, p float64) float64
- func GammaRateToScale(β float64) (θ float64)
- func GammaReparamMeanStd(mean, sd float64) (α, θ float64)
- func GammaReparamModeStd(mode, sd float64) (α, θ float64)
- func GammaSkew(α, θ float64) float64
- func GammaStd(α, θ float64) float64
- func GammaVar(α, θ float64) float64
- func GaussianRatioApproxCDF(μX, σX, μY, σY, ρ float64) func(z float64) float64
- func GaussianRatioNoCorrPDF(μX, σX, μY, σY float64) func(z float64) float64
- func GaussianRatioNoCorrPDFAt(μX, σX, μY, σY, x float64) float64
- func GaussianRatioPDF(μX, σX, μY, σY, ρ float64) func(z float64) float64
- func GaussianRatioPDFAt(μX, σX, μY, σY, ρ, x float64) float64
- func GearyHinkleyTransformation(z, μX, σX, μY, σY, ρ float64) float64
- func Geometric1CDF(ρ float64) func(k int64) float64
- func Geometric1CDFAt(ρ float64, k int64) float64
- func Geometric1ExKurt(ρ float64) float64
- func Geometric1LnPMF(ρ float64) func(k int64) float64
- func Geometric1MGF(ρ, t float64) float64
- func Geometric1Mean(ρ float64) float64
- func Geometric1Mode(ρ float64) float64
- func Geometric1PMF(ρ float64) func(k int64) float64
- func Geometric1PMFAt(ρ float64, k int64) float64
- func Geometric1Skew(ρ float64) float64
- func Geometric1Std(ρ float64) float64
- func Geometric1Var(ρ float64) float64
- func GeometricCDF(ρ float64) func(k int64) float64
- func GeometricCDFAt(ρ float64, k int64) float64
- func GeometricExKurt(ρ float64) float64
- func GeometricLnPMF(ρ float64) func(k int64) float64
- func GeometricMGF(ρ, t float64) float64
- func GeometricMean(ρ float64) float64
- func GeometricMode(ρ float64) float64
- func GeometricPMF(ρ float64) func(k int64) float64
- func GeometricPMFAt(ρ float64, k int64) float64
- func GeometricSkew(ρ float64) float64
- func GeometricStd(ρ float64) float64
- func GeometricVar(ρ float64) float64
- func HypergeometricApproxCDF(nN, m, n int64) func(k int64) float64
- func HypergeometricApproxCDFAt(nN, m, n, k int64) float64
- func HypergeometricApproxPMF(nN, m, n int64) func(k int64) float64
- func HypergeometricApproxPMFAt(nN, m, n, k int64) float64
- func HypergeometricCDF(nN, m, n int64) func(k int64) float64
- func HypergeometricCDFAt(nN, m, n, k int64) float64
- func HypergeometricExKurt(nN, m, n int64) float64
- func HypergeometricLnPMF(nN, m, n int64) func(k int64) float64
- func HypergeometricMean(nN, m, n int64) float64
- func HypergeometricMode(nN, m, n int64) float64
- func HypergeometricPMF(nN, m, n int64) func(k int64) float64
- func HypergeometricPMFAt(nN, m, n, k int64) float64
- func HypergeometricQtl(nN, m, n int64) func(p float64) float64
- func HypergeometricQtlFor(nN, m, n int64, p float64) float64
- func HypergeometricSkew(nN, m, n int64) float64
- func HypergeometricStd(nN, m, n int64) float64
- func HypergeometricVar(nN, m, n int64) float64
- func InvGammaCDF(α, β float64) func(x float64) float64
- func InvGammaCDFAt(α, β, x float64) float64
- func InvGammaExKurt(α, β float64) float64
- func InvGammaLnPDF(α, β float64) func(x float64) float64
- func InvGammaMean(α, β float64) float64
- func InvGammaMode(α, β float64) float64
- func InvGammaPDF(α, β float64) func(x float64) float64
- func InvGammaPDFAt(α, β, x float64) float64
- func InvGammaQtl(α, β float64) func(p float64) float64
- func InvGammaQtlFor(δ, γ, p float64) float64
- func InvGammaSkew(α, β float64) (s float64)
- func InvGammaStd(α, β float64) float64
- func InvGammaVar(α, β float64) float64
- func InverseWishart(n int, V *m.DenseMatrix) func() *m.DenseMatrix
- func InverseWishartLnPDF(n int, Ψ *m.DenseMatrix) func(W *m.DenseMatrix) float64
- func InverseWishartNext(n int, V *m.DenseMatrix) *m.DenseMatrix
- func InverseWishartPDF(n int, Ψ *m.DenseMatrix) func(B *m.DenseMatrix) float64
- func Levy(δ, γ float64) func() float64
- func LevyCDF(δ, γ float64) func(x float64) float64
- func LevyCDFAt(δ, γ, x float64) float64
- func LevyLnPDF(δ, γ float64) func(x float64) float64
- func LevyMean(δ, γ float64) float64
- func LevyMedian(δ, γ float64) float64
- func LevyMode(δ, γ float64) float64
- func LevyNext(δ, γ float64) float64
- func LevyPDF(δ, γ float64) func(x float64) float64
- func LevyPDFAt(δ, γ, x float64) float64
- func LevyQtl(δ, γ float64) func(p float64) float64
- func LevyQtlFor(δ, γ, p float64) float64
- func LevyStd(δ, γ float64) float64
- func LevyVar(δ, γ float64) float64
- func LnPoissonCDFAn(λ float64) func(k int64) float64
- func LnRangePMF(n int64) func(i int64) float64
- func LogChoice(lws []float64) func() int64
- func LogChoiceNext(lws []float64) int64
- func LogNormal(μ, σ float64) func() float64
- func LogNormalCDF(μ, σ float64) func(x float64) float64
- func LogNormalCDFAt(μ, σ, x float64) float64
- func LogNormalExKurt(μ, σ float64) float64
- func LogNormalMean(μ, σ float64) float64
- func LogNormalMedian(μ, σ float64) float64
- func LogNormalMode(μ, σ float64) float64
- func LogNormalNext(μ, σ float64) float64
- func LogNormalPDF(μ, σ float64) func(x float64) float64
- func LogNormalPDFAt(μ, σ, x float64) float64
- func LogNormalQtl(μ, σ float64) func(p float64) float64
- func LogNormalQtlFor(μ, σ, p float64) float64
- func LogNormalSkew(μ, σ float64) float64
- func LogNormalStd(μ, σ float64) float64
- func LogNormalVar(μ, σ float64) float64
- func Logistic(μ, σ float64) func() float64
- func LogisticCDF(μ, σ float64) func(x float64) float64
- func LogisticCDFAt(μ, σ, x float64) float64
- func LogisticExKurt(μ, σ float64) float64
- func LogisticLnCDF(μ, σ float64) func(x float64) float64
- func LogisticLnPDF(μ, σ float64) func(x float64) float64
- func LogisticMGF(μ, σ, t float64) float64
- func LogisticMean(μ, σ float64) float64
- func LogisticMedian(μ, σ float64) float64
- func LogisticMode(μ, σ float64) float64
- func LogisticNext(μ, σ float64) float64
- func LogisticPDF(μ, σ float64) func(x float64) float64
- func LogisticPDFAt(μ, σ, x float64) float64
- func LogisticQtl(μ, σ float64) func(p float64) float64
- func LogisticQtlFor(μ, σ, p float64) float64
- func LogisticSkew(μ, σ float64) float64
- func LogisticStd(μ, σ float64) float64
- func LogisticVar(μ, σ float64) float64
- func MVNormal(μ *DenseMatrix, Σ *DenseMatrix) func() *DenseMatrix
- func MVNormalMean(μ *DenseMatrix, Σ *DenseMatrix) *DenseMatrix
- func MVNormalMode(μ *DenseMatrix, Σ *DenseMatrix) *DenseMatrix
- func MVNormalNext(μ *DenseMatrix, Σ *DenseMatrix) *DenseMatrix
- func MVNormalPDF(μ *DenseMatrix, Σ *DenseMatrix) func(x *DenseMatrix) float64
- func MVNormalVar(μ *DenseMatrix, Σ *DenseMatrix) *DenseMatrix
- func MatrixNormal(M, Omega, Sigma *mx.DenseMatrix) func() (X *mx.DenseMatrix)
- func MatrixNormalLnPDF(M, Omega, Sigma *mx.DenseMatrix) func(A *mx.DenseMatrix) float64
- func MatrixNormalNext(M, Omega, Sigma *mx.DenseMatrix) (X *mx.DenseMatrix)
- func MatrixNormalPDF(M, Omega, Sigma *mx.DenseMatrix) func(A *mx.DenseMatrix) float64
- func MatrixT(M, Omega, Sigma *mx.DenseMatrix, n int) func() (T *mx.DenseMatrix)
- func MatrixTLnPDF(M, Omega, Sigma *mx.DenseMatrix, n int) func(T *mx.DenseMatrix) (ll float64)
- func MatrixTNext(M, Omega, Sigma *mx.DenseMatrix, n int) (T *mx.DenseMatrix)
- func MatrixTPDF(M, Omega, Sigma *mx.DenseMatrix, n int) func(T *mx.DenseMatrix) (l float64)
- func Multinomial(θ []float64, n int64) func() []int64
- func MultinomialLnPMF(θ []float64, n int64) func(x []int64) float64
- func MultinomialMGF(θ []float64, n int64, t []float64) float64
- func MultinomialMean(θ []float64, n int64) []float64
- func MultinomialNext(θ []float64, n int64) []int64
- func MultinomialPGF(θ []float64, n int64, z []float64) float64
- func MultinomialPMF(θ []float64, n int64) func(x []int64) float64
- func MultinomialPMFAt(θ []float64, n int64, x []int64) float64
- func MultinomialStd(θ []float64, n int64) []float64
- func MultinomialVar(θ []float64, n int64) []float64
- func NegBinomial(ρ float64, r int64) func() int64
- func NegBinomialCDF(ρ float64, r int64) func(k int64) float64
- func NegBinomialCDFAt(ρ float64, r, k int64) float64
- func NegBinomialExKurt(ρ float64, r int64) float64
- func NegBinomialLnPMF(ρ float64, r int64) func(i int64) float64
- func NegBinomialMGF(ρ float64, r int64, t float64) float64
- func NegBinomialMean(ρ float64, r int64) float64
- func NegBinomialMode(ρ float64, r int64) float64
- func NegBinomialNext(ρ float64, r int64) int64
- func NegBinomialPGF(ρ float64, r int64, z float64) float64
- func NegBinomialPMF(ρ float64, r int64) func(k int64) float64
- func NegBinomialPMFAt(ρ float64, r, k int64) float64
- func NegBinomialQtl(ρ float64, r int64) func(p float64) int64
- func NegBinomialQtlFor(ρ float64, r int64, p float64) int64
- func NegBinomialSkew(ρ float64, r int64) float64
- func NegBinomialStd(ρ float64, r int64) float64
- func NegBinomialVar(ρ float64, r int64) float64
- func Normal(μ, σ float64) func() float64
- func NormalCDF(μ, σ float64) func(x float64) float64
- func NormalCDFAt(μ, σ, x float64) float64
- func NormalExKurt(μ, σ float64) float64
- func NormalLnPDF(μ, σ float64) func(x float64) float64
- func NormalMGF(μ, σ, t float64) float64
- func NormalMean(μ, σ float64) float64
- func NormalMedian(μ, σ float64) float64
- func NormalMode(μ, σ float64) float64
- func NormalNext(μ, σ float64) float64
- func NormalPDF(μ, σ float64) func(x float64) float64
- func NormalPDFAt(μ, σ, x float64) float64
- func NormalQtl(μ, σ float64) func(p float64) float64
- func NormalQtlFor(μ, σ, p float64) float64
- func NormalSkew(μ, σ float64) float64
- func NormalStd(μ, σ float64) float64
- func NormalVar(μ, σ float64) float64
- func Pareto(θ, α float64) func() float64
- func ParetoCDF(θ, α float64) func(x float64) float64
- func ParetoCDFAt(θ, α, x float64) float64
- func ParetoChkParams(θ, α float64) bool
- func ParetoChkSupport(x float64) bool
- func ParetoExKurt(θ, α float64) float64
- func ParetoGCDF(shape1, shape2, scale float64) func(x float64) float64
- func ParetoGCDFAt(shape1, shape2, scale, x float64) float64
- func ParetoGExKurt(shape1, shape2, scale float64) float64
- func ParetoGMean(shape1, shape2, scale float64) float64
- func ParetoGMoment(shape1, shape2, scale float64, order int) (x float64)
- func ParetoGNext(shape1, shape2, scale float64) float64
- func ParetoGPDF(shape1, shape2, scale float64) func(x float64) (p float64)
- func ParetoGPDFAt(shape1, shape2, scale, x float64) float64
- func ParetoGQtl(shape1, shape2, scale float64) func(p float64) float64
- func ParetoGSkew(shape1, shape2, scale float64) float64
- func ParetoGVar(shape1, shape2, scale float64) float64
- func ParetoII(θ, α float64) func() float64
- func ParetoIICDF(θ, α float64) func(x float64) float64
- func ParetoIICDFAt(θ, α, q, x float64) float64
- func ParetoIIChkParams(θ, α float64) bool
- func ParetoIIChkSupport(x float64) bool
- func ParetoIIExKurt(θ, α float64) float64
- func ParetoIIMean(θ, α float64) float64
- func ParetoIIMoment(θ, α float64, order int) float64
- func ParetoIINext(θ, α float64) float64
- func ParetoIIPDF(θ, α float64) func(x float64) float64
- func ParetoIIPDFAt(θ, α, x float64) float64
- func ParetoIIQtl(θ, α float64) func(p float64) float64
- func ParetoIIQtlFor(θ, α, p float64) float64
- func ParetoIISkew(θ, α float64) float64
- func ParetoIIVar(θ, α float64) float64
- func ParetoMGF(θ, α, t float64) float64
- func ParetoMean(θ, α float64) float64
- func ParetoMedian(θ, α float64) float64
- func ParetoMode(θ, α float64) float64
- func ParetoNext(θ, α float64) (x float64)
- func ParetoPDF(θ, α float64) func(x float64) float64
- func ParetoPDFAt(θ, α, x float64) float64
- func ParetoQtl(θ, α float64) func(p float64) float64
- func ParetoQtlFor(θ, α, p float64) float64
- func ParetoSing(α, μ float64) func() float64
- func ParetoSingCDF(α, μ float64) func(x float64) float64
- func ParetoSingCDFAt(α, μ, x float64) float64
- func ParetoSingChkParams(α, μ float64) bool
- func ParetoSingChkSupport(x, μ float64) bool
- func ParetoSingExKurt(α, μ float64) float64
- func ParetoSingMean(α, μ float64) float64
- func ParetoSingMoment(α, μ float64, order int) float64
- func ParetoSingNext(α, μ float64) float64
- func ParetoSingPDF(α, μ float64) func(x float64) float64
- func ParetoSingPDFAt(α, μ, x float64) float64
- func ParetoSingQtl(α, μ float64) func(p float64) float64
- func ParetoSingQtlFor(α, μ, p float64) float64
- func ParetoSingSkew(α, μ float64) float64
- func ParetoSingVar(α, μ float64) float64
- func ParetoSkew(θ, α float64) float64
- func ParetoStd(θ, α float64) float64
- func ParetoTap(θ, α, taper float64) func() float64
- func ParetoTapCDF(θ, α, taper float64) func(x float64) float64
- func ParetoTapCDFAt(θ, α, taper, x float64) float64
- func ParetoTapChkParams(θ, α, taper float64) bool
- func ParetoTapChkSupport(x float64) bool
- func ParetoTapNext(θ, α, taper float64) float64
- func ParetoTapPDF(θ, α, taper float64) func(x float64) float64
- func ParetoTapPDFAt(θ, α, taper, x float64) float64
- func ParetoTapQtl(θ, α, taper float64) func(p float64) float64
- func ParetoTapQtlFor(θ, α, taper, p float64) float64
- func ParetoVar(θ, α float64) float64
- func Planck(a, b float64) func() float64
- func PlanckNext(a, b float64) (x float64)
- func PlanckPDF(a, b float64) func(x float64) float64
- func Poisson(λ float64) func() int64
- func PoissonCDF(λ float64) func(k int64) float64
- func PoissonCDFAn(λ float64) func(k int64) float64
- func PoissonCDFAt(λ float64, k int64) float64
- func PoissonExKurt(λ float64, k int64) float64
- func PoissonLnPMF(λ float64) func(k int64) float64
- func PoissonMean(λ float64, k int64) float64
- func PoissonMedian(λ float64, k int64) float64
- func PoissonMode(λ float64, k int64) float64
- func PoissonNext(λ float64) int64
- func PoissonNext2(λ float64) int64
- func PoissonPMF(λ float64) func(k int64) float64
- func PoissonPMFAt(λ float64, k int64) float64
- func PoissonSkew(λ float64, k int64) float64
- func PoissonVar(λ float64, k int64) float64
- func PolyaCDF(ρ, r float64) func(k int64) float64
- func PolyaCDFAt(ρ, r float64, k int64) float64
- func PolyaExKurt(ρ, r float64) float64
- func PolyaMGF(ρ, r float64, t float64) float64
- func PolyaMean(ρ, r float64) float64
- func PolyaMode(ρ, r float64) float64
- func PolyaPGF(ρ, r float64, z float64) float64
- func PolyaPMF(ρ, r float64) func(k int64) float64
- func PolyaPMFAt(ρ, r float64, k int64) float64
- func PolyaQtl(ρ, r float64) func(p float64) int64
- func PolyaQtlFor(ρ, r float64, p float64) int64
- func PolyaSkew(ρ, r float64) float64
- func PolyaStd(ρ, r float64) float64
- func PolyaVar(ρ, r float64) float64
- func Range(n int64) func() int64
- func RangeNext(n int64) int64
- func RangePMF(n int64) func(i int64) float64
- func RejectionSample(targetDensity func(float64) float64, sourceDensity func(float64) float64, ...) float64
- func Shuffle(x []interface{})
- func ShuffleFloat64(x []float64)
- func ShuffleInt64(x []int64)
- func StudentsT(ν float64) func() float64
- func StudentsTCDF(ν float64) func(x float64) float64
- func StudentsTCDFAt(ν, x float64) float64
- func StudentsTExKurt(ν float64) float64
- func StudentsTLnPDF(ν float64) func(x float64) float64
- func StudentsTMean(ν float64) float64
- func StudentsTMedian(ν float64) float64
- func StudentsTMode(ν float64) float64
- func StudentsTNext(ν float64) float64
- func StudentsTPDF(ν float64) func(x float64) float64
- func StudentsTQtl(ν float64) func(p float64) float64
- func StudentsTQtlFor(ν, p float64) float64
- func StudentsTSkew(ν float64) float64
- func StudentsTStd(ν float64) float64
- func StudentsTVar(ν float64) float64
- func Uniform(a, b float64) func() float64
- func UniformCDF(a, b float64) func(x float64) float64
- func UniformCDFAt(a, b, x float64) float64
- func UniformExKurt(a, b float64) float64
- func UniformLnPDF(a, b float64) func(x float64) float64
- func UniformMGF(a, b, t float64) float64
- func UniformMean(a, b float64) float64
- func UniformMedian(a, b float64) float64
- func UniformNext(a, b float64) float64
- func UniformPDF(a, b float64) func(x float64) float64
- func UniformPDFAt(a, b, x float64) float64
- func UniformReparamMeanStd(mean, std float64) (a, b float64)
- func UniformSkew(a, b float64) (s float64)
- func UniformStd(a, b float64) float64
- func UniformVar(a, b float64) float64
- func Wishart(n int, V *m.DenseMatrix) func() *m.DenseMatrix
- func WishartLnPDF(n int, V *m.DenseMatrix) func(W *m.DenseMatrix) float64
- func WishartNext(n int, V *m.DenseMatrix) *m.DenseMatrix
- func WishartPDF(n int, V *m.DenseMatrix) func(W *m.DenseMatrix) float64
- func Yule(a float64) func() int64
- func YuleCDF(a float64) func(k int64) float64
- func YuleCDFAt(a float64, k int64) float64
- func YuleExKurt(a float64) float64
- func YuleMean(a float64) float64
- func YuleMode(a float64) float64
- func YuleNext(a float64) (k int64)
- func YulePMF(a float64) func(k int64) float64
- func YulePMFAt(a float64, k int64) float64
- func YuleSkew(a float64) float64
- func YuleStd(a float64) float64
- func YuleVar(a float64) float64
- func ZCDF() func(float64) float64
- func ZCDFAt(x float64) float64
- func ZPDF() func(float64) float64
- func ZPDFAt(x float64) float64
- func ZQtl() func(p float64) float64
- func ZQtlFor(p float64) float64
- func Zeta(s float64) func() int64
- func ZetaCDF(s float64) func(k int64) float64
- func ZetaCDFAt(s float64, k int64) float64
- func ZetaMean(s float64) float64
- func ZetaMode() float64
- func ZetaNext(s float64) (k int64)
- func ZetaPMF(s float64) func(k int64) float64
- func ZetaPMFAt(s float64, k int64) float64
- func ZetaVar(s float64) float64
- func ZipfMandelbrot(n int64, q, s float64) func() int64
- func ZipfMandelbrotCDF(n int64, q, s float64) func(k int64) float64
- func ZipfMandelbrotCDFAt(n int64, q, s float64, k int64) float64
- func ZipfMandelbrotChkParams(n int64, q, s float64) bool
- func ZipfMandelbrotMean(n int64, q, s float64) float64
- func ZipfMandelbrotNext(n int64, q, s float64) (k int64)
- func ZipfMandelbrotPMF(n int64, q, s float64) func(k int64) float64
- func ZipfMandelbrotPMFAt(n int64, q, s float64, k int64) float64
- func ZipfMandelbrotQtl(n int64, q, s float64) func(p float64) int64
Constants ¶
const Ln2 = math.Ln2
const M_1_SQRT_2PI = 0.398942280401432677939946059934 // 1/sqrt(2pi)
const M_LN_SQRT_2PI = 0.918938533204672741780329736406 // log(sqrt(2*pi))
const M_cutoff = Ln2 * maxExp / eps64
If |x| > |k| * M_cutoff, then log[ exp(-x) * k^x ] =~= -x
Variables ¶
var BinomCoeff func(int64, int64) float64 = fn.BinomCoeff
var LnΓ func(float64) float64 = fn.LnΓ
var NaN = math.NaN()
var Γ func(float64) float64 = fn.Γ
Functions imported from "github.com/imbuba/go-fn/fn".
var Γpr func(int, float64, float64) float64 = fn.GammaPRatio
Functions ¶
func BernoulliCDF ¶
BernoulliCDF returns the value of CDF of the Bernoulli distribution, at x.
func BernoulliCDFAt ¶
BernoulliCDFAt returns the value of CDF of the Bernoulli distribution, at x.
func BernoulliLnPMF ¶
BernoulliLnPMF returns the natural logarithm of the PMF of the Bernoulli distribution.
func BernoulliNext ¶
BernoulliNext returns random number drawn from the Bernoulli distribution.
func BernoulliPMF ¶
BernoulliPMF returns the PMF of the Bernoulli distribution.
func BernoulliPMFAt ¶
BernoulliPMFAt returns the value of PMF of Bernoulli distribution at x.
func Beta4CDFAt ¶
Beta4CDFAt returns the value of CDF of the four-parameter Beta distribution, at x.
func Beta4PDFAt ¶
Beta4PDFAt returns the value of PDF of four-parameter Beta distribution at x.
func Beta4Qtl ¶
Beta4Qtl returns the inverse of the CDF (quantile) of the four-parameter Beta distribution.
func Beta4QtlFor ¶
Beta4QtlFor returns the inverse of the CDF (quantile) of the four-parameter Beta distribution, for a given probability.
func Beta4Transform ¶
Beta4Transform transforms Beta Distribution with the support [0,1] to a Beta Distribution with the support [a, b].
func BetaExKurt ¶
BetaExKurt returns the excess kurtosis of the Beta distribution.
func BetaMedian ¶
BetaMedian returns the median of the Beta distribution.
func BetaMedianApprox ¶
BetaMedianApprox returns the approximate median of the Beta distribution.
func BetaQtlFor ¶
BetaQtlFor returns the inverse of the CDF (quantile) of the Beta distribution, for given probability.
func BetaReparamMeanStd ¶
BetaReparamMeanStd returns the parameters α, β of the Beta distribution calculated from desired mean and standard deviation. To be used to reparametrize the Beta distribution.
func Betaμν ¶
Betaμν returns the random number generator with Beta distribution reparametrized using mean and sample size.
func BetaμνCDF ¶
BetaμνCDF returns the CDF of the Beta distribution reparametrized using mean and sample size.
func BetaμνCDFAt ¶
BetaμνCDFAt returns the value of CDF of the Beta distribution reparametrized using mean and sample size, at x.
func BetaμνLnPDF ¶
BetaμνLnPDF returns the natural logarithm of the PDF of the Beta distribution reparametrized using mean and sample size.
func BetaμνNext ¶
BetaμνNext returns random number drawn from the Beta distribution reparametrized using mean and sample size.
func BetaμνPDF ¶
BetaμνPDF returns the PDF of the Beta distribution reparametrized using mean and sample size.
func BetaμνPDFAt ¶
BetaμνPDFAt returns the value of PDF of Beta distribution at x.
func BetaμνQtl ¶
BetaμνQtl returns the inverse of the CDF (quantile) of the Beta distribution reparametrized using mean and sample size.
func BetaμνQtlFor ¶
BetaμνQtlFor returns the inverse of the CDF (quantile) of the Beta distribution reparametrized using mean and sample size, for a given probability.
func Betaμσ ¶
Betaμσ returns the random number generator with Beta distribution reparametrized using mean and standard deviation.
func BetaμσCDF ¶
BetaμσCDF returns the CDF of the Beta distribution reparametrized using mean and standard deviation.
func BetaμσCDFAt ¶
BetaμσCDFAt returns the value of CDF of the Beta distribution reparametrized using mean and standard deviation, at x.
func BetaμσLnPDF ¶
BetaμσLnPDF returns the natural logarithm of the PDF of the Beta distribution reparametrized using mean and standard deviation.
func BetaμσNext ¶
BetaμσNext returns random number drawn from the Beta distribution reparametrized using mean and standard deviation.
func BetaμσPDF ¶
BetaμσPDF returns the PDF of the Beta distribution reparametrized using mean and standard deviation.
func BetaμσPDFAt ¶
BetaμσPDFAt returns the value of PDF of Beta distribution at x.
func BetaμσQtl ¶
BetaμσQtl returns the inverse of the CDF (quantile) of the Beta distribution reparametrized using mean and standard deviation.
func BetaμσQtlFor ¶
BetaμσQtlFor returns the inverse of the CDF (quantile) of the Beta distribution reparametrized using mean and standard deviation, for a given probability.
func BinomialCDF ¶
BinomialCDF returns the CDF of the Binomial distribution.
func BinomialCDFAt ¶
BinomialCDFAt returns the value of CDF of the Binomial distribution, at k.
func BinomialExKurt ¶
BinomialExKurt returns the excess kurtosis of the Binomial distribution.
func BinomialLnPMF ¶
BinomialLnPMF returns the natural logarithm of the PMF of the Binomial distribution.
func BinomialMGF ¶
BinomialMGF returns the moment-generating function of the Binomial distribution.
func BinomialMean ¶
BinomialMean returns the mean of the Binomial distribution.
func BinomialMedian ¶
BinomialMedian returns the median of the Binomial distribution.
func BinomialMode ¶
BinomialMode returns the mode of the Binomial distribution.
func BinomialNext ¶
BinomialNext returns random number drawn from the Binomial distribution.
func BinomialPGF ¶
BinomialPGF returns the probability-generating function of the Binomial distribution.
func BinomialPMF ¶
BinomialPMF returns the PMF of the Binomial distribution.
func BinomialPMFAt ¶
BinomialPMFAt returns the value of PMF of Binomial distribution at k.
func BinomialQtl ¶
BinomialQtl returns the inverse of the CDF (quantile) of the Binomial distribution.
func BinomialQtlFor ¶
BinomialQtlFor returns the inverse of the CDF (quantile) of the Negative binomial distribution, for given probability.
func BinomialSkew ¶
BinomialSkew returns the skewness of the Binomial distribution.
func BinomialStd ¶
BinomialStd returns the standard deviation of the Binomial distribution.
func BinomialVar ¶
BinomialVar returns the variance of the Binomial distribution.
func CauchyCDFAt ¶
CauchyCDFAt returns the value of CDF of the Cauchy distribution, at x.
func CauchyLnCDF ¶
CauchyLnCDF returns the CDF of the Cauchy distribution.
func CauchyLnPDF ¶
CauchyLnPDF returns the natural logarithm of the PDF of the Cauchy distribution.
func CauchyMedian ¶
CauchyMedian returns the median of the Cauchy distribution.
func CauchyMode ¶
CauchyMode returns the mode of the Cauchy distribution.
func CauchyNext ¶
CauchyNext returns random number drawn from the Cauchy distribution.
func CauchyPDFAt ¶
CauchyPDFAt returns the value of PDF of Cauchy distribution at x.
func CauchyQtlFor ¶
CauchyQtlFor returns the inverse of the CDF (quantile) of the Cauchy distribution, for given probability.
func ChiSquareCDF ¶
ChiSquareCDF returns the CDF of the ChiSquare distribution.
func ChiSquareCDFAt ¶
ChiSquareCDFAt returns the value of CDF of the ChiSquare distribution, at x.
func ChiSquareExKurt ¶
ChiSquareExKurt returns the excess kurtosis of the ChiSquare distribution.
func ChiSquareLnPDF ¶
ChiSquareLnPDF returns the natural logarithm of the PDF of the ChiSquare distribution.
func ChiSquareMean ¶
ChiSquareMean returns the mean of the ChiSquare distribution.
func ChiSquareMedian ¶
ChiSquareMedian returns the approximate median of the ChiSquare distribution.
func ChiSquareMode ¶
ChiSquareMode returns the mode of the ChiSquare distribution.
func ChiSquareNext ¶
ChiSquareNext returns random number drawn from the ChiSquare distribution.
func ChiSquarePDF ¶
ChiSquarePDF returns the PDF of the ChiSquare distribution.
func ChiSquarePDFAt ¶
ChiSquarePDFAt returns the value of PDF of ChiSquare distribution at x. UniformPDFAt returns the value of PDF of Uniform distribution at x.
func ChiSquareQtl ¶
ChiSquareQtl returns the inverse of the CDF (quantile) of the ChiSquare distribution.
func ChiSquareSkew ¶
ChiSquareSkew returns the skewness of the ChiSquare distribution.
func ChiSquareStd ¶
ChiSquareStd returns the standard deviation of the ChiSquare distribution.
func ChiSquareVar ¶
ChiSquareVar returns the variance of the ChiSquare distribution.
func ChoiceLnPMF ¶
func ChoiceNext ¶
func DirichletLnPDF ¶
DirichletLnPDF returns the natural logarithm of the PDF of the Dirichlet distribution.
func DirichletMean ¶
DirichletMean returns the mean of the Dirichlet distribution.
func DirichletMode ¶
DirichletMode returns the mode of the Dirichlet distribution.
func DirichletNext ¶
DirichletNext returns random number drawn from the Dirichlet distribution.
func DirichletPDF ¶
DirichletPDF returns the PDF of the Dirichlet distribution.
func DirichletPDFAt ¶
DirichletPDFAt returns the value of PDF of Dirichlet distribution at x.
func DirichletVar ¶
DirichletVar returns the variance of the Dirichlet distribution.
func Exponential ¶
Exponential returns the random number generator with Exponential distribution.
func ExponentialCDF ¶
ExponentialCDF returns the CDF of the Exponential distribution.
func ExponentialCDFAt ¶
ExponentialCDFAt returns the value of CDF of the Exponential distribution, at x.
func ExponentialExKurt ¶
ExponentialExKurt returns the excess kurtosis of the Exponential distribution.
func ExponentialLnPDF ¶
ExponentialLnPDF returns the natural logarithm of the PDF of the Exponential distribution.
func ExponentialMGF ¶
ExponentialMGF returns the moment-generating function of the Exponential distribution.
func ExponentialMean ¶
ExponentialMean returns the mean of the Exponential distribution.
func ExponentialMedian ¶
Exponential returns the median of the Exponential distribution.
func ExponentialMode ¶
ExponentialMode returns the mode of the Exponential distribution.
func ExponentialNext ¶
ExponentialNext returns random number drawn from the Exponential distribution.
func ExponentialPDF ¶
ExponentialPDF returns the PDF of the Exponential distribution.
func ExponentialPDFAt ¶
ExponentialPDFAt returns the value of PDF of Exponential distribution at x.
func ExponentialQtl ¶
ExponentialQtl returns the inverse of the CDF (quantile) of the Exponential distribution.
func ExponentialQtlFor ¶
ExponentialQtlFor returns the inverse of the CDF (quantile) of the Exponential distribution, for given probability.
func ExponentialSkew ¶
ExponentialSkew returns the skewness of the Exponential distribution.
func ExponentialStd ¶
ExponentialStd returns the standard deviation of the Exponential distribution.
func ExponentialVar ¶
ExponentialVar returns the variance of the Exponential distribution.
func FQtlFor ¶
FQtlFor returns the inverse of the CDF (quantile) of the F distribution, for given probability.
func GammaCDFAt ¶
GammaCDFAt returns the value of CDF of the Gamma distribution, at x.
func GammaLnCDF ¶
GammaLnCDF returns the value of CDF of the Gamma distribution, at x.
func GammaLnCDFAt ¶
GammaLnCDFAt returns the value of CDF of the Gamma distribution, at x.
func GammaLnPDF ¶
GammaLnPDF returns the natural logarithm of the value of PDF of the Gamma distribution, at x.
func GammaLnPDF2 ¶
GammaLnPDF2 returns the PDF of Gamma distribution. Another tested implementation.
func GammaLnPDFAt ¶
GammaLnPDFAt returns the value of PDF of Gamma distribution at x.
func GammaPDF2 ¶
GammaPDF2 returns the PDF of the Gamma distribution. Another tested implementation.
func GammaPDFAt ¶
GammaPDFAt returns the value of PDF of Gamma distribution at x.
func GammaQtlFor ¶
GammaQtlFor returns the inverse of the CDF (quantile) of the Gamma distribution, for given probability.
func GammaRateToScale ¶
GammaRateToScale returns the parameter θ (scale) of the Gamma distribution calculated from β = rate. α = shape, β = rate To be used to reparametrize the Gamma distribution.
func GammaReparamMeanStd ¶
GammaReparamMeanStd returns the parameters α, θ (shape, scale) of the Gamma distribution calculated from mean and standard deviation.
func GammaReparamModeStd ¶
GammaReparamModeStd returns the parameters α, θ (shape, scale) of the Gamma distribution calculated from mode and standard deviation. It is more intuitive to start with the mode and standard deviation, instead of the mean and standard deviation as used in the Kruschke (2011) book. The reason is that the gamma distribution is typically very skewed, and therefore the location of the mean is not very intuitive. This function computes the shape and rate parameters of the gamma distribution from a desired mode and standard deviation. After http://doingbayesiandataanalysis.blogspot.com/2012/01/parameterizing-gamma-distribution-by.html
func GaussianRatioApproxCDF ¶
GaussianRatioApproxCDF returns the approximation of CDF of Gaussian Ratio distribution of correlated variables.
func GaussianRatioNoCorrPDF ¶
GaussianRatioNoCorrPDFAt returns the value of PDF of Gaussian Ratio distribution of uncorrelated variables.
func GaussianRatioNoCorrPDFAt ¶
GaussianRatioNoCorrPDFAt returns the value of PDF of Gaussian Ratio distribution of uncorrelated variables, at x.
func GaussianRatioPDF ¶
GaussianRatioPDF returns the value of PDF of Gaussian Ratio distribution of correlated variables, at x.
func GaussianRatioPDFAt ¶
GaussianRatioPDFAt returns the value of PDF of Gaussian Ratio distribution of correlated variables, at x.
func GearyHinkleyTransformation ¶
GearyHinkleyTransformation transforms the ratio of two normally distributed variables to the transformed variable T would approximately have a standard Gaussian distribution. See Hinkley(1969).
func Geometric1CDF ¶
Geometric1CDF returns the value of CDF of the Geometric distribution (type 1).
func Geometric1CDFAt ¶
Geometric1CDFAt returns the value of CDF of the Geometric distribution (type 1) at k.
func Geometric1ExKurt ¶
Geometric1ExKurt returns the excess kurtosis of the Geometric distribution (type 1).
func Geometric1LnPMF ¶
Geometric1LnPMF returns the natural logarithm of the PMF of the Geometric distribution (type 1).
func Geometric1MGF ¶
Geometric1MGF returns the moment-generating function of the Geometric distribution (type 1).
func Geometric1Mean ¶
Geometric1Mean returns the mean of the Geometric distribution (type 1).
func Geometric1Mode ¶
Geometric1Mode returns the mode of the Geometric distribution (type 1).
func Geometric1PMF ¶
Geometric1PMF returns the PMF of the Geometric1 distribution.
func Geometric1PMFAt ¶
Geometric1PMFAt returns the value of PMF of Geometric distribution (type 1) at k.
func Geometric1Skew ¶
Geometric1Skew returns the skewness of the Geometric distribution (type 1).
func Geometric1Std ¶
Geometric1Std returns the standard deviation of the Geometric distribution (type 1).
func Geometric1Var ¶
Geometric1Var returns the variance of the Geometric distribution (type 1).
func GeometricCDF ¶
GeometricCDF returns the value of CDF of the Geometric distribution, at k.
func GeometricCDFAt ¶
GeometricCDFAt returns the value of CDF of the Geometric distribution, at x.
func GeometricExKurt ¶
GeometricExKurt returns the excess kurtosis of the Geometric distribution.
func GeometricLnPMF ¶
GeometricLnPMF returns the natural logarithm of the PMF of the Geometric distribution.
func GeometricMGF ¶
GeometricMGF returns the moment-generating function of the Geometric distribution.
func GeometricMean ¶
GeometricMean returns the mean of the Geometric distribution.
func GeometricMode ¶
GeometricMode returns the mode of the Geometric distribution.
func GeometricPMF ¶
GeometricPMF returns the PMF of the Geometric distribution.
func GeometricPMFAt ¶
GeometricPMFAt returns the value of PMF of Geometric distribution at k.
func GeometricSkew ¶
GeometricSkew returns the skewness of the Geometric distribution.
func GeometricStd ¶
GeometricStd returns the standard deviation of the Geometric distribution.
func GeometricVar ¶
GeometricVar returns the variance of the Geometric distribution.
func HypergeometricApproxCDF ¶
HypergeometricApproxCDF returns the CDF of the Hypergeometric distribution approximated using Standard normal distribution.
func HypergeometricApproxCDFAt ¶
HypergeometricApproxCDFAt returns the value of CDF of the Hypergeometric distribution approximated using Standard normal distribution, at k.
func HypergeometricApproxPMF ¶
HypergeometricApproxPMF returns the PMF of the Hypergeometric distribution approximated using Standard normal distribution.
func HypergeometricApproxPMFAt ¶
HypergeometricApproxPMFAt returns the value of PMF of Hypergeometric distribution approximated using Standard normal distribution, at k.
func HypergeometricCDF ¶
HypergeometricCDF returns the CDF of the Hypergeometric distribution.
func HypergeometricCDFAt ¶
HypergeometricCDFAt returns the value of CDF of the Hypergeometric distribution, at k.
func HypergeometricExKurt ¶
HypergeometricExKurt returns the excess kurtosis of the Hypergeometric distribution.
func HypergeometricLnPMF ¶
HypergeometricLnPMF returns the natural logarithm of the PMF of the Hypergeometric distribution.
func HypergeometricMean ¶
HypergeometricMean returns the mean of the Hypergeometric distribution.
func HypergeometricMode ¶
HypergeometricMode returns the mode of the Hypergeometric distribution.
func HypergeometricPMF ¶
HypergeometricPMF returns the PMF of the Hypergeometric distribution.
func HypergeometricPMFAt ¶
HypergeometricPMFAt returns the value of PMF of Hypergeometric distribution(μ, σ) at k.
func HypergeometricQtl ¶
func HypergeometricQtlFor ¶
HypergeometricQtlFor returns the inverse of the CDF (quantile) of the Hypergeometric distribution, for given probability.
func HypergeometricSkew ¶
HypergeometricSkew returns the skewness of the Hypergeometric distribution.
func HypergeometricStd ¶
HypergeometricStd returns the standard deviation of the Hypergeometric distribution.
func HypergeometricVar ¶
HypergeometricVar returns the variance of the Hypergeometric distribution.
func InvGammaCDF ¶
InvGammaCDF returns the CDF of the InvGamma distribution.
func InvGammaCDFAt ¶
InvGammaCDFAt returns the value of CDF of the InvGamma distribution, at x.
func InvGammaExKurt ¶
InvGammaExKurt returns the excess kurtosis of the InvGamma distribution.
func InvGammaLnPDF ¶
InvGammaLnPDF returns the natural logarithm of the PDF of the InvGamma distribution.
func InvGammaMean ¶
InvGammaMean returns the mean of the InvGamma distribution.
func InvGammaMode ¶
InvGammaMode returns the mode of the InvGamma distribution.
func InvGammaPDF ¶
InvGammaPDF returns the PDF of the InvGamma distribution.
func InvGammaPDFAt ¶
InvGammaPDFAt returns the value of PDF of InvGamma distribution at x.
func InvGammaQtl ¶
InvGammaQtl returns the inverse of the CDF (quantile) of the InvGamma distribution.
func InvGammaQtlFor ¶
InvGammaQtlFor returns the inverse of the CDF (quantile) of the InvGamma distribution, for given probability.
func InvGammaSkew ¶
InvGammaSkew returns the skewness of the InvGamma distribution.
func InvGammaStd ¶
InvGammaStd returns the standard deviation of the InvGamma distribution.
func InvGammaVar ¶
InvGammaVar returns the variance of the InvGamma distribution.
func InverseWishart ¶
func InverseWishart(n int, V *m.DenseMatrix) func() *m.DenseMatrix
InverseWishart returns the random number generator with Inverse-Wishart distribution.
func InverseWishartLnPDF ¶
func InverseWishartLnPDF(n int, Ψ *m.DenseMatrix) func(W *m.DenseMatrix) float64
InverseWishartLnPDF returns the natural logarithm of the PDF of the Inverse-Wishart distribution.
func InverseWishartNext ¶
func InverseWishartNext(n int, V *m.DenseMatrix) *m.DenseMatrix
InverseWishartNext returns random number drawn from the Inverse-Wishart distribution.
func InverseWishartPDF ¶
func InverseWishartPDF(n int, Ψ *m.DenseMatrix) func(B *m.DenseMatrix) float64
InverseWishartPDF returns the PDF of the Inverse-Wishart distribution.
func LevyMedian ¶
LevyMedian returns the median of the Lévy distribution.
func LevyQtlFor ¶
LevyQtlFor returns the inverse of the CDF (quantile) of the Lévy distribution, for given probability.
func LnPoissonCDFAn ¶
LnPoissonCDFAn returns the natural logarithm of the CDF of the Poisson distribution. Analytic solution, less precision.
func LnRangePMF ¶
func LogChoiceNext ¶
func LogNormalCDF ¶
LogNormalCDF returns the CDF of the LogNormal distribution.
func LogNormalCDFAt ¶
LogNormalCDFAt returns the value of CDF of the LogNormal distribution, at x.
func LogNormalExKurt ¶
LogNormalExKurt returns the excess kurtosis of the LogNormal distribution.
func LogNormalMean ¶
LogNormalMean returns the mean of the LogNormal distribution.
func LogNormalMedian ¶
LogNormalMedian returns the median of the LogNormal distribution.
func LogNormalMode ¶
LogNormalMode returns the mode of the LogNormal distribution.
func LogNormalNext ¶
LogNormalNext returns random number drawn from the LogNormal distribution.
func LogNormalPDF ¶
LogNormalPDF returns the PDF of the LogNormal distribution.
func LogNormalPDFAt ¶
LogNormalPDFAt returns the value of PDF of LogNormal distribution at x.
func LogNormalQtl ¶
LogNormalQtl returns the inverse of the CDF (quantile) of the LogNormal distribution.
func LogNormalQtlFor ¶
LogNormalQtlFor returns the inverse of the CDF (quantile) of the LogNormal distribution, for given probability.
func LogNormalSkew ¶
LogNormalSkew returns the skewness of the LogNormal distribution.
func LogNormalStd ¶
LogNormalStd returns the standard deviation of the LogNormal distribution.
func LogNormalVar ¶
LogNormalVar returns the variance of the LogNormal distribution.
func LogisticCDF ¶
LogisticCDF returns the CDF of the Logistic distribution.
func LogisticCDFAt ¶
LogisticCDFAt returns the value of CDF of the Logistic distribution, at x.
func LogisticExKurt ¶
LogisticExKurt returns the excess kurtosis of the Logistic distribution.
func LogisticLnCDF ¶
LogisticLnCDF returns the CDF of the Logistic distribution.
func LogisticLnPDF ¶
LogisticLnPDF returns the natural logarithm of the PDF of the Logistic distribution.
func LogisticMGF ¶
LogisticMGF returns the moment-generating function of the Logistic distribution.
func LogisticMean ¶
LogisticMean returns the mean of the Logistic distribution.
func LogisticMedian ¶
LogisticMedian returns the median of the Logistic distribution.
func LogisticMode ¶
LogisticMode returns the mode of the Logistic distribution.
func LogisticNext ¶
LogisticNext returns random number drawn from the Logistic distribution.
func LogisticPDF ¶
LogisticPDF returns the PDF of the Logistic distribution.
func LogisticPDFAt ¶
LogisticPDFAt returns the value of PDF of Logistic distribution at x.
func LogisticQtl ¶
LogisticQtl returns the inverse of the CDF (quantile) of the Logistic distribution.
func LogisticQtlFor ¶
LogisticQtlFor returns the inverse of the CDF (quantile) of the Logistic distribution, for given probability.
func LogisticSkew ¶
LogisticSkew returns the skewness of the Logistic distribution.
func LogisticStd ¶
LogisticStd returns the standard deviation of the Logistic distribution.
func LogisticVar ¶
LogisticVar returns the variance of the Logistic distribution.
func MVNormal ¶
func MVNormal(μ *DenseMatrix, Σ *DenseMatrix) func() *DenseMatrix
MVNormal returns the random number generator with Multivariate normal distribution.
func MVNormalMean ¶
func MVNormalMean(μ *DenseMatrix, Σ *DenseMatrix) *DenseMatrix
MVNormalMean returns the mean of the Multivariate normal distribution.
func MVNormalMode ¶
func MVNormalMode(μ *DenseMatrix, Σ *DenseMatrix) *DenseMatrix
MVNormalMode returns the mode of the Multivariate normal distribution.
func MVNormalNext ¶
func MVNormalNext(μ *DenseMatrix, Σ *DenseMatrix) *DenseMatrix
MVNormalNext returns random number drawn from the Multivariate normal distribution.
func MVNormalPDF ¶
func MVNormalPDF(μ *DenseMatrix, Σ *DenseMatrix) func(x *DenseMatrix) float64
MVNormalPDF returns the PDF of the Multivariate normal distribution.
func MVNormalVar ¶
func MVNormalVar(μ *DenseMatrix, Σ *DenseMatrix) *DenseMatrix
MVNormalVar returns the variance of the Multivariate normal distribution.
func MatrixNormal ¶
func MatrixNormal(M, Omega, Sigma *mx.DenseMatrix) func() (X *mx.DenseMatrix)
func MatrixNormalLnPDF ¶
func MatrixNormalLnPDF(M, Omega, Sigma *mx.DenseMatrix) func(A *mx.DenseMatrix) float64
func MatrixNormalNext ¶
func MatrixNormalNext(M, Omega, Sigma *mx.DenseMatrix) (X *mx.DenseMatrix)
func MatrixNormalPDF ¶
func MatrixNormalPDF(M, Omega, Sigma *mx.DenseMatrix) func(A *mx.DenseMatrix) float64
M is the mean, Omega is the row covariance, Sigma is the column covariance.
func MatrixT ¶
func MatrixT(M, Omega, Sigma *mx.DenseMatrix, n int) func() (T *mx.DenseMatrix)
func MatrixTLnPDF ¶
func MatrixTLnPDF(M, Omega, Sigma *mx.DenseMatrix, n int) func(T *mx.DenseMatrix) (ll float64)
func MatrixTNext ¶
func MatrixTNext(M, Omega, Sigma *mx.DenseMatrix, n int) (T *mx.DenseMatrix)
func MatrixTPDF ¶
func MatrixTPDF(M, Omega, Sigma *mx.DenseMatrix, n int) func(T *mx.DenseMatrix) (l float64)
func Multinomial ¶
Multinomial returns the random number generator with Multinomial distribution.
func MultinomialLnPMF ¶
MultinomialLnPMF returns the natural logarithm of the PMF of the Multinomial distribution.
func MultinomialMGF ¶
MultinomialMGF returns the moment-generating function of the Multinomial distribution.
func MultinomialMean ¶
MultinomialMean returns the mean of the Multinomial distribution.
func MultinomialNext ¶
MultinomialNext returns random number drawn from the Multinomial distribution.
func MultinomialPGF ¶
MultinomialPGF returns the probability-generating function of the Multinomial distribution.
func MultinomialPMF ¶
MultinomialPMF returns the PMF of the Multinomial distribution.
func MultinomialPMFAt ¶
MultinomialPMFAt returns the value of PMF of Multinomial distribution(μ, σ) at k.
func MultinomialStd ¶
MultinomialStd returns the standard deviation of the Multinomial distribution.
func MultinomialVar ¶
MultinomialVar returns the variance of the Multinomial distribution.
func NegBinomial ¶
NegBinomial returns the random number generator with Negative binomial distribution.
func NegBinomialCDF ¶
NegBinomialCDF returns the CDF of the Negative binomial distribution.
func NegBinomialCDFAt ¶
NegBinomialCDFAt returns the value of CDF of the Negative binomial distribution at k.
func NegBinomialExKurt ¶
NegBinomialExKurt returns the excess kurtosis of the Negative binomial distribution.
func NegBinomialLnPMF ¶
NegBinomialLnPMF returns the natural logarithm of the PMF of the Negative binomial distribution.
func NegBinomialMGF ¶
NegBinomialMGF returns the moment-generating function of the Negative binomial distribution.
func NegBinomialMean ¶
NegBinomialMean returns the mean of the Negative binomial distribution.
func NegBinomialMode ¶
NegBinomialMode returns the mode of the Negative binomial distribution.
func NegBinomialNext ¶
NegBinomialNext returns random number drawn from the Negative binomial distribution.
func NegBinomialPGF ¶
NegBinomialPGF returns the probability-generating function of the Negative binomial distribution.
func NegBinomialPMF ¶
NegBinomialPMF returns the PMF of the Negative binomial distribution.
func NegBinomialPMFAt ¶
NegBinomialPMFAt returns the value of PMF of Negative binomial distribution at k.
func NegBinomialQtl ¶
NegBinomialQtl returns the inverse of the CDF (qquantile) of the Negative binomial distribution.
func NegBinomialQtlFor ¶
NegBinomialQtlFor returns the inverse of the CDF (quantile) of the Negative binomial distribution, for given probability.
func NegBinomialSkew ¶
NegBinomialSkew returns the skewness of the Negative binomial distribution.
func NegBinomialStd ¶
NegBinomialStd returns the standard deviation of the Negative binomial distribution.
func NegBinomialVar ¶
NegBinomialVar returns the variance of the Negative binomial distribution.
func NormalCDFAt ¶
NormalCDFAt returns the value of CDF of the Normal distribution, at x.
func NormalExKurt ¶
NormalExKurt returns the excess kurtosis of the Normal distribution.
func NormalLnPDF ¶
NormalLnPDF returns the natural logarithm of the PDF of the Normal distribution.
func NormalMean ¶
NormalMean returns the mean of the Normal distribution.
func NormalMedian ¶
NormalMedian returns the median of the Normal distribution.
func NormalMode ¶
NormalMode returns the mode of the Normal distribution.
func NormalNext ¶
NormalNext returns random number drawn from the Normal distribution.
func NormalPDFAt ¶
NormalPDFAt returns the value of PDF of Normal distribution at x.
func NormalQtlFor ¶
NormalQtlFor returns the inverse of the CDF (quantile) of the Normal distribution, for given probability.
func NormalSkew ¶
NormalSkew returns the skewness of the Normal distribution.
func ParetoCDFAt ¶
ParetoCDFAt returns the value of CDF of the Pareto Type I distribution, at x.
func ParetoChkParams ¶
ParetoChkParams checks parameters of the Pareto Type I distribution.
func ParetoChkSupport ¶
ParetoChkSupport checks support of the Pareto Type I distribution.
func ParetoExKurt ¶
ParetoExKurt returns the excess kurtosis of the Pareto Type I distribution.
func ParetoGCDF ¶
ParetoGCDF returns the CDF of the Generalized Pareto distribution.
func ParetoGCDFAt ¶
ParetoGCDFAt returns the value of CDF of the Generalized Pareto distribution, at x.
func ParetoGExKurt ¶
ParetoGExKurt returns the excess kurtosis of the Generalized Pareto distribution.
func ParetoGMean ¶
ParetoGMean returns the mean of the Generalized Pareto distribution.
func ParetoGMoment ¶
ParetoGMoment returns the n-th moment of the Generalized Pareto distribution.
func ParetoGNext ¶
ParetoGQtlFor returns the inverse of the CDF (quantile) of the Generalized Pareto distribution, for given probability.
func ParetoGPDF ¶
ParetoGPDF returns the PDF of the Generalized Pareto distribution.
func ParetoGPDFAt ¶
ParetoGPDFAt returns the value of PDF of Generalized Pareto distribution at x.
func ParetoGQtl ¶
ParetoGQtl returns the inverse of the CDF (quantile) of the Generalized Pareto distribution.
func ParetoGSkew ¶
ParetoGSkew returns the skewness of the Generalized Pareto distribution.
func ParetoGVar ¶
ParetoGVar returns the variance of the Generalized Pareto distribution.
func ParetoIICDF ¶
ParetoIICDF returns the CDF of the Pareto Type II distribution.
func ParetoIICDFAt ¶
ParetoIICDFAt returns the value of CDF of the Pareto Type II distribution, at x.
func ParetoIIChkParams ¶
ParetoIIChkParams checks parameters of the ParetoII distribution.
func ParetoIIChkSupport ¶
ParetoIIChkSupport checks support of the ParetoII distribution.
func ParetoIIExKurt ¶
ParetoIIExKurt returns the excess kurtosis of the Pareto Type II distribution.
func ParetoIIMean ¶
ParetoIIMean returns the mean of the Pareto Type II distribution.
func ParetoIIMoment ¶
ParetoIIMoment returns the n-th moment of the Pareto Type II distribution.
func ParetoIINext ¶
ParetoIINext returns random number drawn from the Pareto Type II distribution.
func ParetoIIPDF ¶
ParetoIIPDF returns the PDF of the ParetoII distribution.
func ParetoIIPDFAt ¶
ParetoIIPDFAt returns the value of PDF of Pareto Type II distribution at x.
func ParetoIIQtl ¶
ParetoIIQtl returns the inverse of the CDF (quantile) of the Pareto Type II distribution.
func ParetoIIQtlFor ¶
ParetoIIQtlFor returns the inverse of the CDF (quantile) of the Pareto Type II distribution, for given probability.
func ParetoIISkew ¶
ParetoIISkew returns the skewness of the Pareto Type II distribution.
func ParetoIIVar ¶
ParetoIIVar returns the variance of the Pareto Type II distribution.
func ParetoMGF ¶
ParetoMGF returns the moment-generating function of the Pareto Type I distribution.
func ParetoMean ¶
ParetoMean returns the mean of the Pareto Type I distribution.
func ParetoMedian ¶
ParetoMedian returns the median of the Pareto Type I distribution.
func ParetoMode ¶
ParetoMode returns the mode of the Pareto Type I distribution.
func ParetoNext ¶
ParetoNext returns random number drawn from the Pareto distribution.
func ParetoPDFAt ¶
ParetoPDFAt returns the value of PDF of Pareto Type I distribution at x.
func ParetoQtl ¶
ParetoQtl returns the inverse of the CDF (quantile) of the Pareto Type I distribution.
func ParetoQtlFor ¶
ParetoQtlFor returns the inverse of the CDF (quantile) of the Pareto Type I distribution, for given probability.
func ParetoSing ¶
ParetoSing returns the random number generator with Single-parameter Pareto distribution.
func ParetoSingCDF ¶
ParetoSingCDF returns the CDF of the Single-parameter Pareto distribution.
func ParetoSingCDFAt ¶
ParetoSingCDFAt returns the value of CDF of the Single-parameter Pareto distribution, at x.
func ParetoSingChkParams ¶
ParetoSingChkParams checks parameters of the Single-parameter Pareto distribution.
func ParetoSingChkSupport ¶
ParetoSingChkSupport checks support of the Single-parameter Pareto distribution.
func ParetoSingExKurt ¶
ParetoSingExKurt returns the excess kurtosis of the Single-parameter Pareto distribution.
func ParetoSingMean ¶
ParetoSingMean returns the mean of the Single-parameter Pareto distribution.
func ParetoSingMoment ¶
ParetoSingMoment returns the n-th moment of the Single-parameter Pareto distribution.
func ParetoSingNext ¶
ParetoSingNext returns random number drawn from the Single-parameter Pareto distribution.
func ParetoSingPDF ¶
ParetoSingPDF returns the PDF of the Single-parameter Pareto distribution.
func ParetoSingPDFAt ¶
ParetoSingPDFAt returns the value of PDF of Single-parameter Pareto distribution at x.
func ParetoSingQtl ¶
ParetoSingQtl returns the inverse of the CDF (quantile) of the Single-parameter Pareto distribution.
func ParetoSingQtlFor ¶
ParetoSingQtlFor returns the inverse of the CDF (quantile) of the Single-parameter Pareto distribution, for given probability.
func ParetoSingSkew ¶
ParetoSingSkew returns the skewness of the Single-parameter Pareto distribution.
func ParetoSingVar ¶
ParetoSingVar returns the variance of the Single-parameter Pareto distribution.
func ParetoSkew ¶
ParetoSkew returns the skewness of the Pareto Type I distribution.
func ParetoTapCDF ¶
ParetoTapCDF returns the CDF of the Tapered Pareto distribution.
func ParetoTapCDFAt ¶
ParetoTapCDFAt returns the value of CDF of the Tapered Pareto distribution, at x.
func ParetoTapChkParams ¶
ParetoTapChkParams checks parameters of the Tapered Pareto distribution.
func ParetoTapChkSupport ¶
ParetoTapChkSupport checks support of the Tapered Pareto distribution.
func ParetoTapNext ¶
ParetoTapNext returns random number drawn from the Tapered Pareto distribution.
func ParetoTapPDF ¶
ParetoTapPDF returns the PDF of the Tapered Pareto distribution.
func ParetoTapPDFAt ¶
ParetoTapPDFAt returns the value of PDF of Tapered Pareto distribution at x.
func ParetoTapQtl ¶
ParetoTapQtl returns the inverse of the CDF (quantile) of the Tapered Pareto distribution.
func ParetoTapQtlFor ¶
ParetoTapQtlFor returns the inverse of the CDF (quantile) of the Tapered Pareto distribution, for given probability.
func PlanckNext ¶
PlanckNext returns random number drawn from the Planck distribution. Devroye 1986: 552. Devroye, L. 1986: Non-Uniform Random Variate Generation. Springer-Verlag, New York. ISBN 0-387-96305-7.
func PoissonCDF ¶
PoissonCDF returns the CDF of the Poisson distribution.
func PoissonCDFAn ¶
PoissonCDFAn returns the CDF of the Poisson distribution. Analytic solution, less precision.
func PoissonCDFAt ¶
PoissonCDFAt returns the value of CDF of the Poisson distribution, at x.
func PoissonExKurt ¶
PoissonExKurt returns the excess kurtosis of the Poisson distribution.
func PoissonLnPMF ¶
PoissonLnPMF returns the natural logarithm of the PMF of the Poisson distribution.
func PoissonMean ¶
PoissonMean returns the mean of the Poisson distribution.
func PoissonMedian ¶
PoissonMedian returns the median of the Poisson distribution. Approximation.
func PoissonMode ¶
PoissonMode returns the mode of the Poisson distribution.
func PoissonNext ¶
PoissonNext returns random number drawn from the Poisson distribution.
func PoissonNext2 ¶
PoissonNext2 returns random number drawn from the Poisson distribution (old version).
func PoissonPMF ¶
PoissonPMF returns the PMF of the Poisson distribution.
func PoissonPMFAt ¶
PoissonPMFAt returns the value of PMF of Poisson distribution at k.
func PoissonSkew ¶
PoissonSkew returns the skewness of the Poisson distribution.
func PoissonVar ¶
PoissonVar returns the variance of the Poisson distribution.
func PolyaCDFAt ¶
PolyaCDFAt returns the value of CDF of the Pólya distribution, at k.
func PolyaExKurt ¶
PolyaExKurt returns the excess kurtosis of the Pólya distribution.
func PolyaPMFAt ¶
PolyaPMFAt returns the value of PMF of Pólya distribution at k.
func PolyaQtlFor ¶
PolyaQtlFor returns the inverse of the CDF (quantile) of the Pólya distribution, for given probability.
func RejectionSample ¶
func ShuffleFloat64 ¶
func ShuffleFloat64(x []float64)
func ShuffleInt64 ¶
func ShuffleInt64(x []int64)
func StudentsTCDF ¶
StudentsTCDF returns the CDF of the Student's t distribution.
func StudentsTCDFAt ¶
StudentsTCDFAt returns the value of CDF of the Student's t distribution, at x.
func StudentsTExKurt ¶
StudentsTExKurt returns the excess kurtosis of the StudentsT Type I distribution.
func StudentsTLnPDF ¶
StudentsTLnPDF returns the natural logarithm of the PDF of the Student's t distribution.
func StudentsTMean ¶
StudentsTMean returns the mean of the StudentsT Type I distribution.
func StudentsTMedian ¶
StudentsTMedian returns the median of the StudentsT Type I distribution.
func StudentsTMode ¶
StudentsTMode returns the mode of the StudentsT Type I distribution.
func StudentsTNext ¶
StudentsTNext returns random number drawn from the Student's t distribution.
func StudentsTPDF ¶
StudentsTPDF returns the PDF of the Student's t distribution.
func StudentsTQtl ¶
StudentsTQtl returns the inverse of the CDF (quantile) of the Student's t distribution.
func StudentsTQtlFor ¶
StudentsTQtlFor returns the inverse of the CDF (quantile) of the Student's t distribution, for given probability.
func StudentsTSkew ¶
StudentsTSkew returns the skewness of the StudentsT Type I distribution.
func StudentsTStd ¶
StudentsTStd returns the standard deviation of the StudentsT Type I distribution.
func StudentsTVar ¶
StudentsTVar returns the variance of the StudentsT Type I distribution.
func UniformCDF ¶
UniformCDF returns the CDF of the Uniform distribution.
func UniformCDFAt ¶
UniformCDFAt returns the value of CDF of the Uniform distribution, at x.
func UniformExKurt ¶
UniformExKurt returns the excess kurtosis of the Uniform distribution.
func UniformLnPDF ¶
UniformLnPDF returns the natural logarithm of the PDF of the Uniform distribution.
func UniformMGF ¶
UniformMGF returns the moment-generating function of the Uniform distribution.
func UniformMean ¶
UniformMean returns the mean of the Uniform distribution.
func UniformMedian ¶
UniformMedian returns the median of the Uniform distribution.
func UniformNext ¶
UniformNext returns random number drawn from the Uniform distribution.
func UniformPDF ¶
UniformPDF returns the PDF of the Uniform distribution.
func UniformPDFAt ¶
UniformPDFAt returns the value of PDF of Uniform distribution at x.
func UniformReparamMeanStd ¶
UniformReparamMeanStd returns the parameters a, b of the Uniform distribution calculated from mean and standard deviation. To be used to reparametrize the Uniform distribution.
func UniformSkew ¶
UniformSkew returns the skewness of the Uniform distribution.
func UniformStd ¶
UniformStd returns the standard deviation of the Uniform distribution.
func UniformVar ¶
UniformVar returns the variance of the Uniform distribution.
func Wishart ¶
func Wishart(n int, V *m.DenseMatrix) func() *m.DenseMatrix
Wishart returns the random number generator with Wishart distribution.
func WishartLnPDF ¶
func WishartLnPDF(n int, V *m.DenseMatrix) func(W *m.DenseMatrix) float64
WishartLnPDF returns the natural logarithm of the PDF of the Wishart distribution.
func WishartNext ¶
func WishartNext(n int, V *m.DenseMatrix) *m.DenseMatrix
WishartNext returns random number drawn from the Wishart distribution.
func WishartPDF ¶
func WishartPDF(n int, V *m.DenseMatrix) func(W *m.DenseMatrix) float64
WishartPDF returns the PDF of the Wishart distribution.
func YuleExKurt ¶
YuleExKurt returns the excess kurtosis of the Yule–Simon distribution.
func ZQtlFor ¶
ZQtlFor returns the inverse of the CDF (quantile) of the Standard Normal distribution, for given probability.
func ZipfMandelbrot ¶
ZipfMandelbrot returns the random number generator with Zipf-Mandelbrot distribution.
func ZipfMandelbrotCDF ¶
ZipfMandelbrotCDF returns the CDF of the Zipf-Mandelbrot distribution.
func ZipfMandelbrotCDFAt ¶
ZipfMandelbrotCDFAt returns the value of CDF of the Zipf-Mandelbrot distribution, at x.
func ZipfMandelbrotChkParams ¶
ZipfMandelbrotChkParams checks parameters of the Zipf-Mandelbrot distribution.
func ZipfMandelbrotMean ¶
ZipfMandelbrotMean returns the mean of the Zipf-Mandelbrot distribution.
func ZipfMandelbrotNext ¶
ZipfMandelbrotNext returns random number drawn from the Zipf-Mandelbrot distribution.
func ZipfMandelbrotPMF ¶
ZipfMandelbrotPMF returns the PMF of the Zipf-Mandelbrot distribution.
func ZipfMandelbrotPMFAt ¶
ZipfMandelbrotPMFAt returns the value of PMF of Zipf-Mandelbrot distribution at k.
Types ¶
This section is empty.
Source Files ¶
- bd0.go
- bernoulli.go
- beta-mu-nu.go
- beta-mu-sigma.go
- beta.go
- beta4.go
- binomial.go
- cauchy.go
- chisq.go
- choice.go
- crp.go
- dirichlet.go
- doc.go
- exp.go
- f.go
- fn.go
- gamma.go
- gamma_aux.go
- gamma_aux_ln.go
- gamma_qtl.go
- geom0.go
- geom1.go
- hypergeom.go
- igamma.go
- iwishart.go
- levy.go
- logistic.go
- lognormal.go
- matrix_normal.go
- matrix_t.go
- multinomial.go
- mv_normal.go
- negbinom.go
- normal.go
- pareto.go
- pareto_II.go
- pareto_gen.go
- pareto_single.go
- pareto_tap.go
- planck.go
- poisson.go
- poisson_rnd.go
- polya.go
- range.go
- ratio_gaussian.go
- stirlerr.go
- t.go
- uniform.go
- wishart.go
- yule.go
- z.go
- zeta.go
- zipf-mandelbrot.go