diff --git a/lib/node_modules/@stdlib/stats/incr/nanskewness/README.md b/lib/node_modules/@stdlib/stats/incr/nanskewness/README.md
new file mode 100644
index 000000000000..b6cb3f274099
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/incr/nanskewness/README.md
@@ -0,0 +1,182 @@
+
+
+# incrnanskewness
+
+> Compute a [corrected sample skewness][sample-skewness] incrementally, ignoring `NaN` values.
+
+
+
+The [skewness][sample-skewness] for a random variable `X` is defined as
+
+
+
+```math
+\mathop{\mathrm{Skewness}}[X] = \mathrm{E}\biggl[ \biggl( \frac{X - \mu}{\sigma} \biggr)^3 \biggr]
+```
+
+
+
+
+
+For a sample of `n` values, the [sample skewness][sample-skewness] is
+
+
+
+```math
+b_1 = \frac{m_3}{s^3} = \frac{\frac{1}{n} \sum_{i=0}^{n-1} (x_i - \bar{x})^3}{\biggl( \frac{1}{n-1} \sum_{i=0}^{n-1} (x_i - \bar{x})^2 \biggr)^{3/2}}
+```
+
+
+
+
+
+where `m_3` is the sample third central moment and `s` is the sample standard deviation.
+
+An alternative definition for the [sample skewness][sample-skewness] which includes an adjustment factor (and is the implemented definition) is
+
+
+
+```math
+G_1 = \frac{n^2}{(n-1)(n-2)} \frac{m_3}{s^3} = \frac{\sqrt{n(n-1)}}{n-2} \frac{\frac{1}{n} \sum_{i=0}^{n-1} (x_i - \bar{x})^3}{\biggl( \frac{1}{n} \sum_{i=0}^{n-1} (x_i - \bar{x})^2 \biggr)^{3/2}}
+```
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var incrnanskewness = require( '@stdlib/stats/incr/nanskewness' );
+```
+
+#### incrnanskewness()
+
+Returns an accumulator function which incrementally computes a [corrected sample skewness][sample-skewness], ignoring `NaN` values.
+
+```javascript
+var accumulator = incrnanskewness();
+```
+
+#### accumulator( \[x] )
+
+If provided an input value `x`, the accumulator function returns an updated [corrected sample skewness][sample-skewness]. If not provided an input value `x`, the accumulator function returns the current [corrected sample skewness][sample-skewness].
+
+```javascript
+var accumulator = incrnanskewness();
+
+var skewness = accumulator();
+// returns null
+
+skewness = accumulator( 2.0 );
+// returns null
+
+skewness = accumulator( -5.0 );
+// returns null
+
+skewness = accumulator( -10.0 );
+// returns ~0.492
+
+skewness = accumulator( NaN );
+// returns ~0.492
+
+skewness = accumulator();
+// returns ~0.492
+```
+
+
+
+
+
+
+
+## Notes
+
+- Input values are **not** type checked. If non-numeric inputs are possible, you are advised to type check and handle accordingly **before** passing the value to the accumulator function.
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var uniform = require( '@stdlib/random/base/uniform' );
+var bernoulli = require( '@stdlib/random/base/bernoulli' );
+var incrnanskewness = require( '@stdlib/stats/incr/nanskewness' );
+
+// Initialize an accumulator:
+var accumulator = incrnanskewness();
+
+// For each simulated datum, update the corrected sample skewness...
+var i;
+for ( i = 0; i < 100; i++ ) {
+ accumulator( ( bernoulli( 0.8 ) < 1 ) ? NaN : uniform( 0.0, 100.0 ) );
+}
+console.log( accumulator() );
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[sample-skewness]: https://en.wikipedia.org/wiki/Skewness
+
+
+
+
diff --git a/lib/node_modules/@stdlib/stats/incr/nanskewness/benchmark/benchmark.js b/lib/node_modules/@stdlib/stats/incr/nanskewness/benchmark/benchmark.js
new file mode 100644
index 000000000000..3d123502f012
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/incr/nanskewness/benchmark/benchmark.js
@@ -0,0 +1,69 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var randu = require( '@stdlib/random/base/randu' );
+var pkg = require( './../package.json' ).name;
+var incrnanskewness = require( './../lib' );
+
+
+// MAIN //
+
+bench( pkg, function benchmark( b ) {
+ var f;
+ var i;
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ f = incrnanskewness();
+ if ( typeof f !== 'function' ) {
+ b.fail( 'should return a function' );
+ }
+ }
+ b.toc();
+ if ( typeof f !== 'function' ) {
+ b.fail( 'should return a function' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
+
+bench( pkg+'::accumulator', function benchmark( b ) {
+ var acc;
+ var v;
+ var i;
+
+ acc = incrnanskewness();
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = acc( randu() );
+ if ( v !== v ) {
+ b.fail( 'should not return NaN' );
+ }
+ }
+ b.toc();
+ if ( v !== v ) {
+ b.fail( 'should not return NaN' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+});
diff --git a/lib/node_modules/@stdlib/stats/incr/nanskewness/docs/img/equation_adjusted_sample_skewness.svg b/lib/node_modules/@stdlib/stats/incr/nanskewness/docs/img/equation_adjusted_sample_skewness.svg
new file mode 100644
index 000000000000..3277353af222
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/incr/nanskewness/docs/img/equation_adjusted_sample_skewness.svg
@@ -0,0 +1,171 @@
+
\ No newline at end of file
diff --git a/lib/node_modules/@stdlib/stats/incr/nanskewness/docs/img/equation_sample_skewness.svg b/lib/node_modules/@stdlib/stats/incr/nanskewness/docs/img/equation_sample_skewness.svg
new file mode 100644
index 000000000000..147334d80f8b
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/incr/nanskewness/docs/img/equation_sample_skewness.svg
@@ -0,0 +1,131 @@
+
\ No newline at end of file
diff --git a/lib/node_modules/@stdlib/stats/incr/nanskewness/docs/img/equation_skewness.svg b/lib/node_modules/@stdlib/stats/incr/nanskewness/docs/img/equation_skewness.svg
new file mode 100644
index 000000000000..45650ae35b70
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/incr/nanskewness/docs/img/equation_skewness.svg
@@ -0,0 +1,59 @@
+
\ No newline at end of file
diff --git a/lib/node_modules/@stdlib/stats/incr/nanskewness/docs/repl.txt b/lib/node_modules/@stdlib/stats/incr/nanskewness/docs/repl.txt
new file mode 100644
index 000000000000..7fe86cb98a03
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/incr/nanskewness/docs/repl.txt
@@ -0,0 +1,30 @@
+
+{{alias}}()
+ Returns an accumulator function which incrementally computes a corrected
+ sample skewness, ignoring `NaN` values.
+
+ If provided a value, the accumulator function returns an updated corrected
+ sample skewness. If not provided a value, the accumulator function returns
+ the current corrected sample skewness.
+
+ Returns
+ -------
+ acc: Function
+ Accumulator function.
+
+ Examples
+ --------
+ > var acc = {{alias}}();
+ > var v = acc( 2.0 )
+ null
+ > v = acc( -5.0 )
+ null
+ > v = acc( -10.0 )
+ ~0.492
+ > v = acc( NaN )
+ ~0.492
+ > v = acc()
+ ~0.492
+
+ See Also
+ --------
diff --git a/lib/node_modules/@stdlib/stats/incr/nanskewness/docs/types/index.d.ts b/lib/node_modules/@stdlib/stats/incr/nanskewness/docs/types/index.d.ts
new file mode 100644
index 000000000000..8e3cb39de9fa
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/incr/nanskewness/docs/types/index.d.ts
@@ -0,0 +1,66 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+///
+
+/**
+* If provided a value, the accumulator function returns an updated corrected sample skewness. If not provided a value, the accumulator function returns the current corrected sample skewness.
+*
+* @param x - value
+* @returns corrected sample skewness or null
+*/
+type accumulator = ( x?: number ) => number | null;
+
+/**
+* Returns an accumulator function which incrementally computes a corrected sample skewness, ignoring `NaN` values.
+*
+* ## Notes
+*
+* - If provided a value, the accumulator function returns an updated corrected sample skewness. If not provided a value, the accumulator function returns the current corrected sample skewness.
+*
+* @returns accumulator function
+*
+* @example
+* var accumulator = incrnanskewness();
+*
+* var skewness = accumulator();
+* // returns null
+*
+* skewness = accumulator( 2.0 );
+* // returns null
+*
+* skewness = accumulator( -5.0 );
+* // returns null
+*
+* skewness = accumulator( -10.0 );
+* // returns ~0.492
+*
+* skewness = accumulator( NaN );
+* // returns ~0.492
+*
+* skewness = accumulator();
+* // returns ~0.492
+*/
+declare function incrnanskewness(): accumulator;
+
+
+// EXPORTS //
+
+export = incrnanskewness;
diff --git a/lib/node_modules/@stdlib/stats/incr/nanskewness/docs/types/test.ts b/lib/node_modules/@stdlib/stats/incr/nanskewness/docs/types/test.ts
new file mode 100644
index 000000000000..9f60c23e7bd7
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/incr/nanskewness/docs/types/test.ts
@@ -0,0 +1,61 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import incrnanskewness = require( './index' );
+
+
+// TESTS //
+
+// The function returns an accumulator function...
+{
+ incrnanskewness(); // $ExpectType accumulator
+}
+
+// The compiler throws an error if the function is provided invalid arguments...
+{
+ incrnanskewness( '5' ); // $ExpectError
+ incrnanskewness( true ); // $ExpectError
+ incrnanskewness( false ); // $ExpectError
+ incrnanskewness( null ); // $ExpectError
+ incrnanskewness( [] ); // $ExpectError
+ incrnanskewness( {} ); // $ExpectError
+ incrnanskewness( ( x: number ): number => x ); // $ExpectError
+}
+
+// The function returns an accumulator function which returns an accumulated result...
+{
+ const acc = incrnanskewness();
+
+ acc(); // $ExpectType number | null
+ acc( 2 ); // $ExpectType number | null
+ acc( -5 ); // $ExpectType number | null
+ acc( 10 ); // $ExpectType number | null
+}
+
+// The compiler throws an error if the returned accumulator function is provided invalid arguments...
+{
+ const acc = incrnanskewness();
+
+ acc( '5' ); // $ExpectError
+ acc( true ); // $ExpectError
+ acc( false ); // $ExpectError
+ acc( null ); // $ExpectError
+ acc( [] ); // $ExpectError
+ acc( {} ); // $ExpectError
+ acc( ( x: number ): number => x ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/stats/incr/nanskewness/examples/index.js b/lib/node_modules/@stdlib/stats/incr/nanskewness/examples/index.js
new file mode 100644
index 000000000000..4c167e7ae199
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/incr/nanskewness/examples/index.js
@@ -0,0 +1,44 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var bernoulli = require( '@stdlib/random/base/bernoulli' );
+var uniform = require( '@stdlib/random/base/uniform' );
+var isnan = require( '@stdlib/math/base/assert/is-nan' );
+var incrnanskewness = require( './../lib' );
+
+// Initialize an accumulator:
+var accumulator = incrnanskewness();
+
+// For each simulated datum, update the corrected sample skewness...
+console.log( '\nValue\tSkewness\n' );
+
+var skewness;
+var v;
+var i;
+for ( i = 0; i < 100; i++ ) {
+ v = ( bernoulli( 0.8 ) < 1 ) ? NaN : uniform( 0.0, 100.0 );
+ skewness = accumulator( v );
+ if ( skewness === null ) {
+ console.log( '%d\t%s', v.toFixed( 4 ), skewness );
+ } else {
+ console.log( '%d\t%d', ( isnan( v ) ) ? NaN : v.toFixed( 4 ), skewness.toFixed( 4 ) );
+ }
+}
+console.log( '\nFinal skewness: %d\n', accumulator() );
diff --git a/lib/node_modules/@stdlib/stats/incr/nanskewness/lib/index.js b/lib/node_modules/@stdlib/stats/incr/nanskewness/lib/index.js
new file mode 100644
index 000000000000..8bd16488520c
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/incr/nanskewness/lib/index.js
@@ -0,0 +1,57 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* Compute a corrected sample skewness incrementally, ignoring `NaN` values.
+*
+* @module @stdlib/stats/incr/nanskewness
+*
+* @example
+* var incrnanskewness = require( '@stdlib/stats/incr/nanskewness' );
+*
+* var accumulator = incrnanskewness();
+*
+* var skewness = accumulator();
+* // returns null
+*
+* skewness = accumulator( 2.0 );
+* // returns null
+*
+* skewness = accumulator( -5.0 );
+* // returns null
+*
+* skewness = accumulator( -10.0 );
+* // returns ~0.492
+*
+* skewness = accumulator( NaN );
+* // returns ~0.492
+*
+* skewness = accumulator();
+* // returns ~0.492
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/stats/incr/nanskewness/lib/main.js b/lib/node_modules/@stdlib/stats/incr/nanskewness/lib/main.js
new file mode 100644
index 000000000000..a506f7b3ea57
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/incr/nanskewness/lib/main.js
@@ -0,0 +1,77 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var isnan = require( '@stdlib/math/base/assert/is-nan' );
+var incrskewness = require( '@stdlib/stats/incr/skewness' );
+
+
+// MAIN //
+
+/**
+* Returns an accumulator function which incrementally computes a corrected sample skewness, ignoring `NaN` values.
+*
+* @returns {Function} accumulator function
+*
+* @example
+* var accumulator = incrnanskewness();
+*
+* var skewness = accumulator();
+* // returns null
+*
+* skewness = accumulator( 2.0 );
+* // returns null
+*
+* skewness = accumulator( -5.0 );
+* // returns null
+*
+* skewness = accumulator( -10.0 );
+* // returns ~0.492
+*
+* skewness = accumulator( NaN );
+* // returns ~0.492
+*
+* skewness = accumulator();
+* // returns ~0.492
+*/
+function incrnanskewness() {
+ var skewness = incrskewness();
+ return accumulator;
+
+ /**
+ * If provided a value, the accumulator function returns an updated corrected sample skewness. If not provided a value, the accumulator function returns the current corrected sample skewness.
+ *
+ * @private
+ * @param {number} [x] - new value
+ * @returns {(number|null)} corrected sample skewness or null
+ */
+ function accumulator( x ) {
+ if ( arguments.length === 0 || isnan( x ) ) {
+ return skewness();
+ }
+ return skewness( x );
+ }
+}
+
+
+// EXPORTS //
+
+module.exports = incrnanskewness;
diff --git a/lib/node_modules/@stdlib/stats/incr/nanskewness/package.json b/lib/node_modules/@stdlib/stats/incr/nanskewness/package.json
new file mode 100644
index 000000000000..053fda3d4e3f
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/incr/nanskewness/package.json
@@ -0,0 +1,65 @@
+{
+ "name": "@stdlib/stats/incr/nanskewness",
+ "version": "0.0.0",
+ "description": "Compute a corrected sample skewness incrementally, ignoring NaN values.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "stdmath",
+ "statistics",
+ "stats",
+ "mathematics",
+ "math",
+ "skewness",
+ "sample skewness",
+ "shape",
+ "corrected",
+ "incremental",
+ "accumulator"
+ ]
+}
diff --git a/lib/node_modules/@stdlib/stats/incr/nanskewness/test/test.js b/lib/node_modules/@stdlib/stats/incr/nanskewness/test/test.js
new file mode 100644
index 000000000000..a4144f3c5d71
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/incr/nanskewness/test/test.js
@@ -0,0 +1,122 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var abs = require( '@stdlib/math/base/special/abs' );
+var EPS = require( '@stdlib/constants/float64/eps' );
+var incrnanskewness = require( './../lib' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof incrnanskewness, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function returns an accumulator function', function test( t ) {
+ t.equal( typeof incrnanskewness(), 'function', 'returns a function' );
+ t.end();
+});
+
+tape( 'the accumulator function incrementally computes a corrected sample skewness', function test( t ) {
+ var expected;
+ var actual;
+ var delta;
+ var data;
+ var acc;
+ var tol;
+ var i;
+
+ data = [ 3.0, 2.0, 7.0, NaN, -1.0, NaN, 9.0 ];
+
+ // Check against the skewness function of the `e1071` R package:
+ expected = [
+ null,
+ null,
+ 1.457862967321305,
+ 1.457862967321305,
+ 0.4366620845757488,
+ 0.4366620845757488,
+ 0.1171875
+ ];
+
+ acc = incrnanskewness();
+ for ( i = 0; i < data.length; i++ ) {
+ actual = acc( data[ i ] );
+ if ( expected[ i ] === null ) {
+ t.equal( actual, expected[i], 'returns null' );
+ } else {
+ delta = abs( actual - expected[ i ] );
+ tol = 1.5 * EPS * abs( expected[ i ] );
+ t.ok( delta <= tol, 'within tolerance. actual: '+actual+'. E: '+expected[i]+' Δ: '+delta+'. tol: '+tol );
+ }
+ }
+ t.end();
+});
+
+tape( 'if not provided an input value, the accumulator function returns the current corrected sample skewness', function test( t ) {
+ var expected;
+ var actual;
+ var delta;
+ var data;
+ var acc;
+ var tol;
+ var i;
+
+ data = [ 1.0, 4.0, 1.0, NaN, 0.0, 2.0, 12.0 ];
+ acc = incrnanskewness();
+ for ( i = 0; i < data.length; i++ ) {
+ acc( data[ i ] );
+ }
+ expected = 1.986829609590966;
+ actual = acc();
+ delta = abs( actual - expected );
+ tol = EPS * abs( expected );
+ t.ok( delta <= tol, 'within tolerance. actual: '+actual+'. E: '+expected+' Δ: '+delta+'. tol: '+tol );
+ t.end();
+});
+
+tape( 'the corrected sample skewness is `null` until at least 3 datums have been provided', function test( t ) {
+ var skewness;
+ var acc;
+
+ acc = incrnanskewness();
+
+ skewness = acc();
+ t.equal( skewness, null, 'returns expected value' );
+
+ skewness = acc( 2.0 );
+ t.equal( skewness, null, 'returns expected value' );
+
+ skewness = acc( 2.0 );
+ t.equal( skewness, null, 'returns expected value' );
+
+ skewness = acc( NaN );
+ t.equal( skewness, null, 'returns expected value' );
+
+ skewness = acc( 3.0 );
+ t.notEqual( skewness, null, 'returns expected value' );
+
+ t.end();
+});