math.stats

anderson-darling

added in 3.0

(anderson-darling arr)

Performs the Anderson-Darling test for normality

(anderson-darling 0. 0. 0. 0. 0. 0. 0. 100. 100. 100. 100. 100. 100.) => 2.1947640982019347

ansari

(ansari m n)

arcsine

(arcsine a b)

beta

(beta a b)

beta-binomial

(beta-binomial mu sigma bd)

beta-prime

(beta-prime a b)

binomial

(binomial n p)

cauchy

(cauchy location scale)

chi

(chi df)

chi-square

(chi-square df)

cramer-vonmises

added in 3.0

(cramer-vonmises arr)

Performs the Cramer-vonMises test for normality

(cramer-vonmises 0. 0. 0. 0. 0. 0. 0. 100. 100. 100. 100. 100. 100.) => 0.3625667515860767

cumulative

added in 3.0

(cumulative dist x)

returns the cumulative density for the distribution

(cumulative (laplace 1 2) 4) => 0.888434919925785

(cumulative (binomial 10 0.3) 1 2 3) => 0.14930834590000003 0.38278278639999974 0.6496107184000002

exponential

(exponential scale)

extreme

(extreme dist mlen largest)

f

(f df1 df2)

fretchet

(fretchet loc scale shape)

gamma

(gamma scale shape)

generalized-pareto

(generalized-pareto loc scale shape)

geometric

(geometric p)

gev

(gev loc scale shape)

gumbel

(gumbel loc scale)

hyper-geometric

(hyper-geometric r b n)

inv-gamma

(inv-gamma shape scale)

inv-normal

(inv-normal mu sigma)

jarque-bera

added in 3.0

(jarque-bera arr)

Performs the Jarque-Bera test for normality

(jarque-bera 0. 0. 0. 0. 0. 0. 0. 100. 100. 100. 100. 100. 100.) => 2.1669737339380206

kendall

(kendall n)

kolmogorov-lilliefors

added in 3.0

(kolmogorov-lilliefors arr)

Performs the Kolmogorov-Lilliefors test for normality

(-> 0. 0. 0. 0. 0. 0. 0. 100. 100. 100. 100. 100. 100. kolmogorov-lilliefors) => 0.3515941066052153

kolmogorov-smirnov

added in 3.0

(kolmogorov-smirnov arr)

Performs the Kolmogorov-Smirnov test for normality

(-> 0. 0. 0. 0. 0. 0. 0. 100. 100. 100. 100. 100. 100. (kolmogorov-smirnov) seq) => (contains 0.5 (approx 7.86899E-4))

kumaraswamy

(kumaraswamy a b)

laplace

(laplace location scale)

levy

(levy mu sigma)

log-normal

(log-normal meanlog sdlog)

logarithmic

(logarithmic mu)

logistic

(logistic location scale)

nakagami

(nakagami m omega)

neg-binomial

(neg-binomial prob size)

non-central-beta

(non-central-beta a b ncp)

non-central-chi-square

(non-central-chi-square df ncp)

non-central-f

(non-central-f df1 df2 ncp)

non-central-t

(non-central-t df ncp)

normal

(normal mu sigma)

order

(order dist mlen j largest)

poisson

(poisson lambda)

probability

added in 3.0

(probability dist x)

returns the probability density for the distribution

(probability (laplace 1 2) 4) => 0.05578254003710745

(probability (binomial 10 0.3) 1 2 3) => (contains (approx 0.1210608) (approx 0.2334744) (approx 0.2668279))

random-sample

added in 3.0

(random-sample dist)

gives a random sample from distribution

(random-sample (laplace 1 2)) ;; 1.9528692108205805 => number?

rayleigh

(rayleigh scale)

reverse-weibull

(reverse-weibull loc scale shape)

shapiro-francia

added in 3.0

(shapiro-francia arr)

Performs the Shapiro-Francia test for normality

(-> 0. 0. 0. 0. 0. 0. 0. 100. 100. 100. 100. 100. 100. shapiro-francia) => 0.6756836312861318

shapiro-wilk

added in 3.0

(shapiro-wilk arr)

Performs the Shapiro-Wilk test for normality

(-> 0. 0. 0. 0. 0. 0. 0. 100. 100. 100. 100. 100. 100. shapiro-wilk) => 0.6457043943928288

sign-rank

(sign-rank n)

skewed-t

(skewed-t df gamma)

spearman

(spearman n)

t

(t df)

tukey

(tukey rr cc df)

uniform

(uniform a b)

weibull

(weibull shape scale)

wilcoxon

(wilcoxon m n)

zipf

(zipf N s)