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
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
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
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))
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?
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