Skip to content

compute nanstdev

kgryte edited this page May 12, 2015 · 1 revision

Computes the sample standard deviation over an array of values ignoring any non-numeric values.

var data = [ 2, 4, NaN, 2, 7, NaN, 3 ];

var stdev = compute.nanstdev( data );
Clone this wiki locally