Skip to content

Commit 0d16b0c

Browse files
fixes
1 parent a97ba81 commit 0d16b0c

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

lib/node_modules/@stdlib/stats/incr/nanmpcorrdist/README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,6 @@ The [sample Pearson product-moment correlation distance][pearson-correlation] is
3232
d_{x,y} = 1 - r_{x,y} = 1 - \frac{\mathop{\mathrm{cov_n(x,y)}}}{\sigma_x \sigma_y}
3333
```
3434

35-
<!-- <div class="equation" align="center" data-raw-text="d_{x,y} = 1 - r_{x,y} = 1 - \frac{\operatorname{cov_n(x,y)}}{\sigma_x \sigma_y}" data-equation="eq:pearson_distance">
36-
<img src="https://cdn.jsdelivr.net/gh/stdlib-js/stdlib@49d8cabda84033d55d7b8069f19ee3dd8b8d1496/lib/node_modules/@stdlib/stats/incr/mpcorrdist/docs/img/equation_pearson_distance.svg" alt="Equation for the Pearson product-moment correlation distance.">
37-
<br>
38-
</div> -->
39-
4035
<!-- </equation> -->
4136

4237
where `r` is the [sample Pearson product-moment correlation coefficient][pearson-correlation], `cov(x,y)` is the sample covariance, and `σ` corresponds to the sample standard deviation. As `r` resides on the interval `[-1,1]`, `d` resides on the interval `[0,2]`.
@@ -55,7 +50,7 @@ var incrnanmpcorrdist = require( '@stdlib/stats/incr/nanmpcorrdist' );
5550

5651
#### incrnanmpcorrdist( window\[, mx, my] )
5752

58-
Returns an accumulator `function` which incrementally computes a moving [sample Pearson product-moment correlation distance][pearson-correlation] while ignoring `NaN` values. The `window` parameter defines the number of values over which to compute the moving [sample Pearson product-moment correlation distance][pearson-correlation].
53+
Returns an accumulator `function` which incrementally computes a moving [sample Pearson product-moment correlation distance][pearson-correlation], ignoring `NaN` values. The `window` parameter defines the number of values over which to compute the moving [sample Pearson product-moment correlation distance][pearson-correlation].
5954

6055
```javascript
6156
var accumulator = incrnanmpcorrdist( 3 );

lib/node_modules/@stdlib/stats/incr/nanmpcorrdist/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@stdlib/stats/incr/nanmpcorrdist",
33
"version": "0.0.0",
4-
"description": "Compute a moving sample Pearson product-moment correlation distance incrementally while ignoring `NaN` values.",
4+
"description": "Compute a moving sample Pearson product-moment correlation distance incrementally, ignoring `NaN` values.",
55
"license": "Apache-2.0",
66
"author": {
77
"name": "The Stdlib Authors",

0 commit comments

Comments
 (0)