File: info.py

package info (click to toggle)
python-scipy 0.6.0-12
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 32,016 kB
  • ctags: 46,675
  • sloc: cpp: 124,854; ansic: 110,614; python: 108,664; fortran: 76,260; objc: 424; makefile: 384; sh: 10
file content (225 lines) | stat: -rw-r--r-- 6,148 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
"""
Statistical Functions
=====================

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

Each included distribution is an instance of the class rv_continous.
For each given name the following methods are available.  See docstring for
rv_continuous for more information

rvs   --  random variates with the distribution
pdf   --  probability density function
cdf   --  cummulative distribution function
sf    --  survival function (1.0 - cdf)
ppf   --  percent-point function (inverse of cdf)
isf   --  inverse survival function
stats --  mean, variance, and optionally skew and kurtosis

Calling the instance as a function returns a frozen pdf whose shape,
location, and scale parameters are fixed.

The distributions available with the above methods are:

CONTINUOUS  (Total == 81 distributions)
===========
norm            --  Normal (Gaussian)
alpha           --  Alpha
anglit          --  Anglit
arcsine         --  Arcsine
beta            --  Beta
betaprime       --  Beta Prime
bradford        --  Bradford
burr            --  Burr
fisk            --  Fisk
cauchy          --  Cauchy
chi             --  Chi
chi2            --  Chi-squared
cosine          --  Cosine
dgamma          --  Double Gamma
dweibull        --  Double Weibull
erlang          --  Erlang
expon           --  Exponential
exponweib       --  Exponentiated Weibull
exponpow        --  Exponential Power
fatiguelife     --  Fatigue Life (Birnbaum-Sanders)
foldcauchy      --  Folded Cauchy
f               --  F (Snecdor F)
foldnorm        --  Folded Normal
frechet_r       --  Frechet Right Sided, Extreme Value Type II (Extreme LB) or weibull_min
frechet_l       --  Frechet Left Sided, Weibull_max
genlogistic     --  Generalized Logistic
genpareto       --  Generalized Pareto
genexpon        --  Generalized Exponential
genextreme      --  Generalized Extreme Value
gausshyper      --  Gauss Hypergeometric
gamma           --  Gamma
gengamma        --  Generalized gamma
genhalflogistic --  Generalized Half Logistic
gompertz        --  Gompertz (Truncated Gumbel)
gumbel_r        --  Right Sided Gumbel, Log-Weibull, Fisher-Tippett, Extreme Value Type I
gumbel_l        --  Left Sided Gumbel, etc.
halfcauchy      --  Half Cauchy
halflogistic    --  Half Logistic
halfnorm        --  Half Normal
hypsecant       --  Hyperbolic Secant
invgamma        --  Inverse Gamma
invnorm         --  Inverse Normal
invweibull      --  Inverse Weibull
johnsonsb       --  Johnson SB
johnsonsu       --  Johnson SU
laplace         --  Laplace
logistic        --  Logistic
loggamma        --  Log-Gamma
loglaplace      --  Log-Laplace (Log Double Exponential)
lognorm         --  Log-Normal
gilbrat         --  Gilbrat
lomax           --  Lomax (Pareto of the second kind)
maxwell         --  Maxwell
mielke          --  Mielke's Beta-Kappa
nakagami        --  Nakagami
ncx2            --  Non-central chi-squared
ncf             --  Non-central F
t               --  Student's T
nct             --  Non-central Student's T
pareto          --  Pareto
powerlaw        --  Power-function
powerlognorm    --  Power log normal
powernorm       --  Power normal
rdist           --  R distribution
reciprocal      --  Reciprocal
rayleigh        --  Rayleigh
rice            --  Rice
recipinvgauss   --  Reciprocal Inverse Gaussian
semicircular    --  Semicircular
triang          --  Triangular
truncexpon      --  Truncated Exponential
truncnorm       --  Truncated Normal
tukeylambda     --  Tukey-Lambda
uniform         --  Uniform
von_mises       --  Von-Mises (Circular)
wald            --  Wald
weibull_min     --  Minimum Weibull (see Frechet)
weibull_max     --  Maximum Weibull (see Frechet)
wrapcauchy      --  Wrapped Cauchy
ksone           --  Kolmogorov-Smirnov one-sided (no stats)
kstwobign       --  Kolmogorov-Smirnov two-sided test for Large N (no stats)


DISCRETE    (Total == 10 distributions)
============
binom           --  Binomial
bernoulli       --  Bernoulli
nbinom          --  Negative Binomial
geom            --  Geometric
hypergeom       --  Hypergeometric
logser          --  Logarithmic (Log-Series, Series)
poisson         --  Poisson
planck          --  Planck (Discrete Exponential)
boltzmann       --  Boltzmann (Truncated Discrete Exponential)
randint         --  Discrete Uniform
zipf            --  Zipf
dlaplace        --  Discrete Laplacian

Statistical Functions (adapted from Gary Strangman)

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

itemfreq            -- _
scoreatpercentile   -- _
percentileofscore   -- _
histogram2   -- _
histogram   -- _
cumfreq   -- _
relfreq   -- _

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

threshold    -- _
trimboth    -- _
trim1    -- _
cov    -- _
corrcoef    -- _

f_oneway    -- _
paired    -- _
pearsonr    -- _
spearmanr    -- _
pointbiserialr    -- _
kendalltau    -- _
linregress    -- _

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

ansari    -- _
bartlett    -- _
levene    -- _
shapiro    -- _
anderson    -- _
binom_test    -- _
fligner    -- _
mood    -- _
oneway    -- _


glm    -- _
anova  -- _

Plot-tests

probplot    -- _
ppcc_max    -- _
ppcc_plot    -- _


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

postpone_import = 1
global_symbols = ['find_repeats']

depends  = ['linalg','special']
ignore = False # importing stats causes a segfault