Liking cljdoc? Tell your friends :D

org.soulspace.math.probability


bernoulliclj/s

(bernoulli p)

Calculates the bernulli(p) random variable. Returns 1 with a probability of p and 0 with a probability of (1 - p).

Calculates the bernulli(p) random variable. Returns 1 with a probability of p and 0 with a probability of (1 - p).
sourceraw docstring

binomialclj/s

(binomial n p)

Calculates the binomial(n, p) random variable.

Calculates the binomial(n, p) random variable.
sourceraw docstring

binomial-approximation-by-normalclj/s

(binomial-approximation-by-normal n p)

Approximates mu and sigma corresponding to a binomial(n, p) variable.

Approximates mu and sigma corresponding to a binomial(n, p) variable.
sourceraw docstring

inverse-normal-cdfclj/s

(inverse-normal-cdf p)
(inverse-normal-cdf p [mu sigma])
(inverse-normal-cdf p mu sigma)

Calculates the inverse of the cumulative distribution function for the normal distribution. Approximates the value with binary search.

Calculates the inverse of the cumulative distribution function for the normal distribution. Approximates the value with binary search.
sourceraw docstring

inverse-normal-cdf-with-toleranceclj/s

(inverse-normal-cdf-with-tolerance p e)
(inverse-normal-cdf-with-tolerance p mu sigma e)

Calculates the inverse of the cumulative distribution function for the normal distribution. Approximates the value with binary search.

Calculates the inverse of the cumulative distribution function for the normal distribution. Approximates the value with binary search.
sourceraw docstring

lower-p-valueclj/s

Calculates the probability for seeing the value x.

Calculates the probability for seeing the value x.
sourceraw docstring

normal-cdfclj/s

(normal-cdf x)
(normal-cdf x [mu sigma])
(normal-cdf x mu sigma)

Calculates the cumulative distribution function for the normal distribution.

Calculates the cumulative distribution function for the normal distribution.
sourceraw docstring

normal-lower-boundclj/s

(normal-lower-bound probability)
(normal-lower-bound probability [mu sigma])
(normal-lower-bound probability mu sigma)

Calculates the x for which P(X >= x) = probability.

Calculates the x for which P(X >= x) = probability.
sourceraw docstring

normal-pdfclj/s

(normal-pdf x)
(normal-pdf x [mu sigma])
(normal-pdf x mu sigma)

Calculates the probability density function for the normal distribution.

Calculates the probability density function for the normal distribution.
sourceraw docstring

normal-probability-aboveclj/s

(normal-probability-above x)
(normal-probability-above x [mu sigma])
(normal-probability-above x mu sigma)

Calculates the probability that the variable is below the given value x.

Calculates the probability that the variable is below the given value x.
sourceraw docstring

normal-probability-belowclj/s

Calculates the probability that the variable is below the given value x (which is exactly what the cumulative distribution function gives us).

Calculates the probability that the variable is below the given value x (which is exactly what the cumulative distribution function gives us).
sourceraw docstring

normal-probability-betweenclj/s

(normal-probability-between low high)
(normal-probability-between low high [mu sigma])
(normal-probability-between low high mu sigma)

Calculates the probability that the variable is below the given value x.

Calculates the probability that the variable is below the given value x.
sourceraw docstring

normal-probability-outsideclj/s

(normal-probability-outside low high)
(normal-probability-outside low high [mu sigma])
(normal-probability-outside low high mu sigma)

Calculates the probability that the variable is below the given value x.

Calculates the probability that the variable is below the given value x.
sourceraw docstring

normal-symmetric-boundsclj/s

(normal-symmetric-bounds probability)
(normal-symmetric-bounds probability [mu sigma])
(normal-symmetric-bounds probability mu sigma)

Calculates the symmetric bounds around the mean.

Calculates the symmetric bounds around the mean.
sourceraw docstring

normal-upper-boundclj/s

(normal-upper-bound probability)
(normal-upper-bound probability [mu sigma])
(normal-upper-bound probability mu sigma)

Calculates the x for which P(X <= x) = probability.

Calculates the x for which P(X <= x) = probability.
sourceraw docstring

two-sided-p-valueclj/s

(two-sided-p-value x)
(two-sided-p-value x [mu sigma])
(two-sided-p-value x mu sigma)

Calculates the probability for seeing the value x.

Calculates the probability for seeing the value x.
sourceraw docstring

uniform-cdfclj/s≠

(uniform-cdf x)
cljs

Calculates the cumulative distribution function for the uniform distribution.

Calculates the cumulative distribution function for the uniform distribution.
source (clj)source (cljs)raw docstring

uniform-pdfclj/s

(uniform-pdf x)

Calculates the probability density function for the uniform distribution.

Calculates the probability density function for the uniform distribution.
sourceraw docstring

upper-p-valueclj/s

Calculates the probability for seeing the value x.

Calculates the probability for seeing the value x.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close