Expand description
Auto-generated module
🤖 Generated with SplitRS
Functions§
- empirical_
quantiles - Compute empirical quantiles at fractional positions in
qs. - halton_
scrambled - Scrambled Halton sequence:
npoints inn_dimsdimensions. - inverse_
cdf_ sample - Inverse-CDF importance sampling for a target distribution defined by its CDF, computed numerically on a grid.
- ks_
statistic - Kolmogorov-Smirnov statistic between two sorted empirical CDFs.
- latin_
hypercube_ centered - Latin Hypercube sampler (centered strata).
- latin_
hypercube_ maximin - Maximin Latin Hypercube design.
- pdf_
to_ cdf - Compute a numerical CDF from a non-negative PDF sampled on a uniform grid.
- r2_
sequence - Roberts R2 quasi-random sequence (2-D).
- r2_
sequence_ nd - Roberts R2 sequence for
ddimensions using the plastic constant. - rejection_
sample_ 1d_ auto - 1-D rejection sampling with automatic envelope estimation.
- rejection_
sample_ 1d_ lcg - 1-D rejection sampling from an un-normalized density
fon[a, b]. - reservoir_
sample - Reservoir sampling (Vitter’s Algorithm R).
- sample_
kurtosis - Sample excess kurtosis (Fisher’s definition, 0 for Gaussian).
- sample_
mean - Sample mean of a slice.
- sample_
skewness - Sample skewness.
- sample_
std - Sample standard deviation.
- sample_
variance - Sample variance (Bessel’s corrected,
1/(n-1)) of a slice. - sobol_
scrambled - Generate
npoints from a digit-scrambled Sobol sequence inddimensions. - stratified_
sphere_ samples - Generate
nstratified samples on the surface of the unit sphere. - van_
der_ corput_ scrambled - Owen-scrambled van der Corput sequence for one base.
- weighted_
reservoir_ sample - Weighted reservoir sample of
kindices from a weight vector.