Skip to content

Commit f95bec7

Browse files
committed
update online documentation for release-1.7.7
1 parent 2c656ed commit f95bec7

File tree

53 files changed

+115
-146
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+115
-146
lines changed

NEWS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@
251251
** ztest2: improve input validation (#226)
252252

253253

254-
Summary of important user-visible changes for statistics 1.7.6:
254+
Summary of important user-visible changes for statistics 1.7.7:
255255
-------------------------------------------------------------------
256256

257257
Important Notice: 1) `mad`, `mean`, `median`, `std`, `var` functions

docs/BetaDistribution.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1891,10 +1891,10 @@ <h3 class="d-inline-block mr-2">
18911891
BetaDistribution
18921892

18931893
beta distribution
1894-
a = 2.29841 [1.78335, 2.96222]
1895-
b = 5.28788 [4.23907, 6.59618]
1894+
a = 2.37491 [1.76557, 3.19455]
1895+
b = 6.23768 [4.57955, 8.49618]
18961896

1897-
nlogL = 48.645
1897+
nlogL = 57.538
18981898
</pre></td></tr></tbody>
18991899
</table>
19001900

@@ -1996,13 +1996,13 @@ <h3 class="d-inline-block mr-2">
19961996
BetaDistribution
19971997

19981998
beta distribution
1999-
a = 1.93585 [1.78762, 2.09637]
2000-
b = 4.91037 [4.49283, 5.36672]
1999+
a = 1.89199 [1.7412, 2.05584]
2000+
b = 4.8405 [4.43529, 5.28274]
20012001

20022002
ci =
20032003

2004-
1.7876 4.4928
2005-
2.0964 5.3667
2004+
1.7412 4.4353
2005+
2.0558 5.2827
20062006

20072007
</pre></td></tr></tbody>
20082008
</table>

docs/ExhaustiveSearcher.html

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1181,11 +1181,11 @@ <h4 class="d-inline-block my-3">
11811181

11821182
Columns 1 through 1:
11831183

1184-
{[5 6 21 46 48 44 37 22 1 8 11 27 26 33 18 12 39 7 40 49 32 47 19 3 28 29 17 20 43 23 42 16 30 4 56 34 85 24 10 51 ... ]}
1185-
{[98 95 83 88 78 89 55 63 69 91 94 90 82 92 59 80 100 138 131 57 66 67 81 61 125 102 115 145 134 96 110 118 126 93 ... ]}
1186-
{[ 104 128 127 106 117 123 58 52 76 50 107 86 74 101 65 75 77 131 96 72 54 73 115 129 51 63 67 91 71 87 110 92 62 ... ]}
1187-
{[ 135 65 75 101 111 117 77 54 50 86 137 52 76 119 141 128 74 71 121 142 143 136 58 124 51 109 110 104 68 87 96 31 ... ]}
1188-
{[ 102 115 91 94 63 56 145 83 88 95 55 131 66 85 122 78 70 103 125 73 98 84 134 123 51 90 126 67 100 138 61 96 139 ... ]}
1184+
{[ 5 6 21 46 48 44 37 22 1 8 11 27 26 33 18 12 39 7 40 49 32 47 19 3 28 29 17 20 43 23 42 16 30 4 56 34 ... ]}
1185+
{[ 98 95 83 88 78 89 55 63 69 91 94 90 82 92 59 80 100 138 131 57 66 67 81 61 125 102 115 145 134 96 110 ... ]}
1186+
{[ 104 128 127 106 117 123 58 52 76 50 107 86 74 101 65 75 77 131 96 72 54 73 115 129 51 63 67 91 71 87 ... ]}
1187+
{[135 65 75 101 111 117 77 54 50 86 137 52 76 119 141 128 74 71 121 142 143 136 58 124 51 109 110 104 68 ... ]}
1188+
{[ 102 115 91 94 63 56 145 83 88 95 55 131 66 85 122 78 70 103 125 73 98 84 134 123 51 90 126 67 100 138 ... ]}
11891189
</pre></td></tr>
11901190
</table>
11911191

@@ -1391,29 +1391,29 @@ <h4 class="d-inline-block my-3">
13911391
For the first query point in rangesearch:
13921392
Query point: 0.3 0.3
13931393
Indices of points within radius:
1394-
Columns 1 through 25:
1394+
Columns 1 through 23:
13951395

