Skip to content

Commit 7af444b

Browse files
committed
update online manual (last commit didn't include this properly)
1 parent 87088f7 commit 7af444b

13 files changed

+89
-65
lines changed

docs/function/boot.html

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -118,27 +118,27 @@ <h3><a name="1">Demonstration 1</a></h3>
118118

119119
Columns 1 through 6:
120120

121-
3 1 3 1 1 1
122-
3 1 3 2 1 1
123-
3 2 2 2 1 3
121+
2 3 3 2 2 2
122+
3 1 3 1 2 3
123+
2 1 3 3 2 1
124124

125125
Columns 7 through 12:
126126

127-
3 3 3 1 3 2
128-
2 3 1 2 3 1
129-
2 3 2 1 3 2
127+
1 1 3 1 3 3
128+
2 2 2 1 2 1
129+
2 3 1 2 1 2
130130

131131
Columns 13 through 18:
132132

133-
2 2 2 3 1 1
134-
2 2 1 1 3 3
135-
3 2 1 3 3 1
133+
2 1 2 2 3 3
134+
2 2 3 3 1 1
135+
3 1 1 1 2 3
136136

137137
Columns 19 and 20:
138138

139-
2 1
140-
2 2
141-
1 2</pre>
139+
1 1
140+
3 3
141+
3 1</pre>
142142
</div>
143143

144144
<h3><a name="2">Demonstration 2</a></h3>
@@ -153,27 +153,27 @@ <h3><a name="2">Demonstration 2</a></h3>
153153

154154
Columns 1 through 6:
155155

156-
2 3 1 2 1 2
157-
3 1 2 2 1 2
158-
3 3 1 3 1 2
156+
2 3 2 2 3 1
157+
2 1 1 2 3 2
158+
3 3 1 2 3 1
159159

160160
Columns 7 through 12:
161161

162-
3 1 2 3 1 1
163-
3 1 1 3 1 2
164-
3 3 2 2 1 2
162+
3 1 2 2 1 2
163+
2 1 1 3 3 1
164+
3 1 2 2 3 2
165165

166166
Columns 13 through 18:
167167

168-
3 3 2 2 1 2
169-
2 3 2 3 1 1
170-
3 1 1 3 1 2
168+
2 3 1 2 1 2
169+
3 3 1 2 1 1
170+
3 1 1 3 3 1
171171

172172
Columns 19 and 20:
173173

174-
2 2
175-
3 1
176-
3 3</pre>
174+
3 3
175+
1 2
176+
3 2</pre>
177177
</div>
178178

179179
<h3><a name="3">Demonstration 3</a></h3>

docs/function/boot1way.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ <h3><a name="7">Demonstration 7</a></h3>
529529
-----------------------------------------------------------------------------
530530
| Comparison | Test # | Ref # | Difference | t | p |
531531
|------------|------------|------------|------------|------------|----------|
532-
| 1 | 2 | 1 | +0.2109 | +0.68 | .384 |
532+
| 1 | 2 | 1 | -0.01662 | -0.06 | .940 |
533533

534534
-----------------------------------------------------------------------------
535535
| GROUP # | GROUP label | N |
@@ -574,7 +574,7 @@ <h3><a name="8">Demonstration 8</a></h3>
574574
-----------------------------------------------------------------------------
575575
| Comparison | Test # | Ref # | Difference | t | p |
576576
|------------|------------|------------|------------|------------|----------|
577-
| 1 | 2 | 1 | -1.742 | -1.40 | .149 |
577+
| 1 | 2 | 1 | +0.05338 | +0.14 | .843 |
578578

579579
-----------------------------------------------------------------------------
580580
| GROUP # | GROUP label | N |

docs/function/bootbayes.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ <h3><a name="1">Demonstration 1</a></h3>
191191

192192
Posterior Statistics:
193193
original bias median stdev CI_lower CI_upper
194-
+184.5 +0.01157 +184.5 1.320 +181.8 +187.2</pre>
194+
+184.5 -0.02286 +184.5 1.240 +182.1 +186.9</pre>
195195
</div>
196196

197197
<h3><a name="2">Demonstration 2</a></h3>
@@ -228,8 +228,8 @@ <h3><a name="2">Demonstration 2</a></h3>
228228

229229
Posterior Statistics:
230230
original bias median stdev CI_lower CI_upper
231-
+175.5 +0.008112 +175.5 2.388 +170.9 +179.9
232-
+0.1904 -0.0001651 +0.1904 0.07897 +0.03590 +0.3373</pre>
231+
+175.5 -0.05767 +175.4 2.381 +171.3 +180.3
232+
+0.1904 +0.001144 +0.1941 0.07872 +0.03729 +0.3456</pre>
233233
</div>
234234

235235
<p>Package: <a href="../index.html">statistics-resampling</a></p>

docs/function/bootci.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,8 +468,8 @@ <h3><a name="10">Demonstration 10</a></h3>
468468
<p>Produces the following output</p>
469469
<pre class="example">ci =
470470

471-
-0.35263 -0.73228
472-
0.36155 0.12062</pre>
471+
-0.73528 -0.60402
472+
0.058896 0.39363</pre>
473473
</div>
474474

475475
<h3><a name="11">Demonstration 11</a></h3>

docs/function/bootclust.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -376,8 +376,8 @@ <h3><a name="7">Demonstration 7</a></h3>
376376

377377
Bootstrap Statistics:
378378
original bias std_error CI_lower CI_upper
379-
+0.3268 -0.01548 +0.2891 -0.2138 +0.7483
380-
-0.2208 -0.01057 +0.2370 -0.5732 +0.2073</pre>
379+
-0.05462 -0.009144 +0.2292 -0.4038 +0.3533
380+
+0.4724 +0.01875 +0.2151 +0.09272 +0.7899</pre>
381381
</div>
382382

383383
<h3><a name="8">Demonstration 8</a></h3>
@@ -406,8 +406,8 @@ <h3><a name="8">Demonstration 8</a></h3>
406406

407407
Bootstrap Statistics:
408408
original bias std_error CI_lower CI_upper
409-
+0.07605 +0.001881 +0.2810 -0.3770 +0.5512
410-
+0.2486 -0.01034 +0.2385 -0.07577 +0.7367</pre>
409+
+0.0009749 +0.03331 +0.1387 -0.2001 +0.2117
410+
-0.1078 -0.04871 +0.3960 -0.9451 +0.3961</pre>
411411
</div>
412412

413413
<h3><a name="9">Demonstration 9</a></h3>

docs/function/bootknife.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,8 +442,8 @@ <h3><a name="8">Demonstration 8</a></h3>
442442

443443
Bootstrap Statistics:
444444
original bias std_error CI_lower CI_upper
445-
-0.3449 -0.01633 0.2090 -0.6543 +0.03989
446-
+0.2237 +0.02897 0.2800 -0.1574 +0.7630</pre>
445+
+0.09989 -0.007025 0.2859 -0.3832 +0.5533
446+
-0.3207 +0.003965 0.3694 -0.8856 +0.3101</pre>
447447
</div>
448448

449449
<h3><a name="9">Demonstration 9</a></h3>

docs/function/bootlm.html

Lines changed: 42 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ <h2>bootlm</h2>
4545
-- Function File: [STATS, BOOTSTAT] = bootlm (...)
4646
-- Function File: [STATS, BOOTSTAT, AOVSTAT] = bootlm (...)
4747
-- Function File: [STATS, BOOTSTAT, AOVSTAT, PRED_ERR] = bootlm (...)
48+
-- Function File: [STATS, BOOTSTAT, AOVSTAT, PRED_ERR, X] = bootlm (...)
4849

4950
Fits a linear model with categorical and/or continuous predictors (i.e.
5051
independent variables) on a continuous outcome (i.e. dependent variable)
@@ -57,7 +58,7 @@ <h2>bootlm</h2>
5758
By default, confidence intervals and Null Hypothesis Significance Tests
5859
(NHSTs) for the regression coefficients (H0 = 0) are calculated by wild
5960
bootstrap-t and are robust when normality and homoscedasticity cannot be
60-
assumed.
61+
assumed [1].
6162

6263
Usage of this function is very similar to that of 'anovan'. Data (Y)
6364
is a numeric variable, and the predictor(s) are specified in GROUP (a.k.a.
@@ -136,11 +137,11 @@ <h2>bootlm</h2>
136137

137138
o 'wild' (default): Wild bootstrap-t, using the 'bootwild'
138139
function. Please see the help documentation below and in the
139-
function 'bootwild' for more information about this method.
140+
function 'bootwild' for more information about this method [1].
140141

141142
o 'bayesian': Bayesian bootstrap, using the 'bootbayes' function.
142143
Please see the help documentation below and in the function
143-
'bootbayes' for more information about this method.
144+
'bootbayes' for more information about this method [2].
144145

145146
Note that p-values are a frequentist concept and are only computed
146147
and returned from bootlm when the METHOD is 'wild'. Since the wild
@@ -165,7 +166,7 @@ <h2>bootlm</h2>
165166

166167
o 'auto': Sets a value for PRIOR that effectively incorporates
167168
Bessel's correction a priori such that the variance of the
168-
posterior (i.e. the rows of BOOTSTAT) becomes an unbiased
169+
posterior (i.e. of the rows of BOOTSTAT) becomes an unbiased
169170
estimator of the sampling variance*. The calculation used for
170171
'auto' is as follows:
171172

@@ -187,7 +188,7 @@ <h2>bootlm</h2>
187188
to Bayes rule: a uniform (or flat) Dirichlet distribution
188189
(over all points in its support). Please see the help
189190
documentation for the function 'bootbayes' for more information
190-
about the prior.
191+
about the prior [2].
191192

192193
'[...] = bootlm (Y, GROUP, ..., 'alpha', ALPHA)'
193194

@@ -198,16 +199,16 @@ <h2>bootlm</h2>
198199
o scalar: Set the central mass of the intervals to 100*(1-ALPHA)%.
199200
For example, 0.05 for a 95% interval. If METHOD is 'wild',
200201
then the intervals are symmetric bootstrap-t confidence
201-
intervals. If METHOD is 'bayesian', then the intervals are
202-
shortest probability credible intervals.
202+
intervals [1]. If METHOD is 'bayesian', then the intervals
203+
are shortest probability credible intervals [2].
203204

204205
o vector: A pair of probabilities defining the lower and upper
205206
and upper bounds of the interval(s) as 100*(ALPHA(1))% and
206207
100*(ALPHA(2))% respectively. For example, [.025, .975] for
207208
a 95% interval. If METHOD is 'wild', then the intervals are
208-
asymmetric bootstrap-t confidence intervals. If METHOD is
209+
asymmetric bootstrap-t confidence intervals [1]. If METHOD is
209210
'bayesian', then the intervals are simple percentile credible
210-
intervals.
211+
intervals [2].
211212

212213
The default value of ALPHA is the scalar: 0.05.
213214

@@ -412,7 +413,7 @@ <h2>bootlm</h2>
412413
- 'CI_lower': The lower bound(s) of the confidence/credible interval(s)
413414
- 'CI_upper': The upper bound(s) of the confidence/credible interval(s)
414415
- 'pval': The p-value(s) for the hypothesis that the estimate(s) == 0
415-
- 'fpr': The minimum false positive risk (FPR) for each p-value
416+
- 'fpr': The minimum false positive risk (FPR) for each p-value [3].
416417
- 'N': The number of independent sampling units used to compute CIs
417418
- 'prior': The prior used for Bayesian bootstrap. This will return a
418419
scalar for regression coefficients, or a P x 1 or P x 2
@@ -445,7 +446,7 @@ <h2>bootlm</h2>
445446
- 'MS': Mean-squares
446447
- 'F': F-Statistic
447448
- 'PVAL': p-values
448-
- 'FPR': The minimum false positive risk for each p-value
449+
- 'FPR': The minimum false positive risk for each p-value [3]
449450
- 'SSE': Sum-of-Squared Error
450451
- 'DFE': Degrees of Freedom for Error
451452
- 'MSE': Mean Squared Error
@@ -459,8 +460,8 @@ <h2>bootlm</h2>
459460
the method used is 'wild' bootstrap AND when no other statistics are
460461
requested (i.e. estimated marginal means or posthoc tests). The
461462
bootstrap is achieved by wild bootstrap of the residuals from the full
462-
model. Computations of the statistics in AOVSTAT are compatible with
463-
the 'clustid' and 'blocksz' options.
463+
model [1,4]. Computations of the statistics in AOVSTAT are compatible
464+
with the 'clustid' and 'blocksz' options.
464465

465466
The bootlm function treats all model predictors as fixed effects during
466467
ANOVA tests. While any type of predictor, be it a fixed effect or
@@ -478,13 +479,13 @@ <h2>bootlm</h2>
478479
sample sizes are equal or not.
479480

480481
'[STATS, BOOTSTAT, AOVSTAT, PRED_ERR] = bootlm (...)' also computes
481-
refined bootstrap estimates of prediction error* and returns the derived
482-
statistics in a structure with the following fields:
482+
refined bootstrap estimates of prediction error* and returns statistics
483+
derived from it in a structure containing the following fields:
483484
- 'MODEL': The formula of the linear model(s) in Wilkinson's notation
484-
- 'PE': Bootstrap estimate of prediction error
485+
- 'PE': Bootstrap estimate of prediction error [5]
485486
- 'PRESS': Bootstrap estimate of predicted residual error sum of squares
486487
- 'RSQ_pred': Bootstrap estimate of predicted R-squared
487-
- 'EIC': Extended (Efron) Information Criterion
488+
- 'EIC': Extended (Efron) Information Criterion [6]
488489
- 'RL': Relative likelihood (compared to the intercept-only model)
489490
- 'Wt': EIC expressed as weights
490491

@@ -501,7 +502,30 @@ <h2>bootlm</h2>
501502
installed and loaded, then these computations will be automatically
502503
accelerated by parallel processing on platforms with multiple processors
503504

504-
bootlm (version 2024.05.17)
505+
'[STATS, BOOTSTAT, AOVSTAT, PRED_ERR, MAT] = bootlm (...)' also returns
506+
a structure containing the design matrix of the predictors (X), the
507+
regression coefficients (b), the hypothesis matrix (L) and the outcome (Y)
508+
for the linear model.
509+
510+
Bibliography:
511+
[1] Penn, A.C. statistics-resampling manual: `bootwild` function reference.
512+
https://gnu-octave.github.io/statistics-resampling/function/bootwild.html
513+
and references therein. Last accessed 02 Sept 2024.
514+
[2] Penn, A.C. statistics-resampling manual: `bootbayes` function reference.
515+
https://gnu-octave.github.io/statistics-resampling/function/bootbayes.html
516+
and references therein. Last accessed 02 Sept 2024.
517+
[3] David Colquhoun (2019) The False Positive Risk: A Proposal Concerning
518+
What to Do About p-Values, The American Statistician, 73:sup1, 192-201
519+
[4] ter Braak (1992) Permutation versus bootstrap significance test in
520+
multiple regression and ANOVA. In Jockel et al (Eds.) Bootstrapping
521+
and Related Techniques. Springer-Verlag, Berlin, pg 79-86
522+
[5] Efron and Tibshirani (1993) An Introduction to the Bootstrap.
523+
New York, NY: Chapman & Hall. pg 247-252
524+
[6] Konishi & Kitagawa (2008), "Bootstrap Information Criterion" In:
525+
Information Criteria and Statistical Modeling. Springer Series in
526+
Statistics. Springer, NY.
527+
528+
bootlm (version 2024.07.08)
505529
Author: Andrew Charles Penn
506530
https://www.researchgate.net/profile/Andrew_Penn/
507531

docs/function/bootmode.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,9 @@ <h3><a name="1">Demonstration 1</a></h3>
149149
<p>Produces the following output</p>
150150
<pre class="example">ans = Summary of results:
151151

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

154-
ans = H2 is 0 with p = 0.343 so accept the null hypothesis that there are 2 modes</pre>
154+
ans = H2 is 0 with p = 0.306 so accept the null hypothesis that there are 2 modes</pre>
155155
</div>
156156

157157
<p>Package: <a href="../index.html">statistics-resampling</a></p>

docs/function/bootwild.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ <h3><a name="1">Demonstration 1</a></h3>
180180

181181
Test Statistics:
182182
original std_err CI_lower CI_upper t-stat p-val FPR
183-
+184.5 1.310 +181.5 +187.5 +141. <.001 .010</pre>
183+
+184.5 1.310 +181.6 +187.4 +141. <.001 .010</pre>
184184
</div>
185185

186186
<h3><a name="2">Demonstration 2</a></h3>
@@ -218,8 +218,8 @@ <h3><a name="2">Demonstration 2</a></h3>
218218

219219
Test Statistics:
220220
original std_err CI_lower CI_upper t-stat p-val FPR
221-
+175.5 2.563 +169.7 +181.3 +68.5 <.001 .010
222-
+0.1904 0.08460 -0.0005865 +0.3814 +2.25 .051 .291</pre>
221+
+175.5 2.563 +169.8 +181.2 +68.5 <.001 .010
222+
+0.1904 0.08460 +0.003534 +0.3773 +2.25 .047 .280</pre>
223223
</div>
224224

225225
<p>Package: <a href="../index.html">statistics-resampling</a></p>

docs/function/images/boot1way_701.png

18 Bytes
Loading

docs/function/images/boot1way_801.png

-1.06 KB
Loading

docs/function/randtest.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ <h3><a name="2">Demonstration 2</a></h3>
146146
<p>Produces the following output</p>
147147
<pre class="example">pval =
148148

149-
0.53419
150-
0.00028607
149+
0.53148
150+
0.00049014
151151

152152
stat =
153153

docs/function/randtest2.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,9 @@ <h3><a name="1">Demonstration 1</a></h3>
162162
@(A, B) log (var (A) ./ var (B)))
163163
</pre>
164164
<p>Produces the following output</p>
165-
<pre class="example">pval = 0.3484
166-
pval = 0.2774
167-
pval = 0.31921</pre>
165+
<pre class="example">pval = 0.3668
166+
pval = 0.2698
167+
pval = 0.30905</pre>
168168
</div>
169169

170170
<h3><a name="2">Demonstration 2</a></h3>

0 commit comments

Comments
 (0)