Coverage for /home/martinb/.local/share/virtualenvs/camcops/lib/python3.6/site-packages/scipy/stats/_distr_params.py : 100%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1"""
2Sane parameters for stats.distributions.
3"""
5distcont = [
6 ['alpha', (3.5704770516650459,)],
7 ['anglit', ()],
8 ['arcsine', ()],
9 ['argus', (1.0,)],
10 ['beta', (2.3098496451481823, 0.62687954300963677)],
11 ['betaprime', (5, 6)],
12 ['bradford', (0.29891359763170633,)],
13 ['burr', (10.5, 4.3)],
14 ['burr12', (10, 4)],
15 ['cauchy', ()],
16 ['chi', (78,)],
17 ['chi2', (55,)],
18 ['cosine', ()],
19 ['crystalball', (2.0, 3.0)],
20 ['dgamma', (1.1023326088288166,)],
21 ['dweibull', (2.0685080649914673,)],
22 ['erlang', (10,)],
23 ['expon', ()],
24 ['exponnorm', (1.5,)],
25 ['exponpow', (2.697119160358469,)],
26 ['exponweib', (2.8923945291034436, 1.9505288745913174)],
27 ['f', (29, 18)],
28 ['fatiguelife', (29,)], # correction numargs = 1
29 ['fisk', (3.0857548622253179,)],
30 ['foldcauchy', (4.7164673455831894,)],
31 ['foldnorm', (1.9521253373555869,)],
32 ['frechet_l', (3.6279911255583239,)],
33 ['frechet_r', (1.8928171603534227,)],
34 ['gamma', (1.9932305483800778,)],
35 ['gausshyper', (13.763771604130699, 3.1189636648681431,
36 2.5145980350183019, 5.1811649903971615)], # veryslow
37 ['genexpon', (9.1325976465418908, 16.231956600590632, 3.2819552690843983)],
38 ['genextreme', (-0.1,)],
39 ['gengamma', (4.4162385429431925, 3.1193091679242761)],
40 ['gengamma', (4.4162385429431925, -3.1193091679242761)],
41 ['genhalflogistic', (0.77274727809929322,)],
42 ['geninvgauss', (2.3, 1.5)],
43 ['genlogistic', (0.41192440799679475,)],
44 ['gennorm', (1.2988442399460265,)],
45 ['halfgennorm', (0.6748054997000371,)],
46 ['genpareto', (0.1,)], # use case with finite moments
47 ['gilbrat', ()],
48 ['gompertz', (0.94743713075105251,)],
49 ['gumbel_l', ()],
50 ['gumbel_r', ()],
51 ['halfcauchy', ()],
52 ['halflogistic', ()],
53 ['halfnorm', ()],
54 ['hypsecant', ()],
55 ['invgamma', (4.0668996136993067,)],
56 ['invgauss', (0.14546264555347513,)],
57 ['invweibull', (10.58,)],
58 ['johnsonsb', (4.3172675099141058, 3.1837781130785063)],
59 ['johnsonsu', (2.554395574161155, 2.2482281679651965)],
60 ['kappa4', (0.0, 0.0)],
61 ['kappa4', (-0.1, 0.1)],
62 ['kappa4', (0.0, 0.1)],
63 ['kappa4', (0.1, 0.0)],
64 ['kappa3', (1.0,)],
65 ['ksone', (1000,)], # replace 22 by 100 to avoid failing range, ticket 956
66 ['kstwo', (10,)],
67 ['kstwobign', ()],
68 ['laplace', ()],
69 ['levy', ()],
70 ['levy_l', ()],
71 ['levy_stable', (1.8, -0.5)],
72 ['loggamma', (0.41411931826052117,)],
73 ['logistic', ()],
74 ['loglaplace', (3.2505926592051435,)],
75 ['lognorm', (0.95368226960575331,)],
76 ['loguniform', (0.01, 1)],
77 ['lomax', (1.8771398388773268,)],
78 ['maxwell', ()],
79 ['mielke', (10.4, 4.6)],
80 ['moyal', ()],
81 ['nakagami', (4.9673794866666237,)],
82 ['ncf', (27, 27, 0.41578441799226107)],
83 ['nct', (14, 0.24045031331198066)],
84 ['ncx2', (21, 1.0560465975116415)],
85 ['norm', ()],
86 ['norminvgauss', (1., 0.5)],
87 ['pareto', (2.621716532144454,)],
88 ['pearson3', (0.1,)],
89 ['powerlaw', (1.6591133289905851,)],
90 ['powerlognorm', (2.1413923530064087, 0.44639540782048337)],
91 ['powernorm', (4.4453652254590779,)],
92 ['rayleigh', ()],
93 ['rdist', (1.6,)],
94 ['recipinvgauss', (0.63004267809369119,)],
95 ['reciprocal', (0.01, 1)],
96 ['rice', (0.7749725210111873,)],
97 ['semicircular', ()],
98 ['skewnorm', (4.0,)],
99 ['t', (2.7433514990818093,)],
100 ['trapz', (0.2, 0.8)],
101 ['triang', (0.15785029824528218,)],
102 ['truncexpon', (4.6907725456810478,)],
103 ['truncnorm', (-1.0978730080013919, 2.7306754109031979)],
104 ['truncnorm', (0.1, 2.)],
105 ['tukeylambda', (3.1321477856738267,)],
106 ['uniform', ()],
107 ['vonmises', (3.9939042581071398,)],
108 ['vonmises_line', (3.9939042581071398,)],
109 ['wald', ()],
110 ['weibull_max', (2.8687961709100187,)],
111 ['weibull_min', (1.7866166930421596,)],
112 ['wrapcauchy', (0.031071279018614728,)]]
115distdiscrete = [
116 ['bernoulli',(0.3,)],
117 ['betabinom', (5, 2.3, 0.63)],
118 ['binom', (5, 0.4)],
119 ['boltzmann',(1.4, 19)],
120 ['dlaplace', (0.8,)], # 0.5
121 ['geom', (0.5,)],
122 ['hypergeom',(30, 12, 6)],
123 ['hypergeom',(21,3,12)], # numpy.random (3,18,12) numpy ticket:921
124 ['hypergeom',(21,18,11)], # numpy.random (18,3,11) numpy ticket:921
125 ['logser', (0.6,)], # re-enabled, numpy ticket:921
126 ['nbinom', (5, 0.5)],
127 ['nbinom', (0.4, 0.4)], # from tickets: 583
128 ['planck', (0.51,)], # 4.1
129 ['poisson', (0.6,)],
130 ['randint', (7, 31)],
131 ['skellam', (15, 8)],
132 ['zipf', (6.5,)],
133 ['yulesimon',(11.0,)]
134]