Skip to content

Commit

Permalink
update matlab toolbox and online manual with bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
acp29 committed May 24, 2024
1 parent 4022fb2 commit d09393b
Show file tree
Hide file tree
Showing 17 changed files with 51 additions and 41 deletions.
2 changes: 1 addition & 1 deletion docs/description.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"package":
{
"name": "statistics-resampling",
"version": "5.5.15",
"version": "5.5.16",
"description": "The statistics-resampling package is an Octave package and Matlab toolbox that can be used to perform a wide variety of statistics tasks using non-parametric resampling methods. In particular, the functions included can be used to estimate bias, uncertainty (standard errors and confidence intervals), prediction error, and calculate p-values for null hypothesis significance tests. Variations of the resampling methods are included that improve the accuracy of the statistics for small samples and samples with complex dependence structures.",
"shortdescription": "The statistics-resampling package is an Octave package and Matlab toolbox that can be used to perform a wide variety of statistics tasks using non-parametric resampling methods",
"date": "2024-05-24",
Expand Down
24 changes: 12 additions & 12 deletions docs/function/boot.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,15 +118,15 @@ <h3><a name="1">Demonstration 1</a></h3>

Columns 1 through 12:

2 3 3 2 2 2 1 1 3 1 3 3
3 1 3 1 2 3 2 2 2 1 2 1
2 1 3 3 2 1 2 3 1 2 1 2
3 1 3 1 1 1 3 3 3 1 3 2
3 1 3 2 1 1 2 3 1 2 3 1
3 2 2 2 1 3 2 3 2 1 3 2

Columns 13 through 20:

2 1 2 2 3 3 1 1
2 2 3 3 1 1 3 3
3 1 1 1 2 3 3 1</pre>
2 2 2 3 1 1 2 1
2 2 1 1 3 3 2 2
3 2 1 3 3 1 1 2</pre>
</div>

<h3><a name="2">Demonstration 2</a></h3>
Expand All @@ -141,15 +141,15 @@ <h3><a name="2">Demonstration 2</a></h3>

Columns 1 through 12:

2 3 2 2 3 1 3 1 2 2 1 2
2 1 1 2 3 2 2 1 1 3 3 1
3 3 1 2 3 1 3 1 2 2 3 2
2 3 1 2 1 2 3 1 2 3 1 1
3 1 2 2 1 2 3 1 1 3 1 2
3 3 1 3 1 2 3 3 2 2 1 2

Columns 13 through 20:

2 3 1 2 1 2 3 3
3 3 1 2 1 1 1 2
3 1 1 3 3 1 3 2</pre>
3 3 2 2 1 2 2 2
2 3 2 3 1 1 3 1
3 1 1 3 1 2 3 3</pre>
</div>

<h3><a name="3">Demonstration 3</a></h3>
Expand Down
4 changes: 2 additions & 2 deletions docs/function/boot1way.html
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ <h3><a name="7">Demonstration 7</a></h3>
-----------------------------------------------------------------------------
| Comparison | Test # | Ref # | Difference | t | p |
|------------|------------|------------|------------|------------|----------|
| 1 | 2 | 1 | -0.3941 | -0.92 | .298 |
| 1 | 2 | 1 | +0.3886 | +0.79 | .424 |

-----------------------------------------------------------------------------
| GROUP # | GROUP label | N |
Expand Down Expand Up @@ -574,7 +574,7 @@ <h3><a name="8">Demonstration 8</a></h3>
-----------------------------------------------------------------------------
| Comparison | Test # | Ref # | Difference | t | p |
|------------|------------|------------|------------|------------|----------|
| 1 | 2 | 1 | -0.06583 | -0.11 | .897 |
| 1 | 2 | 1 | -0.3233 | -0.70 | .280 |

-----------------------------------------------------------------------------
| GROUP # | GROUP label | N |
Expand Down
6 changes: 3 additions & 3 deletions docs/function/bootbayes.html
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ <h3><a name="1">Demonstration 1</a></h3>

Posterior Statistics:
original bias median stdev CI_lower CI_upper
+184.5 +0.002267 +184.4 1.285 +182.0 +187.2</pre>
+184.5 +0.01497 +184.5 1.289 +181.9 +187.0</pre>
</div>

<h3><a name="2">Demonstration 2</a></h3>
Expand Down Expand Up @@ -228,8 +228,8 @@ <h3><a name="2">Demonstration 2</a></h3>

Posterior Statistics:
original bias median stdev CI_lower CI_upper
+175.5 -0.05393 +175.5 2.382 +170.9 +180.1
+0.1904 +0.001229 +0.1905 0.07973 +0.03445 +0.3433</pre>
+175.5 +0.01508 +175.5 2.372 +171.2 +180.1
+0.1904 -0.0006274 +0.1905 0.07826 +0.04002 +0.3438</pre>
</div>

<p>Package: <a href="../index.html">statistics-resampling</a></p>
Expand Down
4 changes: 2 additions & 2 deletions docs/function/bootci.html
Original file line number Diff line number Diff line change
Expand Up @@ -468,8 +468,8 @@ <h3><a name="10">Demonstration 10</a></h3>
<p>Produces the following output</p>
<pre class="example">ci =

-0.14522 -0.24578
0.52548 0.21074</pre>
-0.65399 -0.99282
0.24451 0.40299</pre>
</div>

<h3><a name="11">Demonstration 11</a></h3>
Expand Down
8 changes: 4 additions & 4 deletions docs/function/bootclust.html
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,8 @@ <h3><a name="7">Demonstration 7</a></h3>

Bootstrap Statistics:
original bias std_error CI_lower CI_upper
-0.01466 +0.008048 +0.1644 -0.2685 +0.2730
-0.3673 +0.01481 +0.1988 -0.6876 -0.03620</pre>
-0.1799 -0.007339 +0.2585 -0.6067 +0.2508
-0.1218 -0.02885 +0.2777 -0.6030 +0.2821</pre>
</div>

<h3><a name="8">Demonstration 8</a></h3>
Expand Down Expand Up @@ -406,8 +406,8 @@ <h3><a name="8">Demonstration 8</a></h3>

Bootstrap Statistics:
original bias std_error CI_lower CI_upper
+0.06679 -0.04155 +0.2747 -0.3193 +0.6091
+0.3205 +0.07195 +0.3240 -0.1417 +0.8961</pre>
-0.1460 +0.03458 +0.1694 -0.3947 +0.1270
-0.1339 +0.005021 +0.2194 -0.5363 +0.1780</pre>
</div>

<h3><a name="9">Demonstration 9</a></h3>
Expand Down
4 changes: 2 additions & 2 deletions docs/function/bootknife.html
Original file line number Diff line number Diff line change
Expand Up @@ -442,8 +442,8 @@ <h3><a name="8">Demonstration 8</a></h3>

Bootstrap Statistics:
original bias std_error CI_lower CI_upper
-0.1408 -0.001400 +0.2037 -0.4468 +0.2220
+0.1314 +0.006638 +0.2106 -0.1736 +0.5228</pre>
-0.01258 +0.03757 +0.2620 -0.5191 +0.3663
+0.1489 -0.06760 +0.2996 -0.3410 +0.6202</pre>
</div>

<h3><a name="9">Demonstration 9</a></h3>
Expand Down
4 changes: 2 additions & 2 deletions docs/function/bootmode.html
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@ <h3><a name="1">Demonstration 1</a></h3>
<p>Produces the following output</p>
<pre class="example">ans = Summary of results:

ans = H1 is 1 with p = 0.001 so reject the null hypothesisthat there is 1 mode
ans = H1 is 1 with p = 0.0005 so reject the null hypothesisthat there is 1 mode

ans = H2 is 0 with p = 0.322 so accept the null hypothesis that there are 2 modes</pre>
ans = H2 is 0 with p = 0.33 so accept the null hypothesis that there are 2 modes</pre>
</div>

<p>Package: <a href="../index.html">statistics-resampling</a></p>
Expand Down
2 changes: 1 addition & 1 deletion docs/function/bootstrp.html
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ <h2>bootstrp</h2>
vs. Smoothing; Proceedings of the Section on Statistics & the
Environment. Alexandria, VA: American Statistical Association.

bootstrp (version 2024.05.15)
bootstrp (version 2024.05.24)
Author: Andrew Charles Penn
https://www.researchgate.net/profile/Andrew_Penn/

Expand Down
6 changes: 3 additions & 3 deletions docs/function/bootwild.html
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ <h3><a name="1">Demonstration 1</a></h3>

Test Statistics:
original std_err CI_lower CI_upper t-stat p-val FPR
+184.5 +1.243 +181.5 +187.5 +148. <.001 .010</pre>
+184.5 +1.243 +181.6 +187.4 +148. <.001 .010</pre>
</div>

<h3><a name="2">Demonstration 2</a></h3>
Expand Down Expand Up @@ -218,8 +218,8 @@ <h3><a name="2">Demonstration 2</a></h3>

Test Statistics:
original std_err CI_lower CI_upper t-stat p-val FPR
+175.5 +2.502 +169.7 +181.3 +70.1 <.001 .010
+0.1904 +0.08261 +0.003945 +0.3769 +2.31 .046 .279</pre>
+175.5 +2.502 +169.9 +181.1 +70.1 <.001 .010
+0.1904 +0.08261 +0.005723 +0.3751 +2.31 .046 .277</pre>
</div>

<p>Package: <a href="../index.html">statistics-resampling</a></p>
Expand Down
Binary file modified docs/function/images/boot1way_701.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/function/images/boot1way_801.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions docs/function/randtest.html
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ <h3><a name="2">Demonstration 2</a></h3>
<p>Produces the following output</p>
<pre class="example">pval =

0.5389
0.0002
0.53917
0.00021623

stat =

Expand All @@ -173,7 +173,7 @@ <h3><a name="3">Demonstration 3</a></h3>
% of standardized x and y values.
[pval, stat] = randtest (X, Y, 5000, @cor)</pre>
<p>Produces the following output</p>
<pre class="example">pval = 0.0010305
<pre class="example">pval = 0.00039964
stat = 0.72317</pre>
</div>

Expand Down
6 changes: 3 additions & 3 deletions docs/function/randtest2.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,9 @@ <h3><a name="1">Demonstration 1</a></h3>
@(A, B) log (var (A) ./ var (B)))
</pre>
<p>Produces the following output</p>
<pre class="example">pval = 0.3516
pval = 0.2798
pval = 0.30423</pre>
<pre class="example">pval = 0.355
pval = 0.2716
pval = 0.31001</pre>
</div>

