Skip to content

Commit

Permalink
update online manual
Browse files Browse the repository at this point in the history
  • Loading branch information
acp29 committed Apr 27, 2024
1 parent 99aee4b commit 075a11c
Show file tree
Hide file tree
Showing 12 changed files with 95 additions and 90 deletions.
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 11:

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

Columns 12 through 20:

3 3 2 2 2 1 1 3 2
2 1 3 3 3 2 3 3 2
2 1 2 1 2 3 3 2 1</pre>
3 2 1 2 2 3 3 1 1
1 2 2 3 3 1 1 3 3
2 3 1 1 1 2 3 3 1</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 11:

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

Columns 12 through 20:

2 2 1 1 3 1 2 3 1
1 3 3 1 3 1 1 1 2
2 3 1 2 2 3 1 1 3</pre>
2 2 3 1 2 1 2 3 3
1 3 3 1 2 1 1 1 2
2 3 1 1 3 3 1 3 2</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.9850 | +2.12 | .078 |
| 1 | 2 | 1 | +0.5114 | +1.04 | .311 |

-----------------------------------------------------------------------------
| 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.5723 | +0.89 | .279 |
| 1 | 2 | 1 | +0.6293 | +1.02 | .266 |

-----------------------------------------------------------------------------
| 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.02210 +184.5 1.240 +182.1 +186.9</pre>
+184.5 +0.01413 +184.5 1.320 +181.9 +187.1</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.03532 +175.5 2.384 +171.1 +180.3
+0.1904 -0.001074 +0.1909 0.07912 +0.04160 +0.3442</pre>
+175.5 +0.01690 +175.5 2.396 +171.1 +180.4
+0.1904 -0.0008083 +0.1919 0.08086 +0.02622 +0.3426</pre>
</div>

<p>Package: <a href="../index.html">statistics-resampling</a></p>
Expand Down
20 changes: 11 additions & 9 deletions docs/function/bootci.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
<div id="doccontent">

<h2>bootci</h2>
<pre> Performs single or double bootstrap (or bootknife) resampling and calculates
confidence intervals.
<pre> Bootstrap confidence intervals: Performs bootstrap and calculates confidence
intervals from the resulting bootstrap statistics.

-- Function File: CI = bootci (NBOOT, BOOTFUN, D)
-- Function File: CI = bootci (NBOOT, BOOTFUN, D1,...,DN)
Expand Down Expand Up @@ -72,11 +72,13 @@ <h2>bootci</h2>
<> 'bca': Bias-corrected and accelerated method [5,6] (Default).
<> 'stud' or 'student': Studentized bootstrap (bootstrap-t) [1,4].
<> 'cal': Calibrated percentile method (by double bootstrap [7]).
Note that when BOOTFUN is the mean, percentile, basic and bca intervals
are automatically expanded using Student's t-distribution in order to
improve coverage for small samples [8]. The bootstrap-t method includes
an additive correction to stabilize the variance when the sample size
is small [9].
Note that when BOOTFUN is the mean, the percentile, basic and bca
intervals are automatically expanded using Student's t-distribution in
order to improve coverage for small samples [8]. To compute confidence
the intervals for the mean without this correction for narrowness bias,
define the mean in BOOTFUN as an anonymous function (e.g. @(x) mean(x)).
The bootstrap-t method includes an additive correction to stabilize the
variance when the sample size is small [9].

'CI = bootci (..., 'type', 'stud', 'nbootstd', NBOOTSTD)' computes the
Studentized bootstrap confidence intervals CI, with the standard errors
Expand Down Expand Up @@ -466,8 +468,8 @@ <h3><a name="10">Demonstration 10</a></h3>
<p>Produces the following output</p>
<pre class="example">ci =

-0.5826 -0.44271
0.22767 0.40505</pre>
-0.3902 -0.90907
0.33819 0.26111</pre>
</div>

<h3><a name="11">Demonstration 11</a></h3>
Expand Down
50 changes: 25 additions & 25 deletions docs/function/bootclust.html
Original file line number Diff line number Diff line change
Expand Up @@ -183,15 +183,15 @@ <h3><a name="1">Demonstration 1</a></h3>

Bootstrap settings:
Function: mean
Resampling method: Balanced, bootstrap block resampling
Resampling method: Balanced, block bootstrap resampling
Number of resamples: 1999
Number of data rows in each block: 1
Confidence interval (CI) type: Expanded bias-corrected and accelerated (BCa)
Nominal coverage (and the percentiles used): 95% (1.2%, 97.4%)
Nominal coverage (and the percentiles used): 95% (1.2%, 97.5%)

Bootstrap Statistics:
original bias std_error CI_lower CI_upper
+29.65 -3.553e-14 +2.594 +23.75 +34.47</pre>
+29.65 -1.066e-14 +2.620 +23.66 +34.69</pre>
</div>

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

Bootstrap settings:
Function: mean
Resampling method: Balanced, bootstrap cluster resampling
Resampling method: Balanced, cluster bootstrap resampling
Number of resamples: 1999
Confidence interval (CI) type: Expanded bias-corrected and accelerated (BCa)
Nominal coverage (and the percentiles used): 95% (1.2%, 98.8%)
Nominal coverage (and the percentiles used): 95% (1.1%, 98.8%)