1396-
49 19 14 46 34 23 12 41 1 3 42 48 24 2 11 37 10 27 32 20 44 40 39 21 7
1396+
49 19 14 46 34 23 12 41 1 3 42 48 24 2 11 37 10 27 32 20 44 40 39
13971397

1398-
Columns 26 through 34:
1398+
Columns 24 through 34:
13991399

1400-
31 45 30 4 16 47 9 29 8
1400+
21 7 31 45 30 4 16 47 9 29 8
14011401
Distances:
1402-
Columns 1 through 11:
1402+
Columns 1 through 10:
14031403

1404-
0.029932 0.040026 0.046845 0.051107 0.054789 0.063517 0.067855 0.071365 0.073769 0.075991 0.082686
1404+
0.029932 0.040026 0.046845 0.051107 0.054789 0.063517 0.067855 0.071365 0.073769 0.075991
14051405

1406-
Columns 12 through 22:
1406+
Columns 11 through 20:
14071407

1408-
0.084066 0.090008 0.095171 0.096337 0.096836 0.097593 0.098255 0.098948 0.101780 0.108652 0.108983
1408+
0.082686 0.084066 0.090008 0.095171 0.096337 0.096836 0.097593 0.098255 0.098948 0.101780
14091409

1410-
Columns 23 through 33:
1410+
Columns 21 through 30:
14111411

1412-
0.114272 0.116760 0.120198 0.121721 0.122560 0.127342 0.128062 0.128687 0.130208 0.136007 0.142870
1412+
0.108652 0.108983 0.114272 0.116760 0.120198 0.121721 0.122560 0.127342 0.128062 0.128687
14131413

1414-
Column 34:
1414+
Columns 31 through 34:
14151415

1416-
0.143009</pre></td></tr>
1416+
0.130208 0.136007 0.142870 0.143009</pre></td></tr>
14171417
</table>
14181418
<div class="text-center">
14191419
<img src="assets/ExhaustiveSearcher_402.png" class="rounded img-thumbnail" alt="plotted figure">

docs/GeneralizedExtremeValueDistribution.html

Lines changed: 20 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -2134,9 +2134,9 @@ <h3 class="d-inline-block mr-2">
21342134

21352135
## Compute confidence intervals for parameters of a fitted Generalized Extreme Value
21362136
## distribution
2137-
pd = makedist ("GeneralizedExtremeValue", "k", 0, "sigma", 1, "mu", 0)
2138-
rand ("seed", 21);
2139-
data = random (pd, 1000, 1);
2137+
pd = makedist ("GeneralizedExtremeValue", "k", -0.5, "sigma", 1, "mu", 2)
2138+
rand ("seed", 1);
2139+
data = random (pd, 5000, 1);
21402140
pd_fitted = fitdist (data, "GeneralizedExtremeValue")
21412141
ci = paramci (pd_fitted, "Alpha", 0.05)
21422142

@@ -2147,43 +2147,22 @@ <h3 class="d-inline-block mr-2">
21472147
GeneralizedExtremeValueDistribution
21482148

21492149
Generalized Extreme Value distribution
2150-
k = 0
2151-
sigma = 1
2152-
mu = 0
2153-
2154-
warning: matrix singular to machine precision, rcond = 3.77481e-135
2155-
warning: called from
2156-
polyfit at line 157 column 3
2157-
gevfit at line 176 column 3
2158-
fit at line 778 column 8
2159-
fitdist at line 377 column 9
2160-
build_DEMOS at line 94 column 11
2161-
classdef_texi2html at line 310 column 7
2162-
package_texi2html at line 298 column 9
2150+
k = -0.5
2151+
sigma = 1
2152+
mu = 2
21632153

21642154
pd_fitted =
21652155
GeneralizedExtremeValueDistribution
21662156

21672157
Generalized Extreme Value distribution
2168-
k = -0.0179158 [-0.0600151, 0.0241835]
2169-
sigma = 1.01104 [0.962602, 1.06192]
2170-
mu = 0.0393083 [-0.0302083, 0.108825]
2171-
2172-
warning: matrix singular to machine precision, rcond = 3.77481e-135
2173-
warning: called from
2174-
polyfit at line 157 column 3
2175-
gevfit at line 176 column 3
2176-
mle at line 243 column 10
2177-
__paramci__ at line 97 column 6
2178-
paramci at line 508 column 9
2179-
build_DEMOS at line 94 column 11
2180-
classdef_texi2html at line 310 column 7
2181-
package_texi2html at line 298 column 9
2158+
k = -0.505978 [-0.520806, -0.491149]
2159+
sigma = 1.00491 [0.982564, 1.02776]
2160+
mu = 2.00433 [1.97453, 2.03414]
21822161

