Carlost:

I Googled

javascript AND "standard deviation" ... here is what I found ...

The standard deviations is defined as the square root of the variance: std(A) = sqrt(var(A)).

With reference to variance, the type of normalization can be specified as one of the following values:

‘unbiased’ (default) The sum of squared errors is divided by (n - 1)

‘uncorrected’ The sum of squared errors is divided by n

‘biased’ The sum of squared errors is divided by (n + 1)

So, once you decide on the "type of variance" you want, you can ...

a) either develop a solution using just the NeoBook

Math command

b) or use a javascript library like math.js (

http://mathjs.org/docs/reference/functions/std.html)