[−][src]Module rv::misc
Random utilities
Modules
bessel |
Enums
KsAlternative | Hypothesis Alternative for ks_two_sample test |
KsError | Errors when calculating ks_two_sample |
KsMode | Mode in which to run the KS Test |
Functions
argmax | Indices of the largest element(s) in xs. |
cumsum | Cumulative sum of |
ks_test | Univariate one-sample Kolmogorov-Smirnov test. |
ks_two_sample | Two sample Kolmogorov-Smirnov statistic on two samples. Heavily inspired by https://github.com/scipy/scipy/blob/v1.4.1/scipy/stats/stats.py#L6087 Exact computations are derived from: Hodges, J.L. Jr., "The Significance Probability of the Smirnov Two-Sample Test," Arkiv fiur Matematik, 3, No. 43 (1958), 469-86. |
linspace | Generate a linearlly spaced set of points between start and stop |
ln_binom | Natural logarithm of binomial coefficent, ln nCk |
ln_pflip | Draw an index according to log-domain weights |
lnmv_gamma | Natural logarithm of the multivariate gamma function, ln Γp(a). |
logsumexp | Safely compute |
mardia | Mardia's test for multivariate normality. |
mod_euc | Euclidean modulo |
mvgamma | Multivariate gamma function, Γp(a). |
pflip | Draw |
quad | Adaptive Simpson's quadrature |
quad_eps | Adaptive Simpson's quadrature with user supplied error tolerance |
try_quad | Adaptive Simpson's quadrature on functions that can fail. |
try_quad_eps | Adaptive Simpson's quadrature with user supplied error tolerance over functions that can fail. |
vec_to_string | Convert a Vector to a printable string |
x2_test | Χ2 (Chi-squared) test. |