Liking cljdoc? Tell your friends :D

math.stats.distribution


+distributions+clj

source

+distributions-map+clj

source

ansariclj

(ansari m n)
source

arcsineclj

(arcsine a b)
source

betaclj

(beta a b)
source

beta-binomialclj

(beta-binomial mu sigma bd)
source

beta-primeclj

(beta-prime a b)
source

binomialclj

(binomial n p)
source

cauchyclj

(cauchy location scale)
source

chiclj

(chi df)
source

chi-squareclj

(chi-square df)
source

create-distribution-formclj

(create-distribution-form [cls params])

creates the defn form for a particular distribution

(create-distribution-form [net.sourceforge.jdistlib.Wilcoxon [:m :n]]) => '(defn wilcoxon [m n] (net.sourceforge.jdistlib.Wilcoxon. m n))

creates the `defn` form for a particular distribution

(create-distribution-form [net.sourceforge.jdistlib.Wilcoxon [:m :n]])
=> '(defn wilcoxon [m n]
      (net.sourceforge.jdistlib.Wilcoxon. m n))
sourceraw docstring

create-distribution-formsclj

(create-distribution-forms)
(create-distribution-forms dists)

helper for create-distributions

(create-distribution-forms) => vector?

helper for `create-distributions`

(create-distribution-forms)
=> vector?
sourceraw docstring

create-distributionscljmacro

(create-distributions)

creates all methods for constructing distributions

(create-distributions)

creates all methods for constructing distributions

(create-distributions)
sourceraw docstring

cumulativeclj

(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]

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]
sourceraw docstring

exponentialclj

(exponential scale)
source

extremeclj

(extreme dist mlen largest)
source

fclj

(f df1 df2)
source

fn-nameclj

(fn-name cls)

creates a function name based on class

(fn-name net.sourceforge.jdistlib.evd.Order) => "order"

creates a function name based on class

(fn-name net.sourceforge.jdistlib.evd.Order)
=> "order"
sourceraw docstring

fretchetclj

(fretchet loc scale shape)
source

gammaclj

(gamma scale shape)
source

generalized-paretoclj

(generalized-pareto loc scale shape)
source

geometricclj

(geometric p)
source

gevclj

(gev loc scale shape)
source

gumbelclj

(gumbel loc scale)
source

hyper-geometricclj

(hyper-geometric r b n)
source

inv-gammaclj

(inv-gamma shape scale)
source

inv-normalclj

(inv-normal mu sigma)
source

kendallclj

(kendall n)
source

kumaraswamyclj

(kumaraswamy a b)
source

laplaceclj

(laplace location scale)
source

levyclj

(levy mu sigma)
source

log-normalclj

(log-normal meanlog sdlog)
source

logarithmicclj

(logarithmic mu)
source

logisticclj

(logistic location scale)
source

nakagamiclj

(nakagami m omega)
source

neg-binomialclj

(neg-binomial prob size)
source

non-central-betaclj

(non-central-beta a b ncp)
source

non-central-chi-squareclj

(non-central-chi-square df ncp)
source

non-central-fclj

(non-central-f df1 df2 ncp)
source

non-central-tclj

(non-central-t df ncp)
source

normalclj

(normal mu sigma)
source

orderclj

(order dist mlen j largest)
source

poissonclj

(poisson lambda)
source

probabilityclj

(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)])

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)])
sourceraw docstring

random-sampleclj

(random-sample dist)

gives a random sample from distribution

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

gives a random sample from distribution

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

rayleighclj

(rayleigh scale)
source

reverse-weibullclj

(reverse-weibull loc scale shape)
source

sign-rankclj

(sign-rank n)
source

skewed-tclj

(skewed-t df gamma)
source

spearmanclj

(spearman n)
source

tclj

(t df)
source

tukeyclj

(tukey rr cc df)
source

uniformclj

(uniform a b)
source

weibullclj

(weibull shape scale)
source

wilcoxonclj

(wilcoxon m n)
source

zipfclj

(zipf N s)
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close