statistics

Functions for the statistical analysis of data.

Functions

acf

Calculate the autocorrelation function of an array.

acf_confint

Calculate the confidence intervals of an autocorrelation function.

acf_np

Calculate the autocorrelation function of a 1-dimensional array.

acf_se

Calculate the standard errors of an autocorrelation function.

block_average

Calculate the sample means and their standard deviations over multiple series of measurement.

center

Center a distribution around its sample mean.

cumav

Calculate the cumulative average.

ekin_dist

Distribution of kinetic energies in \(d\)-dimensional space.

exp_dist

Exponential distribution.

exp_dist_log

Logarithm of the exponential distribution.

gaussian

Gaussian distribution.

mb_dist

Maxwell-Boltzmann speed distribution in \(d\)-dimensional space.

moment_raw2cen

Calculate the \(n\)-th central moment \(\mu_n\) from the first \(n\) raw moments \(m_n\).

movav

Calculate the moving average.

ngp

Compute the non-Gaussian parameter of a distribution of random variables.

standardize

Standardize a distribution.

std_weighted

Compute the weighted standard deviation along a given axis.

var_weighted

Compute the weighted variance along a given axis.