Modules§
Structs§
Functions§
- assert_
at_ least_ one_ value_ per_ bin - Asserts that there is at least one value per bin
- assert_
mean_ approx_ equal - Asserts that the mean of a dataset is approximately equal to an expected value, within 2.5 standard deviations. There is a very small chance this raises a false negative.
- assert_
normal_ respects_ 68_ 95_ 99_ rule - Asserts that the distribution follows the 68-95-99 rule of normal distributions, following the given mean and standard deviation.
- assert_
number_ of_ 1_ proportional_ to_ prob - For a bernoulli distribution: asserts that the proportion of 1s to 0s is approximately equal to the expected probability.
- assert_
wald_ wolfowitz_ runs_ test - Asserts that the elements of the data, sorted into two bins, are elements of the sequence are mutually independent. There is a very small chance it gives a false negative.
- calculate_
bin_ stats - Sorts the data into bins for ranges of equal sizes
- random_
bernoulli - Pseudo-random generator with bernoulli distribution
- random_
normal - Pseudo-random generator with uniform distribution
- random_
uniform - Pseudo-random generator with uniform distribution
- seed
- to_
unit_ interval_ closed_ open - Converts a
u32into af32in the unit interval[0.0, 1.0). Used for generating random floats. - to_
unit_ interval_ open - Converts a
u32into af32in the unit interval(0.0, 1.0). Used for generating random floats.