21832162
ci =
21842163

2185-
-0.060015 0.962602 -0.030208
2186-
0.024184 1.061923 0.108825
2164+
-0.5208 0.9826 1.9745
2165+
-0.4911 1.0278 2.0341
21872166

21882167
</pre></td></tr></tbody>
21892168
</table>
@@ -2593,9 +2572,9 @@ <h3 class="d-inline-block mr-2">
25932572

25942573
## Compute and plot the profile likelihood for the shape parameter of a fitted
25952574
## Generalized Extreme Value distribution
2596-
pd = makedist ("GeneralizedExtremeValue", "k", 0, "sigma", 1, "mu", 0)
2597-
rand ("seed", 21);
2598-
data = random (pd, 1000, 1);
2575+
pd = makedist ("GeneralizedExtremeValue", "k", -0.5, "sigma", 1, "mu", 2)
2576+
rand ("seed", 1);
2577+
data = random (pd, 5000, 1);
25992578
pd_fitted = fitdist (data, "GeneralizedExtremeValue")
26002579
[nlogL, param] = proflik (pd_fitted, 1, "Display", "on");
26012580

@@ -2606,27 +2585,17 @@ <h3 class="d-inline-block mr-2">
26062585
GeneralizedExtremeValueDistribution
26072586

26082587
Generalized Extreme Value distribution
2609-
k = 0
2610-
sigma = 1
2611-
mu = 0
2612-
2613-
warning: matrix singular to machine precision, rcond = 3.77481e-135
2614-
warning: called from
2615-
polyfit at line 157 column 3
2616-
gevfit at line 176 column 3
2617-
fit at line 778 column 8
2618-
fitdist at line 377 column 9
2619-
build_DEMOS at line 94 column 11
2620-
classdef_texi2html at line 310 column 7
2621-
package_texi2html at line 298 column 9
2588+
k = -0.5
2589+
sigma = 1
2590+
mu = 2
26222591

26232592
pd_fitted =
26242593
GeneralizedExtremeValueDistribution
26252594

26262595
Generalized Extreme Value distribution
2627-
k = -0.0179158 [-0.0600151, 0.0241835]
2628-
sigma = 1.01104 [0.962602, 1.06192]
2629-
mu = 0.0393083 [-0.0302083, 0.108825]
2596+
k = -0.505978 [-0.520806, -0.491149]
2597+
sigma = 1.00491 [0.982564, 1.02776]
2598+
mu = 2.00433 [1.97453, 2.03414]
26302599

26312600
</pre></td></tr></tbody>
26322601
</table>

docs/NegativeBinomialDistribution.html

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -906,13 +906,13 @@ <h3 class="d-inline-block mr-2">
906906
## Negative Binomial distribution. R must be a positive scalar, controlling
907907
## the shape and often fixed based on the problem context, like successes in trials.
908908

909-
ans = 5.1405
909+
ans = 5.2135
910910
pd =
911911
NegativeBinomialDistribution
912912

913913
negative binomial distribution
914914
R = 10
915-
P = 0.505124
915+
P = 0.508399
916916

917917
</pre></td></tr></tbody>
918918
</table>
@@ -1032,12 +1032,12 @@ <h3 class="d-inline-block mr-2">
10321032
## Binomial distribution. P must be a real scalar in (0,1], influencing the
10331033
## mean and variance of the distribution.
10341034

1035-
ans = 0.5115
1035+
ans = 0.4926
10361036
pd =
10371037
NegativeBinomialDistribution
10381038

10391039
negative binomial distribution
1040-
R = 5.19879
1040+
R = 4.87025
10411041
P = 0.3
10421042

10431043
</pre></td></tr></tbody>
@@ -1742,8 +1742,8 @@ <h3 class="d-inline-block mr-2">
17421742
## distributions with different success probabilities, representing average
17431743
## number of failures.
17441744

1745-
mean1 = 11.653
1746-
mean2 = 5.0744
1745+
mean1 = 11.684
1746+
mean2 = 5.0440
17471747
</pre></td></tr></tbody>
17481748
</table>
17491749

@@ -1887,7 +1887,7 @@ <h3 class="d-inline-block mr-2">
18871887
## This is useful for assessing the fit of a Negative Binomial distribution to
18881888
## data, with lower values indicating a better fit, often used in model comparison.
18891889

