(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).
(binomial n p)
Calculates the binomial(n
, p
) random variable.
Calculates the binomial(`n`, `p`) random variable.
(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.
(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.
(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.
Calculates the probability for seeing the value x
.
Calculates the probability for seeing the value `x`.
(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.
(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`.
(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.
(normal-probability-above x)
(normal-probability-above x [mu sigma])
(normal-probability-above x mu sigma)
Calculates the probability that the variable is above the given value x
.
Calculates the probability that the variable is above the given value `x`.
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).
(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 between of the given values low
and high
.
Calculates the probability that the variable is between of the given values `low` and `high`.
(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 outside of the given values low
and high
.
Calculates the probability that the variable is outside of the given values `low` and `high`.
(normal-symmetric-bounds probability)
(normal-symmetric-bounds probability [mu sigma])
(normal-symmetric-bounds probability mu sigma)
Calculates the symmetric bounds around the mean for probability
.
Calculates the symmetric bounds around the mean for `probability`.
(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`.
(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`.
(uniform-cdf x)
Calculates the cumulative distribution function for the uniform distribution.
Calculates the cumulative distribution function for the uniform distribution.
(uniform-pdf x)
Calculates the probability density function for the uniform distribution.
Calculates the probability density function for the uniform distribution.
Calculates the probability for seeing the value x
.
Calculates the probability for seeing the value `x`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close