Bootstrap Statistics:
original bias std_error CI_lower CI_upper
+29.65 -0.04643 +2.938 +22.93 +36.08</pre>
+29.65 -0.02581 +2.950 +22.83 +36.03</pre>
</div>

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

Bootstrap settings:
Function: var
Resampling method: Balanced, bootstrap block resampling
Resampling method: Balanced, block bootstrap resampling
Number of resamples: 1999
Number of data rows in each block: 1
Confidence interval (CI) type: Percentile (equal-tailed)
Nominal coverage (and the percentiles used): 90% (5.0%, 95.0%)

Bootstrap Statistics:
original bias std_error CI_lower CI_upper
+171.5 -6.269 +42.14 +97.96 +237.1</pre>
+171.5 -6.543 +41.08 +98.85 +235.1</pre>
</div>

<h3><a name="4">Demonstration 4</a></h3>
Expand All @@ -279,14 +279,14 @@ <h3><a name="4">Demonstration 4</a></h3>

Bootstrap settings:
Function: var
Resampling method: Balanced, bootstrap cluster resampling
Resampling method: Balanced, cluster bootstrap resampling
Number of resamples: 1999
Confidence interval (CI) type: Percentile (equal-tailed)
Nominal coverage (and the percentiles used): 90% (5.0%, 95.0%)

Bootstrap Statistics:
original bias std_error CI_lower CI_upper
+171.5 -9.545 +33.30 +103.3 +213.9</pre>
+171.5 -9.544 +33.87 +102.0 +214.8</pre>
</div>

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

Bootstrap settings:
Function: var
Resampling method: Balanced, bootstrap block resampling
Resampling method: Balanced, block bootstrap resampling
Number of resamples: 1999
Number of data rows in each block: 1
Confidence interval (CI) type: Bias-corrected and accelerated (BCa)
Nominal coverage (and the percentiles used): 90% (12.1%, 98.7%)
Nominal coverage (and the percentiles used): 90% (11.6%, 98.6%)

Bootstrap Statistics:
original bias std_error CI_lower CI_upper
+171.5 -6.668 +42.12 +114.8 +261.5</pre>
+171.5 -6.634 +42.13 +113.9 +258.2</pre>
</div>

<h3><a name="6">Demonstration 6</a></h3>
Expand All @@ -340,14 +340,14 @@ <h3><a name="6">Demonstration 6</a></h3>

Bootstrap settings:
Function: var
Resampling method: Balanced, bootstrap cluster resampling
Resampling method: Balanced, cluster bootstrap resampling
Number of resamples: 1999
Confidence interval (CI) type: Bias-corrected and accelerated (BCa)
Nominal coverage (and the percentiles used): 90% (12.5%, 98.6%)
Nominal coverage (and the percentiles used): 90% (14.7%, 99.0%)

Bootstrap Statistics:
original bias std_error CI_lower CI_upper
+171.5 -9.715 +33.92 +121.3 +231.1</pre>
+171.5 -10.30 +34.38 +124.4 +234.5</pre>
</div>

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

Bootstrap settings:
Function: mldivide
Resampling method: Balanced, bootstrap block resampling
Resampling method: Balanced, block bootstrap resampling
Number of resamples: 1999
Number of data rows in each block: 1
Confidence interval (CI) type: Bias-corrected and accelerated (BCa)
Nominal coverage: 90%

Bootstrap Statistics:
original bias std_error CI_lower CI_upper
+0.04954 -0.01246 +0.1665 -0.2001 +0.3595
+0.3375 +0.006297 +0.1641 +0.04885 +0.5883</pre>
+0.04953 -0.009863 +0.2049 -0.2566 +0.4250
+0.3298 -0.008158 +0.2603 -0.1568 +0.7047</pre>
</div>

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

Bootstrap settings:
Function: mldivide
Resampling method: Balanced, bootstrap cluster resampling
Resampling method: Balanced, cluster bootstrap resampling
Number of resamples: 1999
Confidence interval (CI) type: Bias-corrected and accelerated (BCa)
Nominal coverage: 90%

Bootstrap Statistics:
original bias std_error CI_lower CI_upper
-0.2943 -0.02054 +0.1739 -0.5526 +0.007511
-0.1815 -0.004653 +0.2405 -0.4801 +0.3746</pre>
+0.2021 -0.008948 +0.3502 -0.4560 +0.7082
+0.07279 -0.0004256 +0.3080 -0.4215 +0.5958</pre>
</div>

<h3><a name="9">Demonstration 9</a></h3>
Expand All @@ -431,14 +431,14 @@ <h3><a name="9">Demonstration 9</a></h3>

Bootstrap settings:
Function: cor
Resampling method: Balanced, bootstrap cluster resampling
Resampling method: Balanced, cluster bootstrap 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%)

Bootstrap Statistics:
original bias std_error CI_lower CI_upper
+0.7764 -0.02360 +0.1430 +0.4033 +0.9957</pre>
+0.7764 -0.02442 +0.1446 +0.3970 +0.9968</pre>
</div>

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

Bootstrap settings:
Function: @(y) (y (1:end - 1) - mean (y)) \ (y (2:end) - mean (y))
Resampling method: Balanced, bootknife block resampling
Resampling method: Balanced, block bootknife resampling
Number of resamples: 1999
Number of data rows in each block: 3
Confidence interval (CI) type: Bias-corrected and accelerated (BCa)
Expand Down
Loading

0 comments on commit 075a11c

Please sign in to comment.