Skip to content

Commit

Permalink
update manual
Browse files Browse the repository at this point in the history
  • Loading branch information
acp29 committed Jan 18, 2024
1 parent 1c1b932 commit 296e1f8
Show file tree
Hide file tree
Showing 36 changed files with 353 additions and 173 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,13 @@ Below are some links to demonstrations of how the bootstrap or randomization fun

* [t-test to compare two independent samples](https://gnu-octave.github.io/statistics-resampling/function/bootlm.html#1) (but also robust to heteroscedasticity, i.e. unequal variance)

* Nested t-test to compare two independent samples. (See example listed below for nested one-way ANOVA)

* [t-test to compare two paired or matching samples](https://gnu-octave.github.io/statistics-resampling/function/bootlm.html#2)

* [One-way ANOVA to compare more than two independent samples](https://gnu-octave.github.io/statistics-resampling/function/bootlm.html#3) (but also robust to heteroscedasticity)

* [Nested one-way ANOVA to compare more than two independent samples](https://gnu-octave.github.io/statistics-resampling/function/bootlm.html#11) (but also robust to heteroscedasticity and grouping of observations)
* [Nested one-way ANOVA to compare more than two independent samples](https://gnu-octave.github.io/statistics-resampling/function/bootlm.html#13) (but also robust to heteroscedasticity and grouping of observations)

* [Balanced two-way factorial ANOVA](https://gnu-octave.github.io/statistics-resampling/function/bootlm.html#6) (but also robust to heteroscedasticity)

Expand Down
2 changes: 1 addition & 1 deletion docs/copying.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="date" content="2024-01-10"/>
<meta name="date" content="2024-01-18"/>
<meta name="generator" content="generate_html 0.3.3" />
<meta name="author" content="Andrew Penn" />
<meta name="description" content="A package for statistical analysis using resampling methods." />
Expand Down
6 changes: 3 additions & 3 deletions docs/description.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"generator": "generate_html",
"generator_version": "0.3.3",
"date_generated": "2024-01-10",
"date_generated": "2024-01-18",
"package":
{
"name": "statistics-resampling",
"version": "5.5.4",
"version": "5.5.5",
"description": "The statistics-resampling package is an Octave package and Matlab toolbox that can be used to overcome a wide variety of statistics problems 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 test hypotheses (p-values). 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 overcome a wide variety of statistics problems using non-parametric resampling methods",
"date": "2024-01-08",
"date": "2024-01-18",
"title": "A statistics package with a variety of resampling tools",
"author": "Andrew Penn <[email protected]>",
"maintainer": "Andrew Penn <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion docs/function/boot.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="date" content="2024-01-10"/>
<meta name="date" content="2024-01-18"/>
<meta name="generator" content="generate_html 0.3.3" />
<meta name="author" content="Andrew Penn" />
<meta name="description" content="A package for statistical analysis using resampling methods." />
Expand Down
6 changes: 3 additions & 3 deletions docs/function/boot1way.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="date" content="2024-01-10"/>
<meta name="date" content="2024-01-18"/>
<meta name="generator" content="generate_html 0.3.3" />
<meta name="author" content="Andrew Penn" />
<meta name="description" content="A package for statistical analysis using resampling methods." />
Expand Down Expand Up @@ -528,7 +528,7 @@ <h3><a name="7">Demonstration 7</a></h3>
-----------------------------------------------------------------------------
| Comparison | Test # | Ref # | Difference | t | p |
|------------|------------|------------|------------|------------|----------|
| 1 | 2 | 1 | +0.8611 | +2.83 | .013 |*
| 1 | 2 | 1 | -0.8382 | -2.38 | .028 |*

-----------------------------------------------------------------------------
| GROUP # | GROUP label | N |
Expand Down Expand Up @@ -573,7 +573,7 @@ <h3><a name="8">Demonstration 8</a></h3>
-----------------------------------------------------------------------------
| Comparison | Test # | Ref # | Difference | t | p |
|------------|------------|------------|------------|------------|----------|
| 1 | 2 | 1 | +0.4548 | +0.50 | .474 |
| 1 | 2 | 1 | +0.2467 | +0.28 | .707 |

-----------------------------------------------------------------------------
| GROUP # | GROUP label | N |
Expand Down
8 changes: 4 additions & 4 deletions docs/function/bootbayes.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="date" content="2024-01-10"/>
<meta name="date" content="2024-01-18"/>
<meta name="generator" content="generate_html 0.3.3" />
<meta name="author" content="Andrew Penn" />
<meta name="description" content="A package for statistical analysis using resampling methods." />
Expand Down Expand Up @@ -187,7 +187,7 @@ <h3><a name="1">Demonstration 1</a></h3>

Posterior Statistics:
original bias median stdev CI_lower CI_upper
+184.5 -0.01222 +184.5 1.326 +181.8 +187.1</pre>
+184.5 -0.02178 +184.5 1.331 +181.7 +187.0</pre>
</div>

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

Posterior Statistics:
original bias median stdev CI_lower CI_upper
+175.5 +0.05523 +175.6 2.404 +170.8 +180.0
+0.1904 -0.002010 +0.1906 0.07972 +0.02251 +0.3314</pre>
+175.5 +0.04879 +175.5 2.395 +171.4 +180.6
+0.1904 -0.002977 +0.1890 0.07923 +0.02332 +0.3281</pre>
</div>

<p>Package: <a href="../index.html">statistics-resampling</a></p>
Expand Down
2 changes: 1 addition & 1 deletion docs/function/bootcdf.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="date" content="2024-01-10"/>
<meta name="date" content="2024-01-18"/>
<meta name="generator" content="generate_html 0.3.3" />
<meta name="author" content="Andrew Penn" />
<meta name="description" content="A package for statistical analysis using resampling methods." />
Expand Down
2 changes: 1 addition & 1 deletion docs/function/bootci.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="date" content="2024-01-10"/>
<meta name="date" content="2024-01-18"/>
<meta name="generator" content="generate_html 0.3.3" />
<meta name="author" content="Andrew Penn" />
<meta name="description" content="A package for statistical analysis using resampling methods." />
Expand Down
34 changes: 17 additions & 17 deletions docs/function/bootclust.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="date" content="2024-01-10"/>
<meta name="date" content="2024-01-18"/>
<meta name="generator" content="generate_html 0.3.3" />
<meta name="author" content="Andrew Penn" />
<meta name="description" content="A package for statistical analysis using resampling methods." />
Expand Down Expand Up @@ -170,11 +170,11 @@ <h3><a name="1">Demonstration 1</a></h3>
Resampling method: Balanced, bootstrap cluster resampling
Number of resamples: 1999
Confidence interval (CI) type: Expanded bias-corrected and accelerated (BCa)
Nominal coverage (and the percentiles used): 95% (1.2%, 97.5%)
Nominal coverage (and the percentiles used): 95% (1.1%, 97.4%)

Bootstrap Statistics:
original bias std_error CI_lower CI_upper
+29.65 +3.553e-14 +2.523 +23.72 +34.45</pre>
+29.65 +5.329e-14 +2.476 +23.84 +34.21</pre>
</div>

<h3><a name="2">Demonstration 2</a></h3>
Expand All @@ -200,11 +200,11 @@ <h3><a name="2">Demonstration 2</a></h3>
Resampling method: Balanced, bootstrap cluster resampling
Number of resamples: 1999
Confidence interval (CI) type: Expanded bias-corrected and accelerated (BCa)
Nominal coverage (and the percentiles used): 95% (1.0%, 98.6%)
Nominal coverage (and the percentiles used): 95% (1.1%, 98.8%)

Bootstrap Statistics:
original bias std_error CI_lower CI_upper
+29.65 -0.03948 +2.926 +23.00 +35.88</pre>
+29.65 -0.03235 +2.918 +23.05 +36.04</pre>
</div>

<h3><a name="3">Demonstration 3</a></h3>
Expand Down Expand Up @@ -232,7 +232,7 @@ <h3><a name="3">Demonstration 3</a></h3>

Bootstrap Statistics:
original bias std_error CI_lower CI_upper
+171.5 -6.433 +41.32 +98.56 +233.4</pre>
+171.5 -6.745 +41.93 +96.66 +236.5</pre>
</div>

<h3><a name="4">Demonstration 4</a></h3>
Expand Down Expand Up @@ -262,7 +262,7 @@ <h3><a name="4">Demonstration 4</a></h3>

Bootstrap Statistics:
original bias std_error CI_lower CI_upper
+171.5 -9.101 +33.53 +103.6 +214.9</pre>
+171.5 -9.772 +33.42 +104.2 +214.3</pre>
</div>

<h3><a name="5">Demonstration 5</a></h3>
Expand All @@ -285,11 +285,11 @@ <h3><a name="5">Demonstration 5</a></h3>
Resampling method: Balanced, bootstrap cluster resampling
Number of resamples: 1999
Confidence interval (CI) type: Bias-corrected and accelerated (BCa)
Nominal coverage (and the percentiles used): 90% (12.6%, 98.8%)
Nominal coverage (and the percentiles used): 90% (10.7%, 98.4%)

Bootstrap Statistics:
original bias std_error CI_lower CI_upper
+171.5 -7.207 +41.84 +116.2 +263.7</pre>
+171.5 -6.598 +42.13 +113.2 +257.0</pre>
</div>

<h3><a name="6">Demonstration 6</a></h3>
Expand All @@ -314,11 +314,11 @@ <h3><a name="6">Demonstration 6</a></h3>
Resampling method: Balanced, bootstrap cluster resampling
Number of resamples: 1999
Confidence interval (CI) type: Bias-corrected and accelerated (BCa)
Nominal coverage (and the percentiles used): 90% (13.4%, 98.8%)
Nominal coverage (and the percentiles used): 90% (12.1%, 98.5%)

Bootstrap Statistics:
original bias std_error CI_lower CI_upper
+171.5 -9.472 +33.84 +122.9 +231.4</pre>
+171.5 -9.417 +32.82 +122.2 +227.7</pre>
</div>

<h3><a name="7">Demonstration 7</a></h3>
Expand All @@ -344,8 +344,8 @@ <h3><a name="7">Demonstration 7</a></h3>

Bootstrap Statistics:
original bias std_error CI_lower CI_upper
+0.1158 -0.01867 +0.2305 -0.2479 +0.5164
-0.07501 +0.0002203 +0.2306 -0.4560 +0.3089</pre>
-0.1792 +0.008118 +0.2790 -0.7047 +0.2353
-0.2602 +0.01050 +0.1644 -0.5326 -0.004009</pre>
</div>

<h3><a name="8">Demonstration 8</a></h3>
Expand All @@ -372,8 +372,8 @@ <h3><a name="8">Demonstration 8</a></h3>

Bootstrap Statistics:
original bias std_error CI_lower CI_upper
-0.1061 -0.03943 +0.2424 -0.4823 +0.2753
+0.2456 +0.04223 +0.1685 -0.05556 +0.4826</pre>
+0.1049 +0.01881 +0.3165 -0.5583 +0.5361
+0.09241 -0.05815 +0.3103 -0.4276 +0.5900</pre>
</div>

<h3><a name="9">Demonstration 9</a></h3>
Expand All @@ -400,11 +400,11 @@ <h3><a name="9">Demonstration 9</a></h3>
Resampling method: Balanced, bootstrap cluster resampling
Number of resamples: 1999
Confidence interval (CI) type: Bias-corrected and accelerated (BCa)
Nominal coverage (and the percentiles used): 95% (1.9%, 96.9%)
Nominal coverage (and the percentiles used): 95% (1.8%, 96.8%)

Bootstrap Statistics:
original bias std_error CI_lower CI_upper
+0.7764 -0.02413 +0.1448 +0.4022 +0.9982</pre>
+0.7764 -0.02407 +0.1452 +0.3905 +0.9958</pre>
</div>

<p>Package: <a href="../index.html">statistics-resampling</a></p>
Expand Down
50 changes: 25 additions & 25 deletions docs/function/bootknife.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="date" content="2024-01-10"/>
<meta name="date" content="2024-01-18"/>
<meta name="generator" content="generate_html 0.3.3" />
<meta name="author" content="Andrew Penn" />
<meta name="description" content="A package for statistical analysis using resampling methods." />
Expand Down Expand Up @@ -223,11 +223,11 @@ <h3><a name="1">Demonstration 1</a></h3>
Number of resamples (outer): 1999
Number of resamples (inner): 0
Confidence interval (CI) type: Expanded bias-corrected and accelerated (BCa)
Nominal coverage (and the percentiles used): 95% (1.4%, 97.3%)
Nominal coverage (and the percentiles used): 95% (1.3%, 97.2%)

Bootstrap Statistics:
original bias std_error CI_lower CI_upper
+29.65 +1.421e-14 +2.623 +23.49 +34.39</pre>
+29.65 -2.842e-14 +2.667 +23.54 +34.42</pre>
</div>

<h3><a name="2">Demonstration 2</a></h3>
Expand All @@ -253,11 +253,11 @@ <h3><a name="2">Demonstration 2</a></h3>
Number of resamples (outer): 1999
Number of resamples (inner): 199
Confidence interval (CI) type: Calibrated percentile
Nominal coverage (and the percentiles used): 95% (1.9%, 96.5%)
Nominal coverage (and the percentiles used): 95% (1.3%, 98.1%)

Bootstrap Statistics:
original bias std_error CI_lower CI_upper
+29.65 -4.263e-14 +2.409 +24.36 +34.19</pre>
+29.65 -1.918e-13 +2.732 +23.26 +34.73</pre>
</div>

<h3><a name="3">Demonstration 3</a></h3>
Expand All @@ -284,11 +284,11 @@ <h3><a name="3">Demonstration 3</a></h3>
Number of resamples (outer): 1999
Number of resamples (inner): 199
Confidence interval (CI) type: Calibrated percentile
Nominal coverage (and the percentiles used): 95% (2.0%, 98.1%)
Nominal coverage (and the percentiles used): 95% (2.2%, 98.0%)

Bootstrap Statistics:
original bias std_error CI_lower CI_upper
+30.86 -0.01828 +2.989 +24.43 +37.34</pre>
+30.86 -0.01825 +3.039 +24.78 +37.20</pre>
</div>

<h3><a name="4">Demonstration 4</a></h3>
Expand Down Expand Up @@ -317,7 +317,7 @@ <h3><a name="4">Demonstration 4</a></h3>

Bootstrap Statistics:
original bias std_error CI_lower CI_upper
+171.5 -6.765 +43.06 +95.90 +237.6</pre>
+171.5 -6.678 +42.08 +95.89 +235.4</pre>
</div>

<h3><a name="5">Demonstration 5</a></h3>
Expand All @@ -341,11 +341,11 @@ <h3><a name="5">Demonstration 5</a></h3>
Number of resamples (outer): 1999
Number of resamples (inner): 0
Confidence interval (CI) type: Bias-corrected and accelerated (BCa)
Nominal coverage (and the percentiles used): 90% (12.7%, 98.8%)
Nominal coverage (and the percentiles used): 90% (13.0%, 98.9%)

Bootstrap Statistics:
original bias std_error CI_lower CI_upper
+171.5 -6.931 +42.16 +116.3 +267.1</pre>
+171.5 -6.427 +41.50 +118.2 +263.3</pre>
</div>

<h3><a name="6">Demonstration 6</a></h3>
Expand All @@ -372,11 +372,11 @@ <h3><a name="6">Demonstration 6</a></h3>
Number of resamples (outer): 1999
Number of resamples (inner): 199
Confidence interval (CI) type: Calibrated percentile (equal-tailed)
Nominal coverage (and the percentiles used): 90% (2.4%, 97.6%)
Nominal coverage (and the percentiles used): 90% (2.1%, 97.9%)

Bootstrap Statistics:
original bias std_error CI_lower CI_upper
+171.5 -7.127 +44.42 +84.01 +252.6</pre>
+171.5 -7.849 +44.05 +83.29 +253.0</pre>
</div>

<h3><a name="7">Demonstration 7</a></h3>
Expand All @@ -402,11 +402,11 @@ <h3><a name="7">Demonstration 7</a></h3>
Number of resamples (outer): 1999
Number of resamples (inner): 199
Confidence interval (CI) type: Calibrated percentile
Nominal coverage (and the percentiles used): 90% (12.5%, 99.4%)
Nominal coverage (and the percentiles used): 90% (12.8%, 99.5%)

Bootstrap Statistics:
original bias std_error CI_lower CI_upper
+171.5 -7.451 +43.12 +116.4 +272.0</pre>
+171.5 -6.971 +43.16 +117.1 +283.4</pre>
</div>

<h3><a name="8">Demonstration 8</a></h3>
Expand All @@ -433,8 +433,8 @@ <h3><a name="8">Demonstration 8</a></h3>

Bootstrap Statistics:
original bias std_error CI_lower CI_upper
+0.1289 -0.003838 +0.2616 -0.3030 +0.5604
-0.1546 -0.01283 +0.2587 -0.5732 +0.2683</pre>
+0.3306 -0.01041 +0.1965 -0.004226 +0.6464
+0.2122 -0.02523 +0.2247 -0.2496 +0.4960</pre>
</div>

<h3><a name="9">Demonstration 9</a></h3>
Expand All @@ -461,11 +461,11 @@ <h3><a name="9">Demonstration 9</a></h3>
Number of resamples (outer): 1999
Number of resamples (inner): 0
Confidence interval (CI) type: Bias-corrected and accelerated (BCa)
Nominal coverage (and the percentiles used): 95% (0.5%, 93.5%)
Nominal coverage (and the percentiles used): 95% (0.5%, 93.3%)

Bootstrap Statistics:
original bias std_error CI_lower CI_upper
+0.7764 -0.006901 +0.1388 +0.3309 +0.9475</pre>
+0.7764 -0.005638 +0.1402 +0.2958 +0.9477</pre>
</div>

<h3><a name="10">Demonstration 10</a></h3>
Expand Down Expand Up @@ -577,13 +577,13 @@ <h3><a name="10">Demonstration 10</a></h3>

Bootstrap Statistics:
original bias std_error CI_lower CI_upper
-16.69 -0.5207 +2.117 -20.56 -12.60
-11.72 -0.3684 +1.859 -15.28 -8.100
-8.061 -0.2661 +1.755 -11.48 -4.634
+0.1048 +0.005914 +0.09065 -0.08522 +0.2766
+0.01034 +0.0006592 +0.006537 -0.001828 +0.02308
+0.06452 +0.002425 +0.01656 +0.03391 +0.09642
+0.001664 +4.451e-06 +0.0007556 +0.0001071 +0.003140</pre>
-16.69 -0.5331 +2.116 -20.43 -12.54
-11.72 -0.3768 +1.843 -15.20 -8.155
-8.061 -0.2766 +1.743 -11.45 -4.659
+0.1048 +0.006095 +0.09058 -0.07981 +0.2733
+0.01034 +0.0007117 +0.006761 -0.001831 +0.02373
+0.06452 +0.002481 +0.01683 +0.03364 +0.09591
+0.001664 +1.729e-06 +0.0007538 +0.0001223 +0.003075</pre>
</div>

<h3><a name="11">Demonstration 11</a></h3>
Expand Down
Loading

0 comments on commit 296e1f8

Please sign in to comment.