@stdlib/stats-incr-mgrubbs 0.0.2 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +1 -1
- package/README.md +48 -8
- package/package.json +4 -2
- package/CHANGELOG.md +0 -5
package/NOTICE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2016-
|
|
1
|
+
Copyright (c) 2016-2022 The Stdlib Authors.
|
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ limitations under the License.
|
|
|
20
20
|
|
|
21
21
|
# incrmgrubbs
|
|
22
22
|
|
|
23
|
-
[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] [![dependencies][dependencies-image]][dependencies-url]
|
|
23
|
+
[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] <!-- [![dependencies][dependencies-image]][dependencies-url] -->
|
|
24
24
|
|
|
25
25
|
> Moving [Grubbs' test][grubbs-test] for outliers.
|
|
26
26
|
|
|
@@ -36,7 +36,7 @@ For a window of size `W`, the [Grubbs' test][grubbs-test] statistic for a two-si
|
|
|
36
36
|
<!-- <equation class="equation" label="eq:grubbs_test_statistic" align="center" raw="G = \frac{\max_{i=0,\ldots,W-1} |Y_i - \bar{Y}|}{s}" alt="Grubbs' test statistic."> -->
|
|
37
37
|
|
|
38
38
|
<div class="equation" align="center" data-raw-text="G = \frac{\max_{i=0,\ldots,W-1} |Y_i - \bar{Y}|}{s}" data-equation="eq:grubbs_test_statistic">
|
|
39
|
-
<img src="https://cdn.
|
|
39
|
+
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@d157db87026794d6fab579039be09a8916cad4e0/lib/node_modules/@stdlib/stats/incr/mgrubbs/docs/img/equation_grubbs_test_statistic.svg" alt="Grubbs' test statistic.">
|
|
40
40
|
<br>
|
|
41
41
|
</div>
|
|
42
42
|
|
|
@@ -49,7 +49,7 @@ The [Grubbs' test][grubbs-test] statistic for the alternative hypothesis that th
|
|
|
49
49
|
<!-- <equation class="equation" label="eq:grubbs_test_statistic_min" align="center" raw="G = \frac{\bar{Y} - Y_{\textrm{min}}}{s}" alt="Grubbs' test statistic for testing whether the minimum value is an outlier."> -->
|
|
50
50
|
|
|
51
51
|
<div class="equation" align="center" data-raw-text="G = \frac{\bar{Y} - Y_{\textrm{min}}}{s}" data-equation="eq:grubbs_test_statistic_min">
|
|
52
|
-
<img src="https://cdn.
|
|
52
|
+
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@d157db87026794d6fab579039be09a8916cad4e0/lib/node_modules/@stdlib/stats/incr/mgrubbs/docs/img/equation_grubbs_test_statistic_min.svg" alt="Grubbs' test statistic for testing whether the minimum value is an outlier.">
|
|
53
53
|
<br>
|
|
54
54
|
</div>
|
|
55
55
|
|
|
@@ -60,7 +60,7 @@ The [Grubbs' test][grubbs-test] statistic for the alternative hypothesis that th
|
|
|
60
60
|
<!-- <equation class="equation" label="eq:grubbs_test_statistic_max" align="center" raw="G = \frac{Y_{\textrm{max}} - \bar{Y}}{s}" alt="Grubbs' test statistic for testing whether the maximum value is an outlier."> -->
|
|
61
61
|
|
|
62
62
|
<div class="equation" align="center" data-raw-text="G = \frac{Y_{\textrm{max}} - \bar{Y}}{s}" data-equation="eq:grubbs_test_statistic_max">
|
|
63
|
-
<img src="https://cdn.
|
|
63
|
+
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@d157db87026794d6fab579039be09a8916cad4e0/lib/node_modules/@stdlib/stats/incr/mgrubbs/docs/img/equation_grubbs_test_statistic_max.svg" alt="Grubbs' test statistic for testing whether the maximum value is an outlier.">
|
|
64
64
|
<br>
|
|
65
65
|
</div>
|
|
66
66
|
|
|
@@ -71,7 +71,7 @@ For a two-sided test, the hypothesis that a dataset does **not** contain an outl
|
|
|
71
71
|
<!-- <equation class="equation" label="eq:grubbs_test_two_sided" align="center" raw="G > \frac{W-1}{\sqrt{W}} \sqrt{\frac{t^2_{\alpha/(2W),W-2}}{W - 2 + t^2_{\alpha/(2W),W-2}}}" alt="Two-sided Grubbs' test."> -->
|
|
72
72
|
|
|
73
73
|
<div class="equation" align="center" data-raw-text="G > \frac{W-1}{\sqrt{W}} \sqrt{\frac{t^2_{\alpha/(2W),W-2}}{W - 2 + t^2_{\alpha/(2W),W-2}}}" data-equation="eq:grubbs_test_two_sided">
|
|
74
|
-
<img src="https://cdn.
|
|
74
|
+
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@d157db87026794d6fab579039be09a8916cad4e0/lib/node_modules/@stdlib/stats/incr/mgrubbs/docs/img/equation_grubbs_test_two_sided.svg" alt="Two-sided Grubbs' test.">
|
|
75
75
|
<br>
|
|
76
76
|
</div>
|
|
77
77
|
|
|
@@ -84,7 +84,7 @@ For a one-sided test, the hypothesis that a dataset does **not** contain an outl
|
|
|
84
84
|
<!-- <equation class="equation" label="eq:grubbs_test_one_sided" align="center" raw="G > \frac{W-1}{\sqrt{W}} \sqrt{\frac{t^2_{\alpha/W,W-2}}{W - 2 + t^2_{\alpha/W,W-2}}}" alt="One-sided Grubbs' test."> -->
|
|
85
85
|
|
|
86
86
|
<div class="equation" align="center" data-raw-text="G > \frac{W-1}{\sqrt{W}} \sqrt{\frac{t^2_{\alpha/W,W-2}}{W - 2 + t^2_{\alpha/W,W-2}}}" data-equation="eq:grubbs_test_one_sided">
|
|
87
|
-
<img src="https://cdn.
|
|
87
|
+
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@d157db87026794d6fab579039be09a8916cad4e0/lib/node_modules/@stdlib/stats/incr/mgrubbs/docs/img/equation_grubbs_test_one_sided.svg" alt="One-sided Grubbs' test.">
|
|
88
88
|
<br>
|
|
89
89
|
</div>
|
|
90
90
|
|
|
@@ -255,6 +255,22 @@ for ( i = 0; i < data.length; i++ ) {
|
|
|
255
255
|
|
|
256
256
|
<!-- /.references -->
|
|
257
257
|
|
|
258
|
+
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
|
|
259
|
+
|
|
260
|
+
<section class="related">
|
|
261
|
+
|
|
262
|
+
* * *
|
|
263
|
+
|
|
264
|
+
## See Also
|
|
265
|
+
|
|
266
|
+
- <span class="package-name">[`@stdlib/stats/incr/grubbs`][@stdlib/stats/incr/grubbs]</span><span class="delimiter">: </span><span class="description">grubbs' test for outliers.</span>
|
|
267
|
+
|
|
268
|
+
</section>
|
|
269
|
+
|
|
270
|
+
<!-- /.related -->
|
|
271
|
+
|
|
272
|
+
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
|
|
273
|
+
|
|
258
274
|
|
|
259
275
|
<section class="main-repo" >
|
|
260
276
|
|
|
@@ -266,6 +282,10 @@ This package is part of [stdlib][stdlib], a standard library for JavaScript and
|
|
|
266
282
|
|
|
267
283
|
For more information on the project, filing bug reports and feature requests, and guidance on how to develop [stdlib][stdlib], see the main project [repository][stdlib].
|
|
268
284
|
|
|
285
|
+
#### Community
|
|
286
|
+
|
|
287
|
+
[![Chat][chat-image]][chat-url]
|
|
288
|
+
|
|
269
289
|
---
|
|
270
290
|
|
|
271
291
|
## License
|
|
@@ -275,7 +295,7 @@ See [LICENSE][stdlib-license].
|
|
|
275
295
|
|
|
276
296
|
## Copyright
|
|
277
297
|
|
|
278
|
-
Copyright © 2016-
|
|
298
|
+
Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors].
|
|
279
299
|
|
|
280
300
|
</section>
|
|
281
301
|
|
|
@@ -294,9 +314,23 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
294
314
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/stats-incr-mgrubbs/main.svg
|
|
295
315
|
[coverage-url]: https://codecov.io/github/stdlib-js/stats-incr-mgrubbs?branch=main
|
|
296
316
|
|
|
297
|
-
|
|
317
|
+
<!--
|
|
318
|
+
|
|
319
|
+
[dependencies-image]: https://img.shields.io/david/stdlib-js/stats-incr-mgrubbs.svg
|
|
298
320
|
[dependencies-url]: https://david-dm.org/stdlib-js/stats-incr-mgrubbs/main
|
|
299
321
|
|
|
322
|
+
-->
|
|
323
|
+
|
|
324
|
+
[umd]: https://github.com/umdjs/umd
|
|
325
|
+
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
326
|
+
|
|
327
|
+
[deno-url]: https://github.com/stdlib-js/stats-incr-mgrubbs/tree/deno
|
|
328
|
+
[umd-url]: https://github.com/stdlib-js/stats-incr-mgrubbs/tree/umd
|
|
329
|
+
[esm-url]: https://github.com/stdlib-js/stats-incr-mgrubbs/tree/esm
|
|
330
|
+
|
|
331
|
+
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
|
|
332
|
+
[chat-url]: https://gitter.im/stdlib-js/stdlib/
|
|
333
|
+
|
|
300
334
|
[stdlib]: https://github.com/stdlib-js/stdlib
|
|
301
335
|
|
|
302
336
|
[stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors
|
|
@@ -309,6 +343,12 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
309
343
|
|
|
310
344
|
[@grubbs:1969a]: https://doi.org/10.1080/00401706.1969.10490657
|
|
311
345
|
|
|
346
|
+
<!-- <related-links> -->
|
|
347
|
+
|
|
348
|
+
[@stdlib/stats/incr/grubbs]: https://www.npmjs.com/package/@stdlib/stats-incr-grubbs
|
|
349
|
+
|
|
350
|
+
<!-- </related-links> -->
|
|
351
|
+
|
|
312
352
|
</section>
|
|
313
353
|
|
|
314
354
|
<!-- /.links -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/stats-incr-mgrubbs",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"description": "Moving Grubbs' test for outliers.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -15,6 +15,8 @@
|
|
|
15
15
|
],
|
|
16
16
|
"main": "./lib",
|
|
17
17
|
"directories": {
|
|
18
|
+
"benchmark": "./benchmark",
|
|
19
|
+
"doc": "./docs",
|
|
18
20
|
"example": "./examples",
|
|
19
21
|
"lib": "./lib",
|
|
20
22
|
"test": "./test"
|
|
@@ -26,7 +28,7 @@
|
|
|
26
28
|
"examples": "make examples",
|
|
27
29
|
"benchmark": "make benchmark"
|
|
28
30
|
},
|
|
29
|
-
"homepage": "https://
|
|
31
|
+
"homepage": "https://stdlib.io",
|
|
30
32
|
"repository": {
|
|
31
33
|
"type": "git",
|
|
32
34
|
"url": "git://github.com/stdlib-js/stats-incr-mgrubbs.git"
|