<h3><a name="2">Demonstration 2</a></h3>
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h2 class="tbdesc">About this package</h2>
<div class="package_box_header"></div>
<div class="package_box_contents">
<table>
<tr><td class="package_table">Package Version:</td><td>5.5.15</td></tr>
<tr><td class="package_table">Package Version:</td><td>5.5.16</td></tr>
<tr><td class="package_table">Last Release Date:</td><td>2024-05-24</td></tr>
<tr><td class="package_table">Package Author:</td><td>Andrew Penn &lt;[email protected]&gt;</td></tr>
<tr><td class="package_table">Package Maintainer:</td><td>Andrew Penn &lt;[email protected]&gt;</td></tr>
Expand Down
Binary file modified matlab/statistics-resampling.mltbx
Binary file not shown.
14 changes: 12 additions & 2 deletions matlab/statistics-resampling.prj
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<deployment-project plugin="plugin.toolbox" plugin-version="1.0">
<configuration build-checksum="1087996271" file="Y:\Documents\GitHub\statistics-resampling\matlab\statistics-resampling.prj" location="Y:\Documents\GitHub\statistics-resampling\matlab" name="statistics-resampling" target="target.toolbox" target-name="Package Toolbox">
<configuration build-checksum="2690023516" file="Y:\Documents\GitHub\statistics-resampling\matlab\statistics-resampling.prj" location="Y:\Documents\GitHub\statistics-resampling\matlab" name="statistics-resampling" target="target.toolbox" target-name="Package Toolbox">
<param.appname>statistics-resampling</param.appname>
<param.authnamewatermark>Andrew Penn</param.authnamewatermark>
<param.email>[email protected]</param.email>
<param.company>University of Sussex, UK</param.company>
<param.summary>Statistical analysis using resampling methods</param.summary>
<param.description>The statistics-resampling package is an Octave package and Matlab toolbox that can be used to perform a wide variety of statistics tasks using non-parametric resampling methods. In particular, the functions included can be used to estimate bias, uncertainty (standard errors and confidence intervals), prediction error, and calculate p-values for null hypothesis significance tests. Variations of the resampling methods are included that improve the accuracy of the statistics for small samples and samples with complex dependence structures.</param.description>
<param.screenshot>Y:\Documents\GitHub\statistics-resampling\doc\icon.png</param.screenshot>
<param.version>5.5.14</param.version>
<param.version>5.5.16</param.version>
<param.output>${PROJECT_ROOT}\statistics-resampling.mltbx</param.output>
<param.products.name />
<param.products.id />
Expand Down Expand Up @@ -53,6 +53,11 @@
</fileset.rootdir>
<fileset.rootfiles>
<file>Y:\Documents\GitHub\statistics-resampling\inst\boot.m</file>
<file>Y:\Documents\GitHub\statistics-resampling\inst\boot.mexa64</file>
<file>Y:\Documents\GitHub\statistics-resampling\inst\boot.mexmaca64</file>
<file>Y:\Documents\GitHub\statistics-resampling\inst\boot.mexmaci64</file>
<file>Y:\Documents\GitHub\statistics-resampling\inst\boot.mexw32</file>
<file>Y:\Documents\GitHub\statistics-resampling\inst\boot.mexw64</file>
<file>Y:\Documents\GitHub\statistics-resampling\inst\boot1way.m</file>
<file>Y:\Documents\GitHub\statistics-resampling\inst\bootbayes.m</file>
<file>Y:\Documents\GitHub\statistics-resampling\inst\bootcdf.m</file>
Expand All @@ -74,6 +79,11 @@
<file>Y:\Documents\GitHub\statistics-resampling\inst\sampszcalc.m</file>
<file>Y:\Documents\GitHub\statistics-resampling\inst\smoothmad.m</file>
<file>Y:\Documents\GitHub\statistics-resampling\inst\smoothmedian.m</file>
<file>Y:\Documents\GitHub\statistics-resampling\inst\smoothmedian.mexa64</file>
<file>Y:\Documents\GitHub\statistics-resampling\inst\smoothmedian.mexmaca64</file>
<file>Y:\Documents\GitHub\statistics-resampling\inst\smoothmedian.mexmaci64</file>
<file>Y:\Documents\GitHub\statistics-resampling\inst\smoothmedian.mexw32</file>
<file>Y:\Documents\GitHub\statistics-resampling\inst\smoothmedian.mexw64</file>
</fileset.rootfiles>
<fileset.depfun.included />
<fileset.depfun.excluded />
Expand Down

0 comments on commit d09393b

Please sign in to comment.