Statistical functions (scipy.stats)

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

Each included continuous distribution is an instance of the class rv_continous:

rv_continuous
rv_continuous.pdf
rv_continuous.cdf
rv_continuous.sf
rv_continuous.ppf
rv_continuous.isf
rv_continuous.stats

Each discrete distribution is an instance of the class rv_discrete:

rv_discrete
rv_discrete.pmf
rv_discrete.cdf
rv_discrete.sf
rv_discrete.ppf
rv_discrete.isf
rv_discrete.stats

Continuous distributions

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

Discrete distributions

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

Statistical functions

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

gmean
hmean
cmedian
mode
tmean
tvar
tmin
tmax
tstd
tsem
moment
variation
skew
kurtosis
describe
skewtest
kurtosistest
normaltest
itemfreq
scoreatpercentile
percentileofscore
histogram2
histogram
cumfreq
relfreq
obrientransform
signaltonoise
bayes_mvs
sem
zmap
zscore
threshold
trimboth
trim1
f_oneway
pearsonr
spearmanr
pointbiserialr
kendalltau
linregress
ttest_1samp
ttest_ind
ttest_rel
kstest
chisquare
ks_2samp
mannwhitneyu
tiecorrect
ranksums
wilcoxon
kruskal
friedmanchisquare
ansari
bartlett
levene
shapiro
anderson
binom_test
fligner
mood
oneway
glm

Plot-tests

probplot
ppcc_max
ppcc_plot

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.