1890-
nlogL_nbinlike = 236.57
1890+
nlogL_nbinlike = 246.98
18911891
</pre></td></tr></tbody>
18921892
</table>
18931893

@@ -1980,8 +1980,8 @@ <h3 class="d-inline-block mr-2">
19801980

19811981
ci =
19821982

1983-
3.5788 0.4133
1984-
5.0159 0.4987
1983+
4.2483 0.4637
1984+
6.2122 0.5595
19851985

19861986
</pre></td></tr></tbody>
19871987
</table>
@@ -2516,7 +2516,7 @@ <h3 class="d-inline-block mr-2">
25162516
## Use this to calculate the standard deviation, which measures the variability
25172517
## in the count values of the distribution.
25182518

2519-
std_value = 3.1534
2519+
std_value = 3.1134
25202520
</pre></td></tr></tbody>
25212521
</table>
25222522

@@ -2686,7 +2686,7 @@ <h3 class="d-inline-block mr-2">
26862686
## Use this to calculate the variance, which quantifies the spread of the
26872687
## count values in the distribution.
26882688

2689-
var_value = 9.5457
2689+
var_value = 9.9763
26902690
</pre></td></tr></tbody>
26912691
</table>
26922692

@@ -2745,8 +2745,8 @@ <h4 class="d-inline-block my-3">
27452745
NegativeBinomialDistribution
27462746

27472747
negative binomial distribution
2748-
R = 4.72131 [4.34848, 5.09413]
2749-
P = 0.483052 [0.462841, 0.503263]
2748+
R = 5.07566 [4.66024, 5.49108]
2749+
P = 0.503046 [0.482125, 0.523966]
27502750
</pre></td></tr>
27512751
</table>
27522752
<div class="text-center">

docs/PoissonDistribution.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,7 @@ <h3 class="d-inline-block mr-2">
903903
## The rate parameter must be a positive real scalar, representing both the mean
904904
## and variance, ideal for count data modeling.
905905

906-
ans = 5.1700
906+
ans = 5.6000
907907
pd =
908908
PoissonDistribution
909909

@@ -1604,8 +1604,8 @@ <h3 class="d-inline-block mr-2">
16041604
## This shows how to compute the expected value for Poisson distributions,
16051605
## which equals lambda, representing the average number of events.
16061606

1607-
mean1 = 1.9968
1608-
mean2 = 5.0161
1607+
mean1 = 1.9884
1608+
mean2 = 4.9659
16091609
</pre></td></tr></tbody>
16101610
</table>
16111611

@@ -1748,7 +1748,7 @@ <h3 class="d-inline-block mr-2">
17481748
## This is useful for assessing the fit of a Poisson distribution to data,
17491749
## with lower values indicating better fit, often used in model selection.
17501750

1751-
nlogL = -221.78
1751+
nlogL = -230.29
17521752
</pre></td></tr></tbody>
17531753
</table>
17541754

@@ -1840,8 +1840,8 @@ <h3 class="d-inline-block mr-2">
18401840

18411841
ci =
18421842

1843-
4.7993
1844-
5.0747
1843+
4.8880
1844+
5.1660
18451845

18461846
</pre></td></tr></tbody>
18471847
</table>
@@ -2367,7 +2367,7 @@ <h3 class="d-inline-block mr-2">
23672367
## Use this to calculate the standard deviation, which equals sqrt(lambda),
23682368
## measuring variability in event counts.
23692369

2370-
std_value = 2.2381
2370+
std_value = 2.2350
23712371
</pre></td></tr></tbody>
23722372
</table>
23732373

@@ -2530,7 +2530,7 @@ <h3 class="d-inline-block mr-2">
25302530
## Use this to calculate the variance, which equals lambda, quantifying the
25312531
## spread in count data.
25322532

2533-
var_value = 4.9952
2533+
var_value = 4.9590
25342534
</pre></td></tr></tbody>
25352535
</table>
25362536

@@ -2588,7 +2588,7 @@ <h4 class="d-inline-block my-3">
25882588
PoissonDistribution
25892589

25902590
Poisson distribution
2591-
lambda = 5.0322 [4.97002, 5.09438]
2591+
lambda = 4.967 [4.90523, 5.02877]
25922592
</pre></td></tr>
25932593
</table>
25942594
<div class="text-center">

0 commit comments

Comments
 (0)