@stdlib/stats-incr-covmat 0.0.3 → 0.0.7
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 +41 -5
- package/package.json +2 -1
- 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
|
# incrcovmat
|
|
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
|
> Compute an [unbiased sample covariance matrix][covariance-matrix] incrementally.
|
|
26
26
|
|
|
@@ -31,7 +31,7 @@ A [covariance matrix][covariance-matrix] is an M-by-M matrix whose elements spec
|
|
|
31
31
|
<!-- <equation class="equation" label="eq:unbiased_sample_covariance_unknown_means" align="center" raw="\operatorname{cov_{jkn}} = \frac{1}{n-1} \sum_{i=0}^{n-1} (x_{ij} - \bar{x}_{jn})(x_{ik} - \bar{x}_{kn})" alt="Equation for the unbiased sample covariance for unknown population means."> -->
|
|
32
32
|
|
|
33
33
|
<div class="equation" align="center" data-raw-text="\operatorname{cov_{jkn}} = \frac{1}{n-1} \sum_{i=0}^{n-1} (x_{ij} - \bar{x}_{jn})(x_{ik} - \bar{x}_{kn})" data-equation="eq:unbiased_sample_covariance_unknown_means">
|
|
34
|
-
<img src="https://cdn.
|
|
34
|
+
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@49d8cabda84033d55d7b8069f19ee3dd8b8d1496/lib/node_modules/@stdlib/stats/incr/covmat/docs/img/equation_unbiased_sample_covariance_unknown_means.svg" alt="Equation for the unbiased sample covariance for unknown population means.">
|
|
35
35
|
<br>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
@@ -42,7 +42,7 @@ For known population means, the [unbiased sample covariance][covariance-matrix]
|
|
|
42
42
|
<!-- <equation class="equation" label="eq:unbiased_sample_covariance_known_means" align="center" raw="\operatorname{cov_{jkn}} = \frac{1}{n} \sum_{i=0}^{n-1} (x_{ij} - \mu_{j})(x_{ik} - \mu_{k})" alt="Equation for the unbiased sample covariance for known population means."> -->
|
|
43
43
|
|
|
44
44
|
<div class="equation" align="center" data-raw-text="\operatorname{cov_{jkn}} = \frac{1}{n} \sum_{i=0}^{n-1} (x_{ij} - \mu_{j})(x_{ik} - \mu_{k})" data-equation="eq:unbiased_sample_covariance_known_means">
|
|
45
|
-
<img src="https://cdn.
|
|
45
|
+
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@566f739b0d9a5b720546f84f74de841b8d5e0c54/lib/node_modules/@stdlib/stats/incr/covmat/docs/img/equation_unbiased_sample_covariance_known_means.svg" alt="Equation for the unbiased sample covariance for known population means.">
|
|
46
46
|
<br>
|
|
47
47
|
</div>
|
|
48
48
|
|
|
@@ -216,6 +216,23 @@ for ( i = 0; i < 100; i++ ) {
|
|
|
216
216
|
|
|
217
217
|
<!-- /.examples -->
|
|
218
218
|
|
|
219
|
+
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
|
|
220
|
+
|
|
221
|
+
<section class="related">
|
|
222
|
+
|
|
223
|
+
* * *
|
|
224
|
+
|
|
225
|
+
## See Also
|
|
226
|
+
|
|
227
|
+
- <span class="package-name">[`@stdlib/stats/incr/covariance`][@stdlib/stats/incr/covariance]</span><span class="delimiter">: </span><span class="description">compute an unbiased sample covariance incrementally.</span>
|
|
228
|
+
- <span class="package-name">[`@stdlib/stats/incr/pcorrmat`][@stdlib/stats/incr/pcorrmat]</span><span class="delimiter">: </span><span class="description">compute a sample Pearson product-moment correlation matrix incrementally.</span>
|
|
229
|
+
|
|
230
|
+
</section>
|
|
231
|
+
|
|
232
|
+
<!-- /.related -->
|
|
233
|
+
|
|
234
|
+
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
|
|
235
|
+
|
|
219
236
|
|
|
220
237
|
<section class="main-repo" >
|
|
221
238
|
|
|
@@ -240,7 +257,7 @@ See [LICENSE][stdlib-license].
|
|
|
240
257
|
|
|
241
258
|
## Copyright
|
|
242
259
|
|
|
243
|
-
Copyright © 2016-
|
|
260
|
+
Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors].
|
|
244
261
|
|
|
245
262
|
</section>
|
|
246
263
|
|
|
@@ -259,9 +276,20 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
259
276
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/stats-incr-covmat/main.svg
|
|
260
277
|
[coverage-url]: https://codecov.io/github/stdlib-js/stats-incr-covmat?branch=main
|
|
261
278
|
|
|
279
|
+
<!--
|
|
280
|
+
|
|
262
281
|
[dependencies-image]: https://img.shields.io/david/stdlib-js/stats-incr-covmat.svg
|
|
263
282
|
[dependencies-url]: https://david-dm.org/stdlib-js/stats-incr-covmat/main
|
|
264
283
|
|
|
284
|
+
-->
|
|
285
|
+
|
|
286
|
+
[umd]: https://github.com/umdjs/umd
|
|
287
|
+
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
288
|
+
|
|
289
|
+
[deno-url]: https://github.com/stdlib-js/stats-incr-covmat/tree/deno
|
|
290
|
+
[umd-url]: https://github.com/stdlib-js/stats-incr-covmat/tree/umd
|
|
291
|
+
[esm-url]: https://github.com/stdlib-js/stats-incr-covmat/tree/esm
|
|
292
|
+
|
|
265
293
|
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
|
|
266
294
|
[chat-url]: https://gitter.im/stdlib-js/stdlib/
|
|
267
295
|
|
|
@@ -273,7 +301,15 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
273
301
|
|
|
274
302
|
[covariance-matrix]: https://en.wikipedia.org/wiki/Covariance_matrix
|
|
275
303
|
|
|
276
|
-
[@stdlib/ndarray/ctor]: https://
|
|
304
|
+
[@stdlib/ndarray/ctor]: https://www.npmjs.com/package/@stdlib/ndarray-ctor
|
|
305
|
+
|
|
306
|
+
<!-- <related-links> -->
|
|
307
|
+
|
|
308
|
+
[@stdlib/stats/incr/covariance]: https://www.npmjs.com/package/@stdlib/stats-incr-covariance
|
|
309
|
+
|
|
310
|
+
[@stdlib/stats/incr/pcorrmat]: https://www.npmjs.com/package/@stdlib/stats-incr-pcorrmat
|
|
311
|
+
|
|
312
|
+
<!-- </related-links> -->
|
|
277
313
|
|
|
278
314
|
</section>
|
|
279
315
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/stats-incr-covmat",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"description": "Compute an unbiased sample covariance matrix incrementally.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
],
|
|
16
16
|
"main": "./lib",
|
|
17
17
|
"directories": {
|
|
18
|
+
"benchmark": "./benchmark",
|
|
18
19
|
"doc": "./docs",
|
|
19
20
|
"example": "./examples",
|
|
20
21
|
"lib": "./lib",
|