@stdlib/stats-incr-pcorrmat 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 +44 -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
|
# incrpcorrmat
|
|
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 a [sample Pearson product-moment correlation matrix][pearson-correlation] incrementally.
|
|
26
26
|
|
|
@@ -31,7 +31,7 @@ A [Pearson product-moment correlation matrix][pearson-correlation] is an M-by-M
|
|
|
31
31
|
<!-- <equation class="equation" label="eq:pearson_correlation_coefficient" align="center" raw="\rho_{X,Y} = \frac{\operatorname{cov}(X,Y)}{\sigma_X \sigma_Y}" alt="Equation for the Pearson product-moment correlation coefficient."> -->
|
|
32
32
|
|
|
33
33
|
<div class="equation" align="center" data-raw-text="\rho_{X,Y} = \frac{\operatorname{cov}(X,Y)}{\sigma_X \sigma_Y}" data-equation="eq:pearson_correlation_coefficient">
|
|
34
|
-
<img src="https://cdn.
|
|
34
|
+
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@49d8cabda84033d55d7b8069f19ee3dd8b8d1496/lib/node_modules/@stdlib/stats/incr/pcorrmat/docs/img/equation_pearson_correlation_coefficient.svg" alt="Equation for the Pearson product-moment correlation coefficient.">
|
|
35
35
|
<br>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
@@ -44,7 +44,7 @@ For a sample of size `n`, the [sample Pearson product-moment correlation coeffic
|
|
|
44
44
|
<!-- <equation class="equation" label="eq:sample_pearson_correlation_coefficient" align="center" raw="r = \frac{\sum_{i=0}^{n-1} (x_i - \bar{x})(y_i - \bar{y})}{\sqrt{\sum_{i=0}^{n-1} (x_i - \bar{x})^2} \sqrt{\sum_{i=0}^{n-1} (y_i - \bar{y})^2}}" alt="Equation for the sample Pearson product-moment correlation coefficient."> -->
|
|
45
45
|
|
|
46
46
|
<div class="equation" align="center" data-raw-text="r = \frac{\sum_{i=0}^{n-1} (x_i - \bar{x})(y_i - \bar{y})}{\sqrt{\sum_{i=0}^{n-1} (x_i - \bar{x})^2} \sqrt{\sum_{i=0}^{n-1} (y_i - \bar{y})^2}}" data-equation="eq:sample_pearson_correlation_coefficient">
|
|
47
|
-
<img src="https://cdn.
|
|
47
|
+
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@49d8cabda84033d55d7b8069f19ee3dd8b8d1496/lib/node_modules/@stdlib/stats/incr/pcorrmat/docs/img/equation_sample_pearson_correlation_coefficient.svg" alt="Equation for the sample Pearson product-moment correlation coefficient.">
|
|
48
48
|
<br>
|
|
49
49
|
</div>
|
|
50
50
|
|
|
@@ -218,6 +218,24 @@ for ( i = 0; i < 100; i++ ) {
|
|
|
218
218
|
|
|
219
219
|
<!-- /.examples -->
|
|
220
220
|
|
|
221
|
+
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
|
|
222
|
+
|
|
223
|
+
<section class="related">
|
|
224
|
+
|
|
225
|
+
* * *
|
|
226
|
+
|
|
227
|
+
## See Also
|
|
228
|
+
|
|
229
|
+
- <span class="package-name">[`@stdlib/stats/incr/covmat`][@stdlib/stats/incr/covmat]</span><span class="delimiter">: </span><span class="description">compute an unbiased sample covariance matrix incrementally.</span>
|
|
230
|
+
- <span class="package-name">[`@stdlib/stats/incr/pcorr`][@stdlib/stats/incr/pcorr]</span><span class="delimiter">: </span><span class="description">compute a sample Pearson product-moment correlation coefficient.</span>
|
|
231
|
+
- <span class="package-name">[`@stdlib/stats/incr/pcorrdistmat`][@stdlib/stats/incr/pcorrdistmat]</span><span class="delimiter">: </span><span class="description">compute a sample Pearson product-moment correlation distance matrix incrementally.</span>
|
|
232
|
+
|
|
233
|
+
</section>
|
|
234
|
+
|
|
235
|
+
<!-- /.related -->
|
|
236
|
+
|
|
237
|
+
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
|
|
238
|
+
|
|
221
239
|
|
|
222
240
|
<section class="main-repo" >
|
|
223
241
|
|
|
@@ -242,7 +260,7 @@ See [LICENSE][stdlib-license].
|
|
|
242
260
|
|
|
243
261
|
## Copyright
|
|
244
262
|
|
|
245
|
-
Copyright © 2016-
|
|
263
|
+
Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors].
|
|
246
264
|
|
|
247
265
|
</section>
|
|
248
266
|
|
|
@@ -261,9 +279,20 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
261
279
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/stats-incr-pcorrmat/main.svg
|
|
262
280
|
[coverage-url]: https://codecov.io/github/stdlib-js/stats-incr-pcorrmat?branch=main
|
|
263
281
|
|
|
282
|
+
<!--
|
|
283
|
+
|
|
264
284
|
[dependencies-image]: https://img.shields.io/david/stdlib-js/stats-incr-pcorrmat.svg
|
|
265
285
|
[dependencies-url]: https://david-dm.org/stdlib-js/stats-incr-pcorrmat/main
|
|
266
286
|
|
|
287
|
+
-->
|
|
288
|
+
|
|
289
|
+
[umd]: https://github.com/umdjs/umd
|
|
290
|
+
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
291
|
+
|
|
292
|
+
[deno-url]: https://github.com/stdlib-js/stats-incr-pcorrmat/tree/deno
|
|
293
|
+
[umd-url]: https://github.com/stdlib-js/stats-incr-pcorrmat/tree/umd
|
|
294
|
+
[esm-url]: https://github.com/stdlib-js/stats-incr-pcorrmat/tree/esm
|
|
295
|
+
|
|
267
296
|
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
|
|
268
297
|
[chat-url]: https://gitter.im/stdlib-js/stdlib/
|
|
269
298
|
|
|
@@ -277,7 +306,17 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
277
306
|
|
|
278
307
|
[covariance]: https://en.wikipedia.org/wiki/Covariance
|
|
279
308
|
|
|
280
|
-
[@stdlib/ndarray/ctor]: https://
|
|
309
|
+
[@stdlib/ndarray/ctor]: https://www.npmjs.com/package/@stdlib/ndarray-ctor
|
|
310
|
+
|
|
311
|
+
<!-- <related-links> -->
|
|
312
|
+
|
|
313
|
+
[@stdlib/stats/incr/covmat]: https://www.npmjs.com/package/@stdlib/stats-incr-covmat
|
|
314
|
+
|
|
315
|
+
[@stdlib/stats/incr/pcorr]: https://www.npmjs.com/package/@stdlib/stats-incr-pcorr
|
|
316
|
+
|
|
317
|
+
[@stdlib/stats/incr/pcorrdistmat]: https://www.npmjs.com/package/@stdlib/stats-incr-pcorrdistmat
|
|
318
|
+
|
|
319
|
+
<!-- </related-links> -->
|
|
281
320
|
|
|
282
321
|
</section>
|
|
283
322
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/stats-incr-pcorrmat",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"description": "Compute a sample Pearson product-moment correlation 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",
|