Module rv::misc

source ·
Expand description

Random utilities

Modules

Enums

Hypothesis Alternative for ks_two_sample test
Errors when calculating ks_two_sample
Mode in which to run the KS Test

Functions

Indices of the largest element(s) in xs.
Cumulative sum of xs
Gauss Legendre Quadrature
Gauss Legendre Quadrature with the table precomputed (cached)
Univariate one-sample Kolmogorov-Smirnov test.
Two sample Kolmogorov-Smirnov statistic on two samples.
Generate a linearlly spaced set of points between start and stop
Natural logarithm of binomial coefficent, ln nCk
ln factorial
Draw an index according to log-domain weights
Natural logarithm of the multivariate gamma function, ln Γp(a).
Safely compute log(sum(exp(xs))
Mardia’s test for multivariate normality.
Multivariate gamma function, Γp(a).
Draw n indices in proportion to their weights
Convert a Vector to a printable string
Χ2 (Chi-squared) test.