diff --git a/lib/node_modules/@stdlib/stats/base/ndarray/meanpw/README.md b/lib/node_modules/@stdlib/stats/base/ndarray/meanpw/README.md
new file mode 100644
index 000000000000..702bddd2e614
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/base/ndarray/meanpw/README.md
@@ -0,0 +1,129 @@
+
+
+# meanpw
+
+> Compute the [arithmetic mean][arithmetic-mean] of a one-dimensional ndarray using pairwise summation.
+
+
+
+The [arithmetic mean][arithmetic-mean] is defined as
+
+
+
+```math
+\mu = \frac{1}{n} \sum_{i=0}^{n-1} x_i
+```
+
+
+
+
+
+
+
+
+
+
+
+## Usage
+
+```javascript
+var meanpw = require( '@stdlib/stats/base/ndarray/meanpw' );
+```
+
+#### meanpw( arrays )
+
+Computes the [arithmetic mean][arithmetic-mean] of a one-dimensional ndarray using pairwise summation.
+
+```javascript
+var ndarray = require( '@stdlib/ndarray/base/ctor' );
+
+var xbuf = [ 1.0, 3.0, 4.0, 2.0 ];
+var x = new ndarray( 'generic', xbuf, [ 4 ], [ 1 ], 0, 'row-major' );
+
+var v = meanpw( [ x ] );
+// returns 2.5
+```
+
+The function has the following parameters:
+
+- **arrays**: array-like object containing a one-dimensional input ndarray.
+
+
+
+
+
+
+
+## Notes
+
+- If provided an empty one-dimensional ndarray, the function returns `NaN`.
+- In general, pairwise summation is more numerically stable than ordinary recursive summation (i.e., "simple" summation), with slightly worse performance. While not the most numerically stable summation technique (e.g., compensated summation techniques such as the Kahan–Babuška-Neumaier algorithm are generally more numerically stable), pairwise summation strikes a reasonable balance between numerical stability and performance. If either numerical stability or performance is more desirable for your use case, consider alternative summation techniques.
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var discreteUniform = require( '@stdlib/random/array/discrete-uniform' );
+var ndarray = require( '@stdlib/ndarray/base/ctor' );
+var ndarray2array = require( '@stdlib/ndarray/to-array' );
+var meanpw = require( '@stdlib/stats/base/ndarray/meanpw' );
+
+var xbuf = discreteUniform( 10, -50, 50, {
+ 'dtype': 'generic'
+});
+var x = new ndarray( 'generic', xbuf, [ xbuf.length ], [ 1 ], 0, 'row-major' );
+console.log( ndarray2array( x ) );
+
+var v = meanpw( [ x ] );
+console.log( v );
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[arithmetic-mean]: https://en.wikipedia.org/wiki/Arithmetic_mean
+
+
+
+
diff --git a/lib/node_modules/@stdlib/stats/base/ndarray/meanpw/benchmark/benchmark.js b/lib/node_modules/@stdlib/stats/base/ndarray/meanpw/benchmark/benchmark.js
new file mode 100644
index 000000000000..b6231e73b0dd
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/base/ndarray/meanpw/benchmark/benchmark.js
@@ -0,0 +1,102 @@
+/**
+* @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 uniform = require( '@stdlib/random/array/uniform' );
+var isnan = require( '@stdlib/math/base/assert/is-nan' );
+var pow = require( '@stdlib/math/base/special/pow' );
+var ndarray = require( '@stdlib/ndarray/base/ctor' );
+var pkg = require( './../package.json' ).name;
+var meanpw = require( './../lib' );
+
+
+// VARIABLES //
+
+var options = {
+ 'dtype': 'generic'
+};
+
+
+// FUNCTIONS //
+
+/**
+* Creates a benchmark function.
+*
+* @private
+* @param {PositiveInteger} len - array length
+* @returns {Function} benchmark function
+*/
+function createBenchmark( len ) {
+ var xbuf;
+ var x;
+
+ xbuf = uniform( len, -10.0, 10.0, options );
+ x = new ndarray( options.dtype, xbuf, [ len ], [ 1 ], 0, 'row-major' );
+
+ return benchmark;
+
+ function benchmark( b ) {
+ var v;
+ var i;
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ v = meanpw( [ x ] );
+ if ( isnan( v ) ) {
+ b.fail( 'should not return NaN' );
+ }
+ }
+ b.toc();
+ if ( isnan( v ) ) {
+ b.fail( 'should not return NaN' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+ }
+}
+
+
+// MAIN //
+
+/**
+* Main execution sequence.
+*
+* @private
+*/
+function main() {
+ var len;
+ var min;
+ var max;
+ var f;
+ var i;
+
+ min = 1; // 10^min
+ max = 6; // 10^max
+
+ for ( i = min; i <= max; i++ ) {
+ len = pow( 10, i );
+ f = createBenchmark( len );
+ bench( pkg+':len='+len, f );
+ }
+}
+
+main();
diff --git a/lib/node_modules/@stdlib/stats/base/ndarray/meanpw/docs/img/equation_arithmetic_mean.svg b/lib/node_modules/@stdlib/stats/base/ndarray/meanpw/docs/img/equation_arithmetic_mean.svg
new file mode 100644
index 000000000000..c31439606fb6
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/base/ndarray/meanpw/docs/img/equation_arithmetic_mean.svg
@@ -0,0 +1,42 @@
+
\ No newline at end of file
diff --git a/lib/node_modules/@stdlib/stats/base/ndarray/meanpw/docs/repl.txt b/lib/node_modules/@stdlib/stats/base/ndarray/meanpw/docs/repl.txt
new file mode 100644
index 000000000000..c24f2858789a
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/base/ndarray/meanpw/docs/repl.txt
@@ -0,0 +1,32 @@
+
+{{alias}}( arrays )
+ Computes the arithmetic mean of a one-dimensional ndarray using pairwise
+ summation.
+
+ If provided an empty ndarray, the function returns `NaN`.
+
+ Parameters
+ ----------
+ arrays: ArrayLikeObject
+ Array-like object containing a one-dimensional input ndarray.
+
+ Returns
+ -------
+ out: number
+ Arithmetic mean.
+
+ Examples
+ --------
+ > var xbuf = [ 1.0, -2.0, 2.0 ];
+ > var dt = 'generic';
+ > var sh = [ xbuf.length ];
+ > var sx = [ 1 ];
+ > var ox = 0;
+ > var ord = 'row-major';
+ > var x = new {{alias:@stdlib/ndarray/ctor}}( dt, xbuf, sh, sx, ox, ord );
+ > {{alias}}( [ x ] )
+ ~0.3333
+
+ See Also
+ --------
+
diff --git a/lib/node_modules/@stdlib/stats/base/ndarray/meanpw/docs/types/index.d.ts b/lib/node_modules/@stdlib/stats/base/ndarray/meanpw/docs/types/index.d.ts
new file mode 100644
index 000000000000..45b02b8b48e0
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/base/ndarray/meanpw/docs/types/index.d.ts
@@ -0,0 +1,45 @@
+/*
+* @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
+
+///
+
+import { ndarray } from '@stdlib/types/ndarray';
+
+/**
+* Computes the arithmetic mean of a one-dimensional ndarray using pairwise summation.
+*
+* @param arrays - array-like object containing an input ndarray
+* @returns arithmetic mean
+*
+* @example
+* var ndarray = require( '@stdlib/ndarray/base/ctor' );
+*
+* var xbuf = [ 1.0, 3.0, 4.0, 2.0 ];
+* var x = new ndarray( 'generic', xbuf, [ 4 ], [ 1 ], 0, 'row-major' );
+*
+* var v = meanpw( [ x ] );
+* // returns 2.5
+*/
+declare function meanpw( arrays: [ T ] ): number;
+
+
+// EXPORTS //
+
+export = meanpw;
diff --git a/lib/node_modules/@stdlib/stats/base/ndarray/meanpw/docs/types/test.ts b/lib/node_modules/@stdlib/stats/base/ndarray/meanpw/docs/types/test.ts
new file mode 100644
index 000000000000..d9ac198994fb
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/base/ndarray/meanpw/docs/types/test.ts
@@ -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.
+*/
+
+/* eslint-disable space-in-parens */
+
+import zeros = require( '@stdlib/ndarray/zeros' );
+import meanpw = require( './index' );
+
+
+// TESTS //
+
+// The function returns a number...
+{
+ const x = zeros( [ 10 ], {
+ 'dtype': 'generic'
+ });
+
+ meanpw( [ x ] ); // $ExpectType number
+}
+
+// The compiler throws an error if the function is provided a first argument which is not an array of ndarrays...
+{
+ meanpw( '10' ); // $ExpectError
+ meanpw( 10 ); // $ExpectError
+ meanpw( true ); // $ExpectError
+ meanpw( false ); // $ExpectError
+ meanpw( null ); // $ExpectError
+ meanpw( undefined ); // $ExpectError
+ meanpw( [] ); // $ExpectError
+ meanpw( {} ); // $ExpectError
+ meanpw( ( x: number ): number => x ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ const x = zeros( [ 10 ], {
+ 'dtype': 'generic'
+ });
+
+ meanpw(); // $ExpectError
+ meanpw( [ x ], {} ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/stats/base/ndarray/meanpw/examples/index.js b/lib/node_modules/@stdlib/stats/base/ndarray/meanpw/examples/index.js
new file mode 100644
index 000000000000..330a734e60e6
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/base/ndarray/meanpw/examples/index.js
@@ -0,0 +1,33 @@
+/**
+* @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 discreteUniform = require( '@stdlib/random/array/discrete-uniform' );
+var ndarray = require( '@stdlib/ndarray/base/ctor' );
+var ndarray2array = require( '@stdlib/ndarray/to-array' );
+var meanpw = require( './../lib' );
+
+var xbuf = discreteUniform( 10, -50, 50, {
+ 'dtype': 'generic'
+});
+var x = new ndarray( 'generic', xbuf, [ xbuf.length ], [ 1 ], 0, 'row-major' );
+console.log( ndarray2array( x ) );
+
+var v = meanpw( [ x ] );
+console.log( v );
diff --git a/lib/node_modules/@stdlib/stats/base/ndarray/meanpw/lib/index.js b/lib/node_modules/@stdlib/stats/base/ndarray/meanpw/lib/index.js
new file mode 100644
index 000000000000..5142587d5458
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/base/ndarray/meanpw/lib/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';
+
+/**
+* Compute the arithmetic mean of a one-dimensional ndarray using pairwise summation.
+*
+* @module @stdlib/stats/base/ndarray/meanpw
+*
+* @example
+* var ndarray = require( '@stdlib/ndarray/base/ctor' );
+* var meanpw = require( '@stdlib/stats/base/ndarray/meanpw' );
+*
+* var xbuf = [ 1.0, 3.0, 4.0, 2.0 ];
+* var x = new ndarray( 'generic', xbuf, [ 4 ], [ 1 ], 0, 'row-major' );
+*
+* var v = meanpw( [ x ] );
+* // returns 2.5
+*/
+
+// MODULES //
+
+var main = require( './main.js' );
+
+
+// EXPORTS //
+
+module.exports = main;
diff --git a/lib/node_modules/@stdlib/stats/base/ndarray/meanpw/lib/main.js b/lib/node_modules/@stdlib/stats/base/ndarray/meanpw/lib/main.js
new file mode 100644
index 000000000000..13f55eb7fdac
--- /dev/null
+++ b/lib/node_modules/@stdlib/stats/base/ndarray/meanpw/lib/main.js
@@ -0,0 +1,55 @@
+/**
+* @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 numelDimension = require( '@stdlib/ndarray/base/numel-dimension' );
+var getStride = require( '@stdlib/ndarray/base/stride' );
+var getOffset = require( '@stdlib/ndarray/base/offset' );
+var getData = require( '@stdlib/ndarray/base/data-buffer' );
+var strided = require( '@stdlib/stats/strided/meanpw' ).ndarray;
+
+
+// MAIN //
+
+/**
+* Computes the arithmetic mean of a one-dimensional ndarray using pairwise summation.
+*
+* @param {ArrayLikeObject