Versions in this module Expand all Collapse all v0 v0.1.0 Oct 12, 2026 Changes in this version + const IQRNormal + const LambdaCressieRead + const LambdaFreemanTukey + const LambdaLogLikelihood + const LambdaModLogLikelihood + const LambdaNeyman + const LambdaPearson + const MADNormal + var ErrData = errors.New("stats: invalid data") + var ErrFit = errors.New("stats: fit did not converge") + var ErrParam = errors.New("stats: parameter out of domain") + func Average[D Data](x D, o *MeanOptions) (avg, sumWeights float64, err error) + func DifferentialEntropy[D Data](x D, o *DiffEntropyOptions) (float64, error) + func Entropy[D Data](pk D, o *EntropyOptions) (float64, error) + func FitMultivariateNormal(x *ndarray.Array, o *MultivariateNormalFitOptions) (mean []float64, cov *ndarray.Array, err error) + func GMean[D Data](x D, o *PowerMeanOptions) (float64, error) + func HMean[D Data](x D, o *PowerMeanOptions) (float64, error) + func HistogramBinEdges[D Data](x D, o *HistogramOptions) ([]float64, error) + func IQR[D Data](x D, o *IQROptions) (float64, error) + func Kurtosis[D Data](x D, o *ShapeOptions) (float64, error) + func Map(x *ndarray.Array, f func(float64) float64) *ndarray.Array + func MapSlice(dst, src []float64, f func(float64) float64) + func Mean[D Data](x D, o *MeanOptions) (float64, error) + func MedianAbsDeviation[D Data](x D, o *MADOptions) (float64, error) + func Median[D Data](x D, o *MedianOptions) (float64, error) + func Moment[D Data](x D, order int, o *MomentOptions) (float64, error) + func PMean[D Data](x D, p float64, o *PowerMeanOptions) (float64, error) + func Percentile[D Data](x D, p float64, o *QuantileOptions) (float64, error) + func Percentiles[D Data](x D, ps []float64, o *QuantileOptions) ([]float64, error) + func Quantile[D Data](x D, q float64, o *QuantileOptions) (float64, error) + func Quantiles[D Data](x D, qs []float64, o *QuantileOptions) ([]float64, error) + func RankData[D Data](x D, method RankMethod) (D, error) + func SEM[D Data](x D, o *DdofOptions) (float64, error) + func Skew[D Data](x D, o *ShapeOptions) (float64, error) + func Std[D Data](x D, o *MeanOptions) (float64, error) + func TMax[D Data](x D, upper float64, o *BoundOptions) (float64, error) + func TMean[D Data](x D, o *TrimmedOptions) (float64, error) + func TMin[D Data](x D, lower float64, o *BoundOptions) (float64, error) + func TSem[D Data](x D, o *TrimmedOptions) (float64, error) + func TStd[D Data](x D, o *TrimmedOptions) (float64, error) + func TVar[D Data](x D, o *TrimmedOptions) (float64, error) + func Trim1[D Data](x D, proportion float64, tail Tail) (D, error) + func TrimBoth[D Data](x D, proportion float64) (D, error) + func TrimMean[D Data](x D, proportion float64) (float64, error) + func Var[D Data](x D, o *MeanOptions) (float64, error) + func Variation[D Data](x D, o *DdofOptions) (float64, error) + func ZMap[D, C Data](scores D, compare C, o *DdofOptions) (D, error) + func ZScore[D Data](x D, o *DdofOptions) (D, error) + type ADDist int + const ADExpon + const ADGumbelL + const ADGumbelR + const ADLogistic + const ADNorm + type Alternative int + const Greater + const Less + const TwoSided + func (a Alternative) String() string + type AndersonResult struct + CriticalValues []float64 + Loc float64 + PValue float64 + Scale float64 + SignificanceLevels []float64 + Statistic float64 + func AndersonDarling[D Data](x D, dist ADDist) (AndersonResult, error) + type BandwidthRule int + const BandwidthScott + const BandwidthSilverman + type Bernoulli struct + Loc float64 + P float64 + func NewBernoulli(p float64, loc float64) (Bernoulli, error) + func (d Bernoulli) CDF(k float64) float64 + func (d Bernoulli) Entropy() float64 + func (d Bernoulli) ISF(q float64) float64 + func (d Bernoulli) Interval(confidence float64) (lo, hi float64) + func (d Bernoulli) Kurtosis() float64 + func (d Bernoulli) LogCDF(k float64) float64 + func (d Bernoulli) LogPMF(k float64) float64 + func (d Bernoulli) LogSF(k float64) float64 + func (d Bernoulli) Mean() float64 + func (d Bernoulli) Median() float64 + func (d Bernoulli) Moment(n int) float64 + func (d Bernoulli) PMF(k float64) float64 + func (d Bernoulli) PPF(p float64) float64 + func (d Bernoulli) Rvs(g *random.Generator, size ...int) (*ndarray.Array, error) + func (d Bernoulli) SF(k float64) float64 + func (d Bernoulli) Skew() float64 + func (d Bernoulli) Std() float64 + func (d Bernoulli) Support() (lo, hi float64) + func (d Bernoulli) Validate() error + func (d Bernoulli) Var() float64 + type Beta struct + A float64 + B float64 + Loc float64 + Scale float64 + func FitBeta[D Data](x D, o *FitOptions) (Beta, error) + func NewBeta(a float64, b float64, loc, scale float64) (Beta, error) + func (d Beta) CDF(x float64) float64 + func (d Beta) Entropy() float64 + func (d Beta) ISF(q float64) float64 + func (d Beta) Interval(confidence float64) (lo, hi float64) + func (d Beta) Kurtosis() float64 + func (d Beta) LogCDF(x float64) float64 + func (d Beta) LogPDF(x float64) float64 + func (d Beta) LogSF(x float64) float64 + func (d Beta) Mean() float64 + func (d Beta) Median() float64 + func (d Beta) Moment(n int) float64 + func (d Beta) PDF(x float64) float64 + func (d Beta) PPF(p float64) float64 + func (d Beta) Rvs(g *random.Generator, size ...int) (*ndarray.Array, error) + func (d Beta) SF(x float64) float64 + func (d Beta) Skew() float64 + func (d Beta) Std() float64 + func (d Beta) Support() (lo, hi float64) + func (d Beta) Validate() error + func (d Beta) Var() float64 + type BinRule int + const BinsAuto + const BinsCount + const BinsDoane + const BinsFD + const BinsRice + const BinsScott + const BinsSqrt + const BinsStone + const BinsSturges + type BinStatistic int + const BinCount + const BinMax + const BinMean + const BinMedian + const BinMin + const BinStd + const BinSum + type BinnedOptions struct + Bins int + Edges []float64 + Range *[2]float64 + Statistic BinStatistic + type BinnedResult struct + BinNumber []int + Edges []float64 + Statistic []float64 + func BinnedStatistic[D, V Data](x D, values V, o *BinnedOptions) (BinnedResult, error) + type Binomial struct + Loc float64 + N int64 + P float64 + func NewBinomial(n int64, p float64, loc float64) (Binomial, error) + func (d Binomial) CDF(k float64) float64 + func (d Binomial) Entropy() float64 + func (d Binomial) ISF(q float64) float64 + func (d Binomial) Interval(confidence float64) (lo, hi float64) + func (d Binomial) Kurtosis() float64 + func (d Binomial) LogCDF(k float64) float64 + func (d Binomial) LogPMF(k float64) float64 + func (d Binomial) LogSF(k float64) float64 + func (d Binomial) Mean() float64 + func (d Binomial) Median() float64 + func (d Binomial) Moment(n int) float64 + func (d Binomial) PMF(k float64) float64 + func (d Binomial) PPF(p float64) float64 + func (d Binomial) Rvs(g *random.Generator, size ...int) (*ndarray.Array, error) + func (d Binomial) SF(k float64) float64 + func (d Binomial) Skew() float64 + func (d Binomial) Std() float64 + func (d Binomial) Support() (lo, hi float64) + func (d Binomial) Validate() error + func (d Binomial) Var() float64 + type BootstrapMethod int + const BootstrapBCa + const BootstrapBasic + const BootstrapPercentile + func (m BootstrapMethod) String() string + type BootstrapOptions struct + Alternative Alternative + Batch int + ConfidenceLevel float64 + Method BootstrapMethod + NResamples int + Paired bool + type BootstrapResult struct + BootstrapDistribution []float64 + ConfidenceInterval ConfidenceInterval + StandardError float64 + func Bootstrap[D Data](samples []D, statistic func(samples ...[]float64) float64, g *random.Generator, ...) (BootstrapResult, error) + type BoundOptions struct + Exclusive bool + OmitNaN bool + type CDFEstimate struct + Error float64 + NPoints int + Value float64 + type Cauchy struct + Loc float64 + Scale float64 + func FitCauchy[D Data](x D, o *FitOptions) (Cauchy, error) + func NewCauchy(loc, scale float64) (Cauchy, error) + func (d Cauchy) CDF(x float64) float64 + func (d Cauchy) Entropy() float64 + func (d Cauchy) ISF(q float64) float64 + func (d Cauchy) Interval(confidence float64) (lo, hi float64) + func (d Cauchy) Kurtosis() float64 + func (d Cauchy) LogCDF(x float64) float64 + func (d Cauchy) LogPDF(x float64) float64 + func (d Cauchy) LogSF(x float64) float64 + func (d Cauchy) Mean() float64 + func (d Cauchy) Median() float64 + func (d Cauchy) Moment(n int) float64 + func (d Cauchy) PDF(x float64) float64 + func (d Cauchy) PPF(p float64) float64 + func (d Cauchy) Rvs(g *random.Generator, size ...int) (*ndarray.Array, error) + func (d Cauchy) SF(x float64) float64 + func (d Cauchy) Skew() float64 + func (d Cauchy) Std() float64 + func (d Cauchy) Support() (lo, hi float64) + func (d Cauchy) Validate() error + func (d Cauchy) Var() float64 + type Chi struct + Df float64 + Loc float64 + Scale float64 + func FitChi[D Data](x D, o *FitOptions) (Chi, error) + func NewChi(df float64, loc, scale float64) (Chi, error) + func (d Chi) CDF(x float64) float64 + func (d Chi) Entropy() float64 + func (d Chi) ISF(q float64) float64 + func (d Chi) Interval(confidence float64) (lo, hi float64) + func (d Chi) Kurtosis() float64 + func (d Chi) LogCDF(x float64) float64 + func (d Chi) LogPDF(x float64) float64 + func (d Chi) LogSF(x float64) float64 + func (d Chi) Mean() float64 + func (d Chi) Median() float64 + func (d Chi) Moment(n int) float64 + func (d Chi) PDF(x float64) float64 + func (d Chi) PPF(p float64) float64 + func (d Chi) Rvs(g *random.Generator, size ...int) (*ndarray.Array, error) + func (d Chi) SF(x float64) float64 + func (d Chi) Skew() float64 + func (d Chi) Std() float64 + func (d Chi) Support() (lo, hi float64) + func (d Chi) Validate() error + func (d Chi) Var() float64 + type Chi2ContingencyOptions struct + Lambda *float64 + NoCorrection bool + type Chi2ContingencyResult struct + DOF int + Expected *ndarray.Array + PValue float64 + Statistic float64 + func Chi2Contingency(observed *ndarray.Array, o *Chi2ContingencyOptions) (Chi2ContingencyResult, error) + type ChiSquareOptions struct + DDOF int + Expected []float64 + type ChiSquared struct + Df float64 + Loc float64 + Scale float64 + func FitChiSquared[D Data](x D, o *FitOptions) (ChiSquared, error) + func NewChiSquared(df float64, loc, scale float64) (ChiSquared, error) + func (d ChiSquared) CDF(x float64) float64 + func (d ChiSquared) Entropy() float64 + func (d ChiSquared) ISF(q float64) float64 + func (d ChiSquared) Interval(confidence float64) (lo, hi float64) + func (d ChiSquared) Kurtosis() float64 + func (d ChiSquared) LogCDF(x float64) float64 + func (d ChiSquared) LogPDF(x float64) float64 + func (d ChiSquared) LogSF(x float64) float64 + func (d ChiSquared) Mean() float64 + func (d ChiSquared) Median() float64 + func (d ChiSquared) Moment(n int) float64 + func (d ChiSquared) PDF(x float64) float64 + func (d ChiSquared) PPF(p float64) float64 + func (d ChiSquared) Rvs(g *random.Generator, size ...int) (*ndarray.Array, error) + func (d ChiSquared) SF(x float64) float64 + func (d ChiSquared) Skew() float64 + func (d ChiSquared) Std() float64 + func (d ChiSquared) Support() (lo, hi float64) + func (d ChiSquared) Validate() error + func (d ChiSquared) Var() float64 + type ConfidenceInterval struct + High float64 + Low float64 + type Continuous interface + CDF func(x float64) float64 + Entropy func() float64 + ISF func(q float64) float64 + Interval func(confidence float64) (lo, hi float64) + Kurtosis func() float64 + LogCDF func(x float64) float64 + LogPDF func(x float64) float64 + LogSF func(x float64) float64 + Mean func() float64 + Median func() float64 + Moment func(n int) float64 + PDF func(x float64) float64 + PPF func(p float64) float64 + Rvs func(g *random.Generator, size ...int) (*ndarray.Array, error) + SF func(x float64) float64 + Skew func() float64 + Std func() float64 + Support func() (lo, hi float64) + Validate func() error + Var func() float64 + type CorrelationOptions struct + Alternative Alternative + type Data interface + type DdofOptions struct + Ddof *float64 + OmitNaN bool + type DescribeResult struct + Kurtosis float64 + Max float64 + Mean float64 + Min float64 + NObs int + Skewness float64 + Variance float64 + func Describe[D Data](x D, o *ShapeOptions) (DescribeResult, error) + type DiffEntropyMethod int + const DiffEntropyAuto + const DiffEntropyCorrea + const DiffEntropyEbrahimi + const DiffEntropyVanEs + const DiffEntropyVasicek + type DiffEntropyOptions struct + Base float64 + Method DiffEntropyMethod + OmitNaN bool + WindowLength int + type Dirichlet struct + func NewDirichlet(alpha []float64) (*Dirichlet, error) + func (d *Dirichlet) Alpha() []float64 + func (d *Dirichlet) Cov() *ndarray.Array + func (d *Dirichlet) Entropy() float64 + func (d *Dirichlet) LogPDF(x []float64) (float64, error) + func (d *Dirichlet) LogPDFPoints(x *ndarray.Array) ([]float64, error) + func (d *Dirichlet) Mean() []float64 + func (d *Dirichlet) PDF(x []float64) (float64, error) + func (d *Dirichlet) PDFPoints(x *ndarray.Array) ([]float64, error) + func (d *Dirichlet) Rvs(g *random.Generator, size int) (*ndarray.Array, error) + func (d *Dirichlet) Var() []float64 + type Discrete interface + CDF func(k float64) float64 + Entropy func() float64 + ISF func(q float64) float64 + Interval func(confidence float64) (lo, hi float64) + Kurtosis func() float64 + LogCDF func(k float64) float64 + LogPMF func(k float64) float64 + LogSF func(k float64) float64 + Mean func() float64 + Median func() float64 + Moment func(n int) float64 + PMF func(k float64) float64 + PPF func(p float64) float64 + Rvs func(g *random.Generator, size ...int) (*ndarray.Array, error) + SF func(k float64) float64 + Skew func() float64 + Std func() float64 + Support func() (lo, hi float64) + Validate func() error + Var func() float64 + type DiscreteUniform struct + High int64 + Loc float64 + Low int64 + func NewDiscreteUniform(low int64, high int64, loc float64) (DiscreteUniform, error) + func (d DiscreteUniform) CDF(k float64) float64 + func (d DiscreteUniform) Entropy() float64 + func (d DiscreteUniform) ISF(q float64) float64 + func (d DiscreteUniform) Interval(confidence float64) (lo, hi float64) + func (d DiscreteUniform) Kurtosis() float64 + func (d DiscreteUniform) LogCDF(k float64) float64 + func (d DiscreteUniform) LogPMF(k float64) float64 + func (d DiscreteUniform) LogSF(k float64) float64 + func (d DiscreteUniform) Mean() float64 + func (d DiscreteUniform) Median() float64 + func (d DiscreteUniform) Moment(n int) float64 + func (d DiscreteUniform) PMF(k float64) float64 + func (d DiscreteUniform) PPF(p float64) float64 + func (d DiscreteUniform) Rvs(g *random.Generator, size ...int) (*ndarray.Array, error) + func (d DiscreteUniform) SF(k float64) float64 + func (d DiscreteUniform) Skew() float64 + func (d DiscreteUniform) Std() float64 + func (d DiscreteUniform) Support() (lo, hi float64) + func (d DiscreteUniform) Validate() error + func (d DiscreteUniform) Var() float64 + type EntropyOptions struct + Base float64 + QK []float64 + type Exponential struct + Loc float64 + Scale float64 + func FitExponential[D Data](x D, o *FitOptions) (Exponential, error) + func NewExponential(loc, scale float64) (Exponential, error) + func (d Exponential) CDF(x float64) float64 + func (d Exponential) Entropy() float64 + func (d Exponential) ISF(q float64) float64 + func (d Exponential) Interval(confidence float64) (lo, hi float64) + func (d Exponential) Kurtosis() float64 + func (d Exponential) LogCDF(x float64) float64 + func (d Exponential) LogPDF(x float64) float64 + func (d Exponential) LogSF(x float64) float64 + func (d Exponential) Mean() float64 + func (d Exponential) Median() float64 + func (d Exponential) Moment(n int) float64 + func (d Exponential) PDF(x float64) float64 + func (d Exponential) PPF(p float64) float64 + func (d Exponential) Rvs(g *random.Generator, size ...int) (*ndarray.Array, error) + func (d Exponential) SF(x float64) float64 + func (d Exponential) Skew() float64 + func (d Exponential) Std() float64 + func (d Exponential) Support() (lo, hi float64) + func (d Exponential) Validate() error + func (d Exponential) Var() float64 + type F struct + Dfd float64 + Dfn float64 + Loc float64 + Scale float64 + func FitF[D Data](x D, o *FitOptions) (F, error) + func NewF(dfn float64, dfd float64, loc, scale float64) (F, error) + func (d F) CDF(x float64) float64 + func (d F) Entropy() float64 + func (d F) ISF(q float64) float64 + func (d F) Interval(confidence float64) (lo, hi float64) + func (d F) Kurtosis() float64 + func (d F) LogCDF(x float64) float64 + func (d F) LogPDF(x float64) float64 + func (d F) LogSF(x float64) float64 + func (d F) Mean() float64 + func (d F) Median() float64 + func (d F) Moment(n int) float64 + func (d F) PDF(x float64) float64 + func (d F) PPF(p float64) float64 + func (d F) Rvs(g *random.Generator, size ...int) (*ndarray.Array, error) + func (d F) SF(x float64) float64 + func (d F) Skew() float64 + func (d F) Std() float64 + func (d F) Support() (lo, hi float64) + func (d F) Validate() error + func (d F) Var() float64 + type FOnewayOptions struct + Welch bool + type FisherExactOptions struct + Alternative Alternative + type FitOptions struct + Fixed map[string]float64 + type FreqOptions struct + Limits *[2]float64 + NumBins int + Weights []float64 + type FreqResult struct + BinSize float64 + ExtraPoints int + Freq []float64 + LowerLimit float64 + func CumFreq[D Data](x D, o *FreqOptions) (FreqResult, error) + func RelFreq[D Data](x D, o *FreqOptions) (FreqResult, error) + type Gamma struct + A float64 + Loc float64 + Scale float64 + func FitGamma[D Data](x D, o *FitOptions) (Gamma, error) + func NewGamma(a float64, loc, scale float64) (Gamma, error) + func (d Gamma) CDF(x float64) float64 + func (d Gamma) Entropy() float64 + func (d Gamma) ISF(q float64) float64 + func (d Gamma) Interval(confidence float64) (lo, hi float64) + func (d Gamma) Kurtosis() float64 + func (d Gamma) LogCDF(x float64) float64 + func (d Gamma) LogPDF(x float64) float64 + func (d Gamma) LogSF(x float64) float64 + func (d Gamma) Mean() float64 + func (d Gamma) Median() float64 + func (d Gamma) Moment(n int) float64 + func (d Gamma) PDF(x float64) float64 + func (d Gamma) PPF(p float64) float64 + func (d Gamma) Rvs(g *random.Generator, size ...int) (*ndarray.Array, error) + func (d Gamma) SF(x float64) float64 + func (d Gamma) Skew() float64 + func (d Gamma) Std() float64 + func (d Gamma) Support() (lo, hi float64) + func (d Gamma) Validate() error + func (d Gamma) Var() float64 + type GaussianKDE struct + func NewGaussianKDE[D Data](dataset D, o *GaussianKDEOptions) (*GaussianKDE, error) + func (k *GaussianKDE) ChoCov() *ndarray.Array + func (k *GaussianKDE) Covariance() *ndarray.Array + func (k *GaussianKDE) D() int + func (k *GaussianKDE) Dataset() *ndarray.Array + func (k *GaussianKDE) Evaluate(points *ndarray.Array) ([]float64, error) + func (k *GaussianKDE) EvaluateSlice(x []float64) ([]float64, error) + func (k *GaussianKDE) Factor() float64 + func (k *GaussianKDE) IntegrateBox(low, high []float64, o *MultivariateNormalCDFOptions) (float64, error) + func (k *GaussianKDE) IntegrateBox1D(low, high float64) (float64, error) + func (k *GaussianKDE) IntegrateGaussian(mean []float64, cov *ndarray.Array) (float64, error) + func (k *GaussianKDE) IntegrateKDE(other *GaussianKDE) (float64, error) + func (k *GaussianKDE) InvCov() *ndarray.Array + func (k *GaussianKDE) LogDet() float64 + func (k *GaussianKDE) LogPDF(points *ndarray.Array) ([]float64, error) + func (k *GaussianKDE) LogPDFSlice(x []float64) ([]float64, error) + func (k *GaussianKDE) Marginal(dims ...int) (*GaussianKDE, error) + func (k *GaussianKDE) N() int + func (k *GaussianKDE) Neff() float64 + func (k *GaussianKDE) Resample(g *random.Generator, size int) (*ndarray.Array, error) + func (k *GaussianKDE) ScottsFactor() float64 + func (k *GaussianKDE) SetBandwidth(b KDEBandwidth) error + func (k *GaussianKDE) SilvermanFactor() float64 + func (k *GaussianKDE) Weights() []float64 + type GaussianKDEOptions struct + Bandwidth KDEBandwidth + Weights []float64 + type Geometric struct + Loc float64 + P float64 + func NewGeometric(p float64, loc float64) (Geometric, error) + func (d Geometric) CDF(k float64) float64 + func (d Geometric) Entropy() float64 + func (d Geometric) ISF(q float64) float64 + func (d Geometric) Interval(confidence float64) (lo, hi float64) + func (d Geometric) Kurtosis() float64 + func (d Geometric) LogCDF(k float64) float64 + func (d Geometric) LogPMF(k float64) float64 + func (d Geometric) LogSF(k float64) float64 + func (d Geometric) Mean() float64 + func (d Geometric) Median() float64 + func (d Geometric) Moment(n int) float64 + func (d Geometric) PMF(k float64) float64 + func (d Geometric) PPF(p float64) float64 + func (d Geometric) Rvs(g *random.Generator, size ...int) (*ndarray.Array, error) + func (d Geometric) SF(k float64) float64 + func (d Geometric) Skew() float64 + func (d Geometric) Std() float64 + func (d Geometric) Support() (lo, hi float64) + func (d Geometric) Validate() error + func (d Geometric) Var() float64 + type Gumbel struct + Loc float64 + Scale float64 + func FitGumbel[D Data](x D, o *FitOptions) (Gumbel, error) + func NewGumbel(loc, scale float64) (Gumbel, error) + func (d Gumbel) CDF(x float64) float64 + func (d Gumbel) Entropy() float64 + func (d Gumbel) ISF(q float64) float64 + func (d Gumbel) Interval(confidence float64) (lo, hi float64) + func (d Gumbel) Kurtosis() float64 + func (d Gumbel) LogCDF(x float64) float64 + func (d Gumbel) LogPDF(x float64) float64 + func (d Gumbel) LogSF(x float64) float64 + func (d Gumbel) Mean() float64 + func (d Gumbel) Median() float64 + func (d Gumbel) Moment(n int) float64 + func (d Gumbel) PDF(x float64) float64 + func (d Gumbel) PPF(p float64) float64 + func (d Gumbel) Rvs(g *random.Generator, size ...int) (*ndarray.Array, error) + func (d Gumbel) SF(x float64) float64 + func (d Gumbel) Skew() float64 + func (d Gumbel) Std() float64 + func (d Gumbel) Support() (lo, hi float64) + func (d Gumbel) Validate() error + func (d Gumbel) Var() float64 + type HalfNormal struct + Loc float64 + Scale float64 + func FitHalfNormal[D Data](x D, o *FitOptions) (HalfNormal, error) + func NewHalfNormal(loc, scale float64) (HalfNormal, error) + func (d HalfNormal) CDF(x float64) float64 + func (d HalfNormal) Entropy() float64 + func (d HalfNormal) ISF(q float64) float64 + func (d HalfNormal) Interval(confidence float64) (lo, hi float64) + func (d HalfNormal) Kurtosis() float64 + func (d HalfNormal) LogCDF(x float64) float64 + func (d HalfNormal) LogPDF(x float64) float64 + func (d HalfNormal) LogSF(x float64) float64 + func (d HalfNormal) Mean() float64 + func (d HalfNormal) Median() float64 + func (d HalfNormal) Moment(n int) float64 + func (d HalfNormal) PDF(x float64) float64 + func (d HalfNormal) PPF(p float64) float64 + func (d HalfNormal) Rvs(g *random.Generator, size ...int) (*ndarray.Array, error) + func (d HalfNormal) SF(x float64) float64 + func (d HalfNormal) Skew() float64 + func (d HalfNormal) Std() float64 + func (d HalfNormal) Support() (lo, hi float64) + func (d HalfNormal) Validate() error + func (d HalfNormal) Var() float64 + type HistogramOptions struct + Bins int + Density bool + Edges []float64 + Range *[2]float64 + Rule BinRule + Weights []float64 + type HistogramResult struct + Counts []float64 + Edges []float64 + func Histogram[D Data](x D, o *HistogramOptions) (HistogramResult, error) + type Hypergeometric struct + Draws int64 + Good int64 + Loc float64 + Total int64 + func NewHypergeometric(M int64, n int64, N int64, loc float64) (Hypergeometric, error) + func (d Hypergeometric) CDF(k float64) float64 + func (d Hypergeometric) Entropy() float64 + func (d Hypergeometric) ISF(q float64) float64 + func (d Hypergeometric) Interval(confidence float64) (lo, hi float64) + func (d Hypergeometric) Kurtosis() float64 + func (d Hypergeometric) LogCDF(k float64) float64 + func (d Hypergeometric) LogPMF(k float64) float64 + func (d Hypergeometric) LogSF(k float64) float64 + func (d Hypergeometric) Mean() float64 + func (d Hypergeometric) Median() float64 + func (d Hypergeometric) Moment(n int) float64 + func (d Hypergeometric) PMF(k float64) float64 + func (d Hypergeometric) PPF(p float64) float64 + func (d Hypergeometric) Rvs(g *random.Generator, size ...int) (*ndarray.Array, error) + func (d Hypergeometric) SF(k float64) float64 + func (d Hypergeometric) Skew() float64 + func (d Hypergeometric) Std() float64 + func (d Hypergeometric) Support() (lo, hi float64) + func (d Hypergeometric) Validate() error + func (d Hypergeometric) Var() float64 + type IQROptions struct + Method QuantileMethod + OmitNaN bool + Range [2]float64 + Scale float64 + type InverseGamma struct + A float64 + Loc float64 + Scale float64 + func FitInverseGamma[D Data](x D, o *FitOptions) (InverseGamma, error) + func NewInverseGamma(a float64, loc, scale float64) (InverseGamma, error) + func (d InverseGamma) CDF(x float64) float64 + func (d InverseGamma) Entropy() float64 + func (d InverseGamma) ISF(q float64) float64 + func (d InverseGamma) Interval(confidence float64) (lo, hi float64) + func (d InverseGamma) Kurtosis() float64 + func (d InverseGamma) LogCDF(x float64) float64 + func (d InverseGamma) LogPDF(x float64) float64 + func (d InverseGamma) LogSF(x float64) float64 + func (d InverseGamma) Mean() float64 + func (d InverseGamma) Median() float64 + func (d InverseGamma) Moment(n int) float64 + func (d InverseGamma) PDF(x float64) float64 + func (d InverseGamma) PPF(p float64) float64 + func (d InverseGamma) Rvs(g *random.Generator, size ...int) (*ndarray.Array, error) + func (d InverseGamma) SF(x float64) float64 + func (d InverseGamma) Skew() float64 + func (d InverseGamma) Std() float64 + func (d InverseGamma) Support() (lo, hi float64) + func (d InverseGamma) Validate() error + func (d InverseGamma) Var() float64 + type KDEBandwidth struct + Factor float64 + Func func(k *GaussianKDE) float64 + Rule BandwidthRule + type KSOptions struct + Alternative Alternative + Method Method + type KSResult struct + PValue float64 + Statistic float64 + StatisticLocation float64 + StatisticSign int + func KSTest1Samp[D Data](x D, cdf func(float64) float64, o *KSOptions) (KSResult, error) + func KSTest2Samp[D Data](a, b D, o *KSOptions) (KSResult, error) + type KendallOptions struct + Alternative Alternative + Method Method + Variant KendallVariant + type KendallVariant int + const TauB + const TauC + type Laplace struct + Loc float64 + Scale float64 + func FitLaplace[D Data](x D, o *FitOptions) (Laplace, error) + func NewLaplace(loc, scale float64) (Laplace, error) + func (d Laplace) CDF(x float64) float64 + func (d Laplace) Entropy() float64 + func (d Laplace) ISF(q float64) float64 + func (d Laplace) Interval(confidence float64) (lo, hi float64) + func (d Laplace) Kurtosis() float64 + func (d Laplace) LogCDF(x float64) float64 + func (d Laplace) LogPDF(x float64) float64 + func (d Laplace) LogSF(x float64) float64 + func (d Laplace) Mean() float64 + func (d Laplace) Median() float64 + func (d Laplace) Moment(n int) float64 + func (d Laplace) PDF(x float64) float64 + func (d Laplace) PPF(p float64) float64 + func (d Laplace) Rvs(g *random.Generator, size ...int) (*ndarray.Array, error) + func (d Laplace) SF(x float64) float64 + func (d Laplace) Skew() float64 + func (d Laplace) Std() float64 + func (d Laplace) Support() (lo, hi float64) + func (d Laplace) Validate() error + func (d Laplace) Var() float64 + type LeveneCenter int + const CenterMean + const CenterMedian + const CenterTrimmed + type LeveneOptions struct + Center LeveneCenter + ProportionToCut float64 + type Limits struct + Lower float64 + LowerExclusive bool + Upper float64 + UpperExclusive bool + type LinregressResult struct + Intercept float64 + InterceptStdErr float64 + PValue float64 + RValue float64 + Slope float64 + StdErr float64 + func Linregress[D Data](x, y D, o *CorrelationOptions) (LinregressResult, error) + type LogNormal struct + Loc float64 + S float64 + Scale float64 + func FitLogNormal[D Data](x D, o *FitOptions) (LogNormal, error) + func NewLogNormal(s float64, loc, scale float64) (LogNormal, error) + func (d LogNormal) CDF(x float64) float64 + func (d LogNormal) Entropy() float64 + func (d LogNormal) ISF(q float64) float64 + func (d LogNormal) Interval(confidence float64) (lo, hi float64) + func (d LogNormal) Kurtosis() float64 + func (d LogNormal) LogCDF(x float64) float64 + func (d LogNormal) LogPDF(x float64) float64 + func (d LogNormal) LogSF(x float64) float64 + func (d LogNormal) Mean() float64 + func (d LogNormal) Median() float64 + func (d LogNormal) Moment(n int) float64 + func (d LogNormal) PDF(x float64) float64 + func (d LogNormal) PPF(p float64) float64 + func (d LogNormal) Rvs(g *random.Generator, size ...int) (*ndarray.Array, error) + func (d LogNormal) SF(x float64) float64 + func (d LogNormal) Skew() float64 + func (d LogNormal) Std() float64 + func (d LogNormal) Support() (lo, hi float64) + func (d LogNormal) Validate() error + func (d LogNormal) Var() float64 + type LogUniform = Reciprocal + type Logistic struct + Loc float64 + Scale float64 + func FitLogistic[D Data](x D, o *FitOptions) (Logistic, error) + func NewLogistic(loc, scale float64) (Logistic, error) + func (d Logistic) CDF(x float64) float64 + func (d Logistic) Entropy() float64 + func (d Logistic) ISF(q float64) float64 + func (d Logistic) Interval(confidence float64) (lo, hi float64) + func (d Logistic) Kurtosis() float64 + func (d Logistic) LogCDF(x float64) float64 + func (d Logistic) LogPDF(x float64) float64 + func (d Logistic) LogSF(x float64) float64 + func (d Logistic) Mean() float64 + func (d Logistic) Median() float64 + func (d Logistic) Moment(n int) float64 + func (d Logistic) PDF(x float64) float64 + func (d Logistic) PPF(p float64) float64 + func (d Logistic) Rvs(g *random.Generator, size ...int) (*ndarray.Array, error) + func (d Logistic) SF(x float64) float64 + func (d Logistic) Skew() float64 + func (d Logistic) Std() float64 + func (d Logistic) Support() (lo, hi float64) + func (d Logistic) Validate() error + func (d Logistic) Var() float64 + type Lomax struct + C float64 + Loc float64 + Scale float64 + func FitLomax[D Data](x D, o *FitOptions) (Lomax, error) + func NewLomax(c float64, loc, scale float64) (Lomax, error) + func (d Lomax) CDF(x float64) float64 + func (d Lomax) Entropy() float64 + func (d Lomax) ISF(q float64) float64 + func (d Lomax) Interval(confidence float64) (lo, hi float64) + func (d Lomax) Kurtosis() float64 + func (d Lomax) LogCDF(x float64) float64 + func (d Lomax) LogPDF(x float64) float64 + func (d Lomax) LogSF(x float64) float64 + func (d Lomax) Mean() float64 + func (d Lomax) Median() float64 + func (d Lomax) Moment(n int) float64 + func (d Lomax) PDF(x float64) float64 + func (d Lomax) PPF(p float64) float64 + func (d Lomax) Rvs(g *random.Generator, size ...int) (*ndarray.Array, error) + func (d Lomax) SF(x float64) float64 + func (d Lomax) Skew() float64 + func (d Lomax) Std() float64 + func (d Lomax) Support() (lo, hi float64) + func (d Lomax) Validate() error + func (d Lomax) Var() float64 + type MADOptions struct + Center func([]float64) float64 + OmitNaN bool + Scale float64 + type MannWhitneyUOptions struct + Alternative Alternative + Method Method + NoContinuity bool + type MeanOptions struct + Ddof float64 + OmitNaN bool + Weights []float64 + type MedianOptions struct + OmitNaN bool + type Method int + const MethodApprox + const MethodAsymptotic + const MethodAuto + const MethodExact + func (m Method) String() string + type ModeResult struct + Count int + Mode float64 + func Mode[D Data](x D, o *NaNOptions) (ModeResult, error) + type MomentOptions struct + Center *float64 + OmitNaN bool + type Multinomial struct + func NewMultinomial(n int, p []float64) (*Multinomial, error) + func (m *Multinomial) Cov() *ndarray.Array + func (m *Multinomial) Entropy() float64 + func (m *Multinomial) LogPMF(x []float64) (float64, error) + func (m *Multinomial) LogPMFPoints(x *ndarray.Array) ([]float64, error) + func (m *Multinomial) Mean() []float64 + func (m *Multinomial) N() int + func (m *Multinomial) P() []float64 + func (m *Multinomial) PMF(x []float64) (float64, error) + func (m *Multinomial) PMFPoints(x *ndarray.Array) ([]float64, error) + func (m *Multinomial) Rvs(g *random.Generator, size int) (*ndarray.Array, error) + type MultivariateNormal struct + func NewMultivariateNormal(mean []float64, cov *ndarray.Array, o *MultivariateNormalOptions) (*MultivariateNormal, error) + func (m *MultivariateNormal) CDF(x []float64, o *MultivariateNormalCDFOptions) (float64, error) + func (m *MultivariateNormal) CDFEstimate(x []float64, o *MultivariateNormalCDFOptions) (CDFEstimate, error) + func (m *MultivariateNormal) CDFPoints(x *ndarray.Array, o *MultivariateNormalCDFOptions) ([]float64, error) + func (m *MultivariateNormal) Cov() *ndarray.Array + func (m *MultivariateNormal) Dim() int + func (m *MultivariateNormal) Entropy() float64 + func (m *MultivariateNormal) LogCDF(x []float64, o *MultivariateNormalCDFOptions) (float64, error) + func (m *MultivariateNormal) LogPDF(x []float64) (float64, error) + func (m *MultivariateNormal) LogPDFPoints(x *ndarray.Array) ([]float64, error) + func (m *MultivariateNormal) LogPDet() float64 + func (m *MultivariateNormal) Mean() []float64 + func (m *MultivariateNormal) PDF(x []float64) (float64, error) + func (m *MultivariateNormal) PDFPoints(x *ndarray.Array) ([]float64, error) + func (m *MultivariateNormal) Rank() int + func (m *MultivariateNormal) Rvs(g *random.Generator, size int) (*ndarray.Array, error) + type MultivariateNormalCDFOptions struct + AbsEps float64 + Lower []float64 + MaxPts int + RNG *random.Generator + type MultivariateNormalFitOptions struct + FixCov *ndarray.Array + FixMean []float64 + type MultivariateNormalOptions struct + AllowSingular bool + type NaNOptions struct + OmitNaN bool + type NegativeBinomial struct + Loc float64 + N float64 + P float64 + func NewNegativeBinomial(n float64, p float64, loc float64) (NegativeBinomial, error) + func (d NegativeBinomial) CDF(k float64) float64 + func (d NegativeBinomial) Entropy() float64 + func (d NegativeBinomial) ISF(q float64) float64 + func (d NegativeBinomial) Interval(confidence float64) (lo, hi float64) + func (d NegativeBinomial) Kurtosis() float64 + func (d NegativeBinomial) LogCDF(k float64) float64 + func (d NegativeBinomial) LogPMF(k float64) float64 + func (d NegativeBinomial) LogSF(k float64) float64 + func (d NegativeBinomial) Mean() float64 + func (d NegativeBinomial) Median() float64 + func (d NegativeBinomial) Moment(n int) float64 + func (d NegativeBinomial) PMF(k float64) float64 + func (d NegativeBinomial) PPF(p float64) float64 + func (d NegativeBinomial) Rvs(g *random.Generator, size ...int) (*ndarray.Array, error) + func (d NegativeBinomial) SF(k float64) float64 + func (d NegativeBinomial) Skew() float64 + func (d NegativeBinomial) Std() float64 + func (d NegativeBinomial) Support() (lo, hi float64) + func (d NegativeBinomial) Validate() error + func (d NegativeBinomial) Var() float64 + type NoncentralChiSquared struct + Df float64 + Loc float64 + Nc float64 + Scale float64 + func NewNoncentralChiSquared(df float64, nc float64, loc, scale float64) (NoncentralChiSquared, error) + func (d NoncentralChiSquared) CDF(x float64) float64 + func (d NoncentralChiSquared) Entropy() float64 + func (d NoncentralChiSquared) ISF(q float64) float64 + func (d NoncentralChiSquared) Interval(confidence float64) (lo, hi float64) + func (d NoncentralChiSquared) Kurtosis() float64 + func (d NoncentralChiSquared) LogCDF(x float64) float64 + func (d NoncentralChiSquared) LogPDF(x float64) float64 + func (d NoncentralChiSquared) LogSF(x float64) float64 + func (d NoncentralChiSquared) Mean() float64 + func (d NoncentralChiSquared) Median() float64 + func (d NoncentralChiSquared) Moment(n int) float64 + func (d NoncentralChiSquared) PDF(x float64) float64 + func (d NoncentralChiSquared) PPF(p float64) float64 + func (d NoncentralChiSquared) Rvs(g *random.Generator, size ...int) (*ndarray.Array, error) + func (d NoncentralChiSquared) SF(x float64) float64 + func (d NoncentralChiSquared) Skew() float64 + func (d NoncentralChiSquared) Std() float64 + func (d NoncentralChiSquared) Support() (lo, hi float64) + func (d NoncentralChiSquared) Validate() error + func (d NoncentralChiSquared) Var() float64 + type Normal struct + Loc float64 + Scale float64 + func FitNormal[D Data](x D, o *FitOptions) (Normal, error) + func NewNormal(loc, scale float64) (Normal, error) + func (d Normal) CDF(x float64) float64 + func (d Normal) Entropy() float64 + func (d Normal) ISF(q float64) float64 + func (d Normal) Interval(confidence float64) (lo, hi float64) + func (d Normal) Kurtosis() float64 + func (d Normal) LogCDF(x float64) float64 + func (d Normal) LogPDF(x float64) float64 + func (d Normal) LogSF(x float64) float64 + func (d Normal) Mean() float64 + func (d Normal) Median() float64 + func (d Normal) Moment(n int) float64 + func (d Normal) PDF(x float64) float64 + func (d Normal) PPF(p float64) float64 + func (d Normal) Rvs(g *random.Generator, size ...int) (*ndarray.Array, error) + func (d Normal) SF(x float64) float64 + func (d Normal) Skew() float64 + func (d Normal) Std() float64 + func (d Normal) Support() (lo, hi float64) + func (d Normal) Validate() error + func (d Normal) Var() float64 + type Pareto struct + B float64 + Loc float64 + Scale float64 + func FitPareto[D Data](x D, o *FitOptions) (Pareto, error) + func NewPareto(b float64, loc, scale float64) (Pareto, error) + func (d Pareto) CDF(x float64) float64 + func (d Pareto) Entropy() float64 + func (d Pareto) ISF(q float64) float64 + func (d Pareto) Interval(confidence float64) (lo, hi float64) + func (d Pareto) Kurtosis() float64 + func (d Pareto) LogCDF(x float64) float64 + func (d Pareto) LogPDF(x float64) float64 + func (d Pareto) LogSF(x float64) float64 + func (d Pareto) Mean() float64 + func (d Pareto) Median() float64 + func (d Pareto) Moment(n int) float64 + func (d Pareto) PDF(x float64) float64 + func (d Pareto) PPF(p float64) float64 + func (d Pareto) Rvs(g *random.Generator, size ...int) (*ndarray.Array, error) + func (d Pareto) SF(x float64) float64 + func (d Pareto) Skew() float64 + func (d Pareto) Std() float64 + func (d Pareto) Support() (lo, hi float64) + func (d Pareto) Validate() error + func (d Pareto) Var() float64 + type PearsonResult struct + PValue float64 + Statistic float64 + func Pearsonr[D Data](x, y D, o *CorrelationOptions) (PearsonResult, error) + func (r PearsonResult) ConfidenceInterval(level float64) (ConfidenceInterval, error) + type Poisson struct + Loc float64 + Mu float64 + func NewPoisson(mu float64, loc float64) (Poisson, error) + func (d Poisson) CDF(k float64) float64 + func (d Poisson) Entropy() float64 + func (d Poisson) ISF(q float64) float64 + func (d Poisson) Interval(confidence float64) (lo, hi float64) + func (d Poisson) Kurtosis() float64 + func (d Poisson) LogCDF(k float64) float64 + func (d Poisson) LogPMF(k float64) float64 + func (d Poisson) LogSF(k float64) float64 + func (d Poisson) Mean() float64 + func (d Poisson) Median() float64 + func (d Poisson) Moment(n int) float64 + func (d Poisson) PMF(k float64) float64 + func (d Poisson) PPF(p float64) float64 + func (d Poisson) Rvs(g *random.Generator, size ...int) (*ndarray.Array, error) + func (d Poisson) SF(k float64) float64 + func (d Poisson) Skew() float64 + func (d Poisson) Std() float64 + func (d Poisson) Support() (lo, hi float64) + func (d Poisson) Validate() error + func (d Poisson) Var() float64 + type PowerMeanOptions struct + OmitNaN bool + Weights []float64 + type QuantileMethod int + const QuantileAveragedInvertedCDF + const QuantileClosestObservation + const QuantileHazen + const QuantileHigher + const QuantileInterpolatedInvertedCDF + const QuantileInvertedCDF + const QuantileLinear + const QuantileLower + const QuantileMedianUnbiased + const QuantileMidpoint + const QuantileNearest + const QuantileNormalUnbiased + const QuantileWeibull + func (m QuantileMethod) String() string + type QuantileOptions struct + Method QuantileMethod + OmitNaN bool + Weights []float64 + type RankMethod int + const RankAverage + const RankDense + const RankMax + const RankMin + const RankOrdinal + type RankTestResult struct + PValue float64 + Statistic float64 + ZStatistic float64 + func MannWhitneyU[D Data](x, y D, o *MannWhitneyUOptions) (RankTestResult, error) + func Wilcoxon[D Data](x, y D, o *WilcoxonOptions) (RankTestResult, error) + type Rayleigh struct + Loc float64 + Scale float64 + func FitRayleigh[D Data](x D, o *FitOptions) (Rayleigh, error) + func NewRayleigh(loc, scale float64) (Rayleigh, error) + func (d Rayleigh) CDF(x float64) float64 + func (d Rayleigh) Entropy() float64 + func (d Rayleigh) ISF(q float64) float64 + func (d Rayleigh) Interval(confidence float64) (lo, hi float64) + func (d Rayleigh) Kurtosis() float64 + func (d Rayleigh) LogCDF(x float64) float64 + func (d Rayleigh) LogPDF(x float64) float64 + func (d Rayleigh) LogSF(x float64) float64 + func (d Rayleigh) Mean() float64 + func (d Rayleigh) Median() float64 + func (d Rayleigh) Moment(n int) float64 + func (d Rayleigh) PDF(x float64) float64 + func (d Rayleigh) PPF(p float64) float64 + func (d Rayleigh) Rvs(g *random.Generator, size ...int) (*ndarray.Array, error) + func (d Rayleigh) SF(x float64) float64 + func (d Rayleigh) Skew() float64 + func (d Rayleigh) Std() float64 + func (d Rayleigh) Support() (lo, hi float64) + func (d Rayleigh) Validate() error + func (d Rayleigh) Var() float64 + type Reciprocal struct + A float64 + B float64 + Loc float64 + Scale float64 + func FitReciprocal[D Data](x D, o *FitOptions) (Reciprocal, error) + func NewReciprocal(a float64, b float64, loc, scale float64) (Reciprocal, error) + func (d Reciprocal) CDF(x float64) float64 + func (d Reciprocal) Entropy() float64 + func (d Reciprocal) ISF(q float64) float64 + func (d Reciprocal) Interval(confidence float64) (lo, hi float64) + func (d Reciprocal) Kurtosis() float64 + func (d Reciprocal) LogCDF(x float64) float64 + func (d Reciprocal) LogPDF(x float64) float64 + func (d Reciprocal) LogSF(x float64) float64 + func (d Reciprocal) Mean() float64 + func (d Reciprocal) Median() float64 + func (d Reciprocal) Moment(n int) float64 + func (d Reciprocal) PDF(x float64) float64 + func (d Reciprocal) PPF(p float64) float64 + func (d Reciprocal) Rvs(g *random.Generator, size ...int) (*ndarray.Array, error) + func (d Reciprocal) SF(x float64) float64 + func (d Reciprocal) Skew() float64 + func (d Reciprocal) Std() float64 + func (d Reciprocal) Support() (lo, hi float64) + func (d Reciprocal) Validate() error + func (d Reciprocal) Var() float64 + type ShapeOptions struct + Ddof *float64 + OmitNaN bool + Pearson bool + Unbiased bool + type SkewTestOptions struct + Alternative Alternative + type StudentT struct + Df float64 + Loc float64 + Scale float64 + func FitStudentT[D Data](x D, o *FitOptions) (StudentT, error) + func NewStudentT(df float64, loc, scale float64) (StudentT, error) + func (d StudentT) CDF(x float64) float64 + func (d StudentT) Entropy() float64 + func (d StudentT) ISF(q float64) float64 + func (d StudentT) Interval(confidence float64) (lo, hi float64) + func (d StudentT) Kurtosis() float64 + func (d StudentT) LogCDF(x float64) float64 + func (d StudentT) LogPDF(x float64) float64 + func (d StudentT) LogSF(x float64) float64 + func (d StudentT) Mean() float64 + func (d StudentT) Median() float64 + func (d StudentT) Moment(n int) float64 + func (d StudentT) PDF(x float64) float64 + func (d StudentT) PPF(p float64) float64 + func (d StudentT) Rvs(g *random.Generator, size ...int) (*ndarray.Array, error) + func (d StudentT) SF(x float64) float64 + func (d StudentT) Skew() float64 + func (d StudentT) Std() float64 + func (d StudentT) Support() (lo, hi float64) + func (d StudentT) Validate() error + func (d StudentT) Var() float64 + type TTestIndOptions struct + Alternative Alternative + Trim float64 + Welch bool + type TTestOptions struct + Alternative Alternative + type TTestResult struct + DF float64 + PValue float64 + Statistic float64 + func TTest1Samp[D Data](x D, popmean float64, o *TTestOptions) (TTestResult, error) + func TTestInd[D Data](a, b D, o *TTestIndOptions) (TTestResult, error) + func TTestRel[D Data](a, b D, o *TTestOptions) (TTestResult, error) + func (r TTestResult) ConfidenceInterval(level float64) (ConfidenceInterval, error) + type Tail int + const TailLeft + const TailRight + type TestResult struct + PValue float64 + Statistic float64 + func Bartlett[D Data](samples ...D) (TestResult, error) + func ChiSquare[D Data](observed D, o *ChiSquareOptions) (TestResult, error) + func FOneway[D Data](o *FOnewayOptions, samples ...D) (TestResult, error) + func FisherExact(table [2][2]int64, o *FisherExactOptions) (TestResult, error) + func JarqueBera[D Data](x D) (TestResult, error) + func Kendalltau[D Data](x, y D, o *KendallOptions) (TestResult, error) + func KruskalWallis[D Data](samples ...D) (TestResult, error) + func KurtosisTest[D Data](x D, o *SkewTestOptions) (TestResult, error) + func Levene[D Data](o *LeveneOptions, samples ...D) (TestResult, error) + func Normaltest[D Data](x D) (TestResult, error) + func PowerDivergence[D Data](observed D, lambda float64, o *ChiSquareOptions) (TestResult, error) + func ShapiroWilk[D Data](x D) (TestResult, error) + func SkewTest[D Data](x D, o *SkewTestOptions) (TestResult, error) + func Spearmanr[D Data](x, y D, o *CorrelationOptions) (TestResult, error) + type Triangular struct + C float64 + Loc float64 + Scale float64 + func FitTriangular[D Data](x D, o *FitOptions) (Triangular, error) + func NewTriangular(c float64, loc, scale float64) (Triangular, error) + func (d Triangular) CDF(x float64) float64 + func (d Triangular) Entropy() float64 + func (d Triangular) ISF(q float64) float64 + func (d Triangular) Interval(confidence float64) (lo, hi float64) + func (d Triangular) Kurtosis() float64 + func (d Triangular) LogCDF(x float64) float64 + func (d Triangular) LogPDF(x float64) float64 + func (d Triangular) LogSF(x float64) float64 + func (d Triangular) Mean() float64 + func (d Triangular) Median() float64 + func (d Triangular) Moment(n int) float64 + func (d Triangular) PDF(x float64) float64 + func (d Triangular) PPF(p float64) float64 + func (d Triangular) Rvs(g *random.Generator, size ...int) (*ndarray.Array, error) + func (d Triangular) SF(x float64) float64 + func (d Triangular) Skew() float64 + func (d Triangular) Std() float64 + func (d Triangular) Support() (lo, hi float64) + func (d Triangular) Validate() error + func (d Triangular) Var() float64 + type TrimmedOptions struct + Ddof *float64 + Limits *Limits + OmitNaN bool + type Uniform struct + Loc float64 + Scale float64 + func FitUniform[D Data](x D, o *FitOptions) (Uniform, error) + func NewUniform(loc, scale float64) (Uniform, error) + func (d Uniform) CDF(x float64) float64 + func (d Uniform) Entropy() float64 + func (d Uniform) ISF(q float64) float64 + func (d Uniform) Interval(confidence float64) (lo, hi float64) + func (d Uniform) Kurtosis() float64 + func (d Uniform) LogCDF(x float64) float64 + func (d Uniform) LogPDF(x float64) float64 + func (d Uniform) LogSF(x float64) float64 + func (d Uniform) Mean() float64 + func (d Uniform) Median() float64 + func (d Uniform) Moment(n int) float64 + func (d Uniform) PDF(x float64) float64 + func (d Uniform) PPF(p float64) float64 + func (d Uniform) Rvs(g *random.Generator, size ...int) (*ndarray.Array, error) + func (d Uniform) SF(x float64) float64 + func (d Uniform) Skew() float64 + func (d Uniform) Std() float64 + func (d Uniform) Support() (lo, hi float64) + func (d Uniform) Validate() error + func (d Uniform) Var() float64 + type VonMises struct + Kappa float64 + Loc float64 + Scale float64 + func FitVonMises[D Data](x D, o *FitOptions) (VonMises, error) + func NewVonMises(kappa float64, loc, scale float64) (VonMises, error) + func (d VonMises) CDF(x float64) float64 + func (d VonMises) Entropy() float64 + func (d VonMises) ISF(q float64) float64 + func (d VonMises) Interval(confidence float64) (lo, hi float64) + func (d VonMises) Kurtosis() float64 + func (d VonMises) LogCDF(x float64) float64 + func (d VonMises) LogPDF(x float64) float64 + func (d VonMises) LogSF(x float64) float64 + func (d VonMises) Mean() float64 + func (d VonMises) Median() float64 + func (d VonMises) Moment(n int) float64 + func (d VonMises) PDF(x float64) float64 + func (d VonMises) PPF(p float64) float64 + func (d VonMises) Rvs(g *random.Generator, size ...int) (*ndarray.Array, error) + func (d VonMises) SF(x float64) float64 + func (d VonMises) Skew() float64 + func (d VonMises) Std() float64 + func (d VonMises) Support() (lo, hi float64) + func (d VonMises) Validate() error + func (d VonMises) Var() float64 + type Weibull struct + C float64 + Loc float64 + Scale float64 + func FitWeibull[D Data](x D, o *FitOptions) (Weibull, error) + func NewWeibull(c float64, loc, scale float64) (Weibull, error) + func (d Weibull) CDF(x float64) float64 + func (d Weibull) Entropy() float64 + func (d Weibull) ISF(q float64) float64 + func (d Weibull) Interval(confidence float64) (lo, hi float64) + func (d Weibull) Kurtosis() float64 + func (d Weibull) LogCDF(x float64) float64 + func (d Weibull) LogPDF(x float64) float64 + func (d Weibull) LogSF(x float64) float64 + func (d Weibull) Mean() float64 + func (d Weibull) Median() float64 + func (d Weibull) Moment(n int) float64 + func (d Weibull) PDF(x float64) float64 + func (d Weibull) PPF(p float64) float64 + func (d Weibull) Rvs(g *random.Generator, size ...int) (*ndarray.Array, error) + func (d Weibull) SF(x float64) float64 + func (d Weibull) Skew() float64 + func (d Weibull) Std() float64 + func (d Weibull) Support() (lo, hi float64) + func (d Weibull) Validate() error + func (d Weibull) Var() float64 + type WilcoxonOptions struct + Alternative Alternative + Correction bool + Method Method + ZeroMethod ZeroMethod + type ZeroMethod int + const ZeroPratt + const ZeroWilcox + const ZeroZsplit + type Zipf struct + A float64 + Loc float64 + func NewZipf(a float64, loc float64) (Zipf, error) + func (d Zipf) CDF(k float64) float64 + func (d Zipf) Entropy() float64 + func (d Zipf) ISF(q float64) float64 + func (d Zipf) Interval(confidence float64) (lo, hi float64) + func (d Zipf) Kurtosis() float64 + func (d Zipf) LogCDF(k float64) float64 + func (d Zipf) LogPMF(k float64) float64 + func (d Zipf) LogSF(k float64) float64 + func (d Zipf) Mean() float64 + func (d Zipf) Median() float64 + func (d Zipf) Moment(n int) float64 + func (d Zipf) PMF(k float64) float64 + func (d Zipf) PPF(p float64) float64 + func (d Zipf) Rvs(g *random.Generator, size ...int) (*ndarray.Array, error) + func (d Zipf) SF(k float64) float64 + func (d Zipf) Skew() float64 + func (d Zipf) Std() float64 + func (d Zipf) Support() (lo, hi float64) + func (d Zipf) Validate() error + func (d Zipf) Var() float64