stats

This module contains a large number of probability distributions as well as a growing library of statistical functions.

Each univariate distribution is an instance of a subclass of rv_continuous (rv_discrete for discrete distributions):

rv_continuous
rv_discrete
rv_histogram

Continuous distributions

alpha
anglit
arcsine
argus
beta
betaprime
bradford
burr
burr12
cauchy
chi
chi2
cosine
crystalball
dgamma
dweibull
erlang
expon
exponnorm
exponweib
exponpow
f
fatiguelife
fisk
foldcauchy
foldnorm
frechet_r
frechet_l
genlogistic
gennorm
genpareto
genexpon
genextreme
gausshyper
gamma
gengamma
genhalflogistic
gilbrat
gompertz
gumbel_r
gumbel_l
halfcauchy
halflogistic
halfnorm
halfgennorm
hypsecant
invgamma
invgauss
invweibull
johnsonsb
johnsonsu
kappa4
kappa3
ksone
kstwobign
laplace
levy
levy_l
levy_stable
logistic
loggamma
loglaplace
lognorm
lomax
maxwell
mielke
nakagami
ncx2
ncf
nct
norm
pareto
pearson3
powerlaw
powerlognorm
powernorm
rdist
reciprocal
rayleigh
rice
recipinvgauss
semicircular
skewnorm
t
trapz
triang
truncexpon
truncnorm
tukeylambda
uniform
vonmises
vonmises_line
wald
weibull_min
weibull_max
wrapcauchy

Multivariate distributions

multivariate_normal
matrix_normal
dirichlet
wishart
invwishart
multinomial
special_ortho_group
ortho_group
unitary_group
random_correlation

Discrete distributions

bernoulli
binom
boltzmann
dlaplace
geom
hypergeom
logser
nbinom
planck
poisson
randint
skellam
zipf

Statistical functions

Several of these functions have a similar version in scipy.stats.mstats which work for masked arrays.

describe
gmean
hmean
kurtosis
kurtosistest
mode
moment
normaltest
skew
skewtest
kstat
kstatvar
tmean
tvar
tmin
tmax
tstd
tsem
variation
find_repeats
trim_mean
cumfreq
itemfreq
percentileofscore
scoreatpercentile
relfreq
binned_statistic
binned_statistic_2d
binned_statistic_dd
obrientransform
bayes_mvs
mvsdist
sem
zmap
zscore
iqr
sigmaclip
trimboth
trim1
f_oneway
pearsonr
spearmanr
pointbiserialr
kendalltau
weightedtau
linregress
theilslopes
ttest_1samp
ttest_ind
ttest_ind_from_stats
ttest_rel
kstest
chisquare
power_divergence
ks_2samp
mannwhitneyu
tiecorrect
rankdata
ranksums
wilcoxon
kruskal
friedmanchisquare
combine_pvalues
jarque_bera
ansari
bartlett
levene
shapiro
anderson
anderson_ksamp
binom_test
fligner
median_test
mood
boxcox
boxcox_normmax
boxcox_llf
entropy
wasserstein_distance
energy_distance

Circular statistical functions

circmean
circvar
circstd

Contingency table functions

chi2_contingency
contingency.expected_freq
contingency.margins
fisher_exact

Plot-tests

ppcc_max
ppcc_plot
probplot
boxcox_normplot

Masked statistics functions

Univariate and multivariate kernel density estimation (scipy.stats.kde)

gaussian_kde

For many more stat related functions install the software R and the interface package rpy.

Package Contents