File: stats.rst

package info (click to toggle)
python-scipy 0.7.2%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 28,500 kB
  • ctags: 36,081
  • sloc: cpp: 216,880; fortran: 76,016; python: 71,576; ansic: 62,118; makefile: 243; sh: 17
file content (284 lines) | stat: -rw-r--r-- 3,885 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
.. module:: scipy.stats

==========================================
Statistical functions (:mod:`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:

.. autosummary::
   :toctree: generated/

   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:

.. autosummary::
   :toctree: generated/

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


Masked statistics functions
===========================

.. toctree::

   stats.mstats

Continuous distributions
========================

.. autosummary::
   :toctree: generated/

   norm
   alpha
   anglit
   arcsine
   beta
   betaprime
   bradford
   burr
   fisk
   cauchy
   chi
   chi2
   cosine
   dgamma
   dweibull
   erlang
   expon
   exponweib
   exponpow
   fatiguelife
   foldcauchy
   f
   foldnorm
   fretchet_r
   fretcher_l
   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
   von_mises
   wald
   weibull_min
   weibull_max
   wrapcauchy
   ksone
   kstwobign

Discrete distributions
======================

.. autosummary::
   :toctree: generated/

   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.

.. autosummary::
   :toctree: generated/

   gmean
   hmean
   mean
   cmedian
   median
   mode
   tmean
   tvar
   tmin
   tmax
   tstd
   tsem
   moment
   variation
   skew
   kurtosis
   describe
   skewtest
   kurtosistest
   normaltest


.. autosummary::
   :toctree: generated/

   itemfreq
   scoreatpercentile
   percentileofscore
   histogram2
   histogram
   cumfreq
   relfreq

.. autosummary::
   :toctree: generated/

   obrientransform
   samplevar
   samplestd
   signaltonoise
   bayes_mvs
   var
   std
   stderr
   sem
   z
   zs
   zmap

.. autosummary::
   :toctree: generated/

   threshold
   trimboth
   trim1
   cov
   corrcoef

.. autosummary::
   :toctree: generated/

   f_oneway
   paired
   pearsonr
   spearmanr
   pointbiserialr
   kendalltau
   linregress

.. autosummary::
   :toctree: generated/

   ttest_1samp
   ttest_ind
   ttest_rel
   kstest
   chisquare
   ks_2samp
   meanwhitneyu
   tiecorrect
   ranksums
   wilcoxon
   kruskal
   friedmanchisquare

.. autosummary::
   :toctree: generated/

   ansari
   bartlett
   levene
   shapiro
   anderson
   binom_test
   fligner
   mood
   oneway


.. autosummary::
   :toctree: generated/

   glm
   anova

Plot-tests
==========

.. autosummary::
   :toctree: generated/

   probplot
   ppcc_max
   ppcc_plot

Univariate and multivariate kernel density estimation (:mod:`scipy.stats.kde`)
==============================================================================

.. autosummary::
   :toctree: generated/

   gaussian_kde

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