Package Cl-Mathstats - external symbols

Part of:

asdf-system cl-mathstats
See internal symbols too
Package Cl-Mathstats uses the packages Common-Lisp, Metabang.Cl-Containers and Metabang.Utilities. It is also known as Metabang.Math. It has 821 total symbols and 137 external ones.

Class

anova-one-way-variables
anova-two-way-variables
anova-two-way-variables-unequal-cell-sizes
autocorrelation
confidence-interval
confidence-interval-proportion
confidence-interval-t
confidence-interval-z
correlation
covariance
cross-correlation
d-test
data-length
interquartile-range
maximum
mean
median
minimum
mode
multiple-modes
quantile
range
significance
skewness
standard-deviation
statistical-summary
t-significance
t-test
t-test-matched
t-test-one-sample
trimmed-mean
tukey-summary
variance
z-test-one-sample

Constant

+0degrees+
+10degrees+
+120degrees+
+135degrees+
+150degrees+
+15degrees+
+180degrees+
+210degrees+
+225degrees+
+240degrees+
+270degrees+
+300degrees+
+30degrees+
+315degrees+
+330degrees+
+360degrees+
+45degrees+
+5degrees+
+60degrees+
+90degrees+
+e+

An approximation of the constant e (named for Euler!).

2fpi

The constant 2*pi, in single-float format. Using this constant avoid
run-time double-float conta...

fpi

The constant pi, in single-float format. Using this constant avoid
run-time double-float contagi...

Function

anova-one-way-variables

anova-one-way-variables (iv dv &optional (scheffe-tests-p t)
confidence-...

anova-two-way-variables

anova-two-way-variables (dv iv1 iv2)
Calculates the analysis of variance when there are two facto...

anova-two-way-variables-unequal-cell-sizes

anova-two-way-variables-unequal-cell-sizes (iv1 iv2 dv)
Calculates the analysis of variance when ...

autocorrelation

autocorrelation (sample max-lag &optional (min-lag 0))
Autocorrelation is merely a cross-correlat...

beta

Returns the value of the Beta function, defined in terms of the complete
gamma function, G, as: G...

beta-incomplete

This function is useful in defining the cumulative distributions for
Student's t and the F distri...

binomial-cdf

Suppose an event occurs with probability `p' per trial. This function
computes the probability o...

binomial-cdf-exact

This is an exact but computationally intensive form of the preferred
function, `binomial-cdf.'

binomial-coefficient

Returns the binomial coefficient, n' choose k,' as an integer. The result
may not be exactly c...

binomial-coefficient-exact

This is an exact but computationally intensive form of the preferred
function, `binomial-coeffici...

binomial-probability

Returns the probability of k' successes in n' trials, where at each trial
the probability of su...

binomial-probability-exact

This is an exact but computationally intensive form of the preferred
function, `binomial-probabil...

chi-square-significance

Computes the complement of the cumulative distribution function for a
Chi-square random variable ...

combination-count

Returns the number of combinations of n elements taken k at a time. Assumes valid
input.

confidence-interval

confidence-interval nil
nil

confidence-interval-proportion

confidence-interval-proportion (x n confidence)
Suppose we have a sample of n' things and x' of...

confidence-interval-t

confidence-interval-t (data confidence)
Suppose you have a sample of 10 numbers and you want to c...

confidence-interval-t-summaries

This function is just like `confidence-interval-t,' except that instead of
its arguments being th...

confidence-interval-z

confidence-interval-z (data confidence)
Suppose you have a sample of 50 numbers and you want to c...

correlation

correlation (sample1 sample2 &key start1 end1 start2 end2)
Computes the correlation coefficient o...

correlation-from-summaries

Computes the correlation of two variables given summary statistics of the
variables. All of thes...

correlation-matrix

Returns a matrix of all the correlations of all the variables. The dependent
variable is row and...

covariance

covariance (sample1 sample2 &key start1 end1 start2 end2)
Computes the covariance of two samples,...

cross-correlation

cross-correlation (sequence1 sequence2 max-lag &optional (min-lag 0))
Returns a list of the corre...

d-test

d-test (sample-1 sample-2 tails &key (times 1000) (h0mean 0))
Two-sample test for difference in m...

data-length

data-length (data &key start end key)
Returns the number of data values in `data.' Essentially, t...

degrees->radians

Convert degrees to radians.

div2

Divide positive fixnum `i' by 2 or a power of 2, yielding an integer result.
For example, (div2 3...

ensure-float
error-function

Computes the error function, which is typically used to compute areas under
the Gaussian probabil...

error-function-complement

This function computes the complement of the error function, erfc(x),''
defined as 1-erf(x). S...

exp2

2^n

extract-unique-values

A faster version of `remove-duplicates'. Note you cannot specify a :TEST (it is always #'eq).

