Computes the standard error of the mean for a double-precision floating-point strided array using Welford's algorithm.
number of indexed elements
degrees of freedom adjustment
input array
stride length
standard error of the mean
var Float64Array = require( `@stdlib/array/float64` );
var x = new Float64Array( [ 1.0, -2.0, 2.0 ] );
var v = dsemwd( x.length, 1, x, 1 );
// returns ~1.20185
Computes the standard error of the mean for a double-precision floating-point strided array using Welford's algorithm and alternative indexing semantics.
number of indexed elements
degrees of freedom adjustment
input array
stride length
starting index
standard error of the mean
var Float64Array = require( `@stdlib/array/float64` );
var x = new Float64Array( [ 1.0, -2.0, 2.0 ] );
var v = dsemwd.ndarray( x.length, 1, x, 1, 0 );
// returns ~1.20185
Interface describing
dsemwd
.