We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6ca374 commit 620386cCopy full SHA for 620386c
lib/node_modules/@stdlib/stats/incr/nanmeanabs/README.md
@@ -111,11 +111,10 @@ var incrnanmeanabs = require( '@stdlib/stats/incr/nanmeanabs' );
111
var accumulator = incrnanmeanabs();
112
113
// For each simulated datum, update the mean...
114
-var v;
115
var i;
116
117
for ( i = 0; i < 100; i++ ) {
118
- accumulator( ( bernoulli( 0.8 ) < 1 ) ? NaN : uniform( 0.0, 100.0 ) );
+ accumulator( ( bernoulli( 0.8 ) < 1 ) ? NaN : uniform( -100.0, 100.0 ) );
119
}
120
console.log( accumulator() );
121
```
0 commit comments