f-measure

Returns the f-measure, the combination of precision and recall based on
parameter beta - default ...

f-significance

This function occurs in the statistical test of whether two observed samples
have the same varian...

factorial

Returns the factorial of `n,' which should be a non-negative integer. The
result will returned a...

factorial-exact

Returns the factorial of `n,' which should be an integer. The result will
returned as an integer...

factorial-ln

Returns the natural logarithm of n!; `n' should be an integer. The result
will be a single-preci...

gamma-incomplete

This is an incomplete gamma function, what Numerical Recipes in C calls
gammp.'' This function ...

gamma-ln

Returns the natural logarithm of the Gamma function evaluated at `x.'
Mathematically, the Gamma f...

gaussian-cdf

Computes the cumulative distribution function for a Gaussian random variable
(defaults: mean=0.0,...

gaussian-significance

Computes the significance of x' in a Gaussian distribution with mean= mean'
(default 0.0) and st...

interquartile-range

interquartile-range (data)
The interquartile range is similar to the variance of a sample because...

lagged-correlation

Returns the correlations of sequence1' with sequence2' after
shifting sequence1' by lag'. Th...

linear-regression-brief

Calculates the main statistics of a linear regression: the slope and
intercept of the line, the c...

linear-regression-brief-summaries

Calculates the main statistics of a linear regression: the slope and
intercept of the line, the c...

linear-regression-minimal

Calculates the slope and intercept of the regression line. This function
takes two equal-length ...

linear-regression-minimal-summaries

Calculates the slope and intercept of the regression line. This function
differs from `linear-re...

linear-regression-verbose

Calculates almost every statistic of a linear regression: the slope and
intercept of the line, th...

linear-regression-verbose-summaries

Calculates almost every statistic of a linear regression: the slope and
intercept of the line, th...

linear-scale

Rescales value linearly from the old-min/old-max scale to the new-min/new-max one.

log2

Log of `n' to base 2.

matrix-multiply

Does successive multiplications of each element in `args'. If two
elements are scalar, then thei...

matrix-trace
maximum

maximum (data &key start end key)
Returns the element of the sequence data' whose key' is maxim...

mean

mean (data &key start end key)
Returns the arithmetic mean of `data,' which should be a sequence....

median

median (data &key start end key)
Returns the median of the subsequence of data' from start' to ...

minimum

minimum (data &key start end key)
Returns the element of the sequence data' whose key' is minim...

mod2

Find `n' mod a power of 2.

mode

mode (data &key start end key)
Returns the most frequent element of `data,' which should be a seq...

multiple-linear-regression-arrays

This is an internal function for the use of the multiple-linear-regression
functions. It takes t...

multiple-linear-regression-brief

Let m be the number of independent variables, `ivs.' This function returns a
vector of length m w...

multiple-linear-regression-minimal

Let m be the number of independent variables, `ivs.' This function returns
a vector of length m ...

multiple-linear-regression-normal

Performs linear regression of the dependent variable, dv,&#39; on multiple<br> independent variables, i...

multiple-linear-regression-verbose

Let m be the number of independent variables, `ivs.' This function returns
fourteen values:
1. t...

multiple-modes

multiple-modes (data k &key start end key)
Returns the k&#39; most frequent elements of data,' whic...

normalize-matrix

Returns a new matrix such that the sum of its elements is 1.0

on-interval

returns t iff x in the interval

partials-from-parents
permutation-count

Returns the number of possible ways of taking k elements out of n total.

poisson-cdf

Computes the cumulative distribution function for a Poisson random variable
with mean `x' evaluat...

quantile

quantile (data q &key start end key)
Returns the element which is the q'th percentile of the data...

r-score

Takes two sequences and returns the correlation coefficient.
Formula: Sum (Cross-product (Differ...

radians->degrees

Convert radians to degrees. Does not round the result.

range

range (data &key start end key)
Returns the range of the sequence data.&#39; Signals no-data' if th...

round-to-factor

Equivalent to (* factor (round n factor)). For example, `round-to-factor' of
65 and 60 is 60. U...

safe-exp

Eliminates floating point underflow for the exponential function.
Instead, it just returns 0.0d0

scheffe-tests

Performs all pairwise comparisons between group means, testing for
significance using Scheffe's F...

significance

significance nil
nil

skewness

skewness (data &key start end key)
Returns the skewness of `data', which is the sum of cubed dist...

smooth-hanning

Smooths `data' by replacing each element with the weighted mean of it and its
two neighbors. The...

smooth-mean-2

With a window of size two, the median and mean smooth functions are the
same.

smooth-mean-3

Smooths `data' by replacing each element with the mean of it and its two
neighbors. The ends are...

smooth-mean-4

Smooths `data' by replacing each element with the mean of it, its left
neighbor, and its two righ...

smooth-mean-5

Smooths `data' by replacing each element with the median of it, its two left
neighbors and its tw...

smooth-median-2

Smooths `data' by replacing each element with the median of it and its
neighbor on the left. A m...

smooth-median-3

Smooths `data' by replacing each element with the median of it and its two
neighbors. The ends a...

smooth-median-4

Smooths `data' by replacing each element with the median of it, its left
neighbor, and its two ri...

smooth-median-5

Smooths `data' by replacing each element with the median of it, its two left
neighbors and its tw...

square
standard-deviation

standard-deviation (data &key start end key)
Returns the standard deviation of `data,' which is j...

statistical-summary

statistical-summary (data &key start end key)
Compute the length, minimum, maximum, range, median...

students-t-significance

Student's distribution is much like the Gaussian distribution except with
heavier tails, dependin...

sum-of-array-elements
t-significance

t-significance nil
nil

t-test

t-test (sample-1 sample-2 &optional (tails both) (h0mean 0))
Returns the t-statistic for the diff...

t-test-matched

t-test-matched (sample1 sample2 &optional (tails both))
Returns the t-statistic for two matched s...

t-test-one-sample

t-test-one-sample (data tails &optional (h0-mean 0) &key start end key)
Returns the t-statistic f...

times2

Multiply `i' by a power of 2.

transpose-matrix
trimmed-mean

trimmed-mean (data percentage &key start end key)
Returns a trimmed mean of `data.' A trimmed mea...

trunc2

Truncate `n' to a power of 2.

truncate-to-factor

Equivalent to (* factor (truncate n factor)). For example,
`truncate-to-factor' of 65 and 60 is ...

tukey-summary

tukey-summary (data &key start end key)
Computes a Tukey five-number summary of the data. That i...

variance

variance (data &key start end key)
Returns the variance of data,&#39; that is, the sum-of-squares' ...

z-test-one-sample

z-test-one-sample (data tails &optional (h0-mean 0) (h0-std-dev 1) &key
start ...

Generic-Function

convert
cross-product
dot-product

http://en.wikipedia.org/wiki/Dot_product

Macro

underflow-goes-to-zero

Protects against floating point underflow errors and sets the value to 0.0 instead.

with-temp-table

Binds `temp' to a hash table.

with-temp-vector

Binds temp&#39; to a vector of length at least min-size.' It's a vector of
pointers and has a fill-...