Source language: Translate to:

standar deviation

General questions about NeoBook

Moderator: Neosoft Support

standar deviation

Postby carlos torres » Sun Dec 18, 2016 7:22 am

Hi everyone

TIA

Anybody has a function to solve statistical problems, ie: standar deviation?

I`ll appreciate any help.

Carlost
User avatar
carlos torres
 
Posts: 289
Joined: Mon May 02, 2005 8:14 am
Location: Pamplona, Colombia

Re: standar deviation

Postby Gaev » Sun Dec 18, 2016 10:09 am

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)
User avatar
Gaev
 
Posts: 3716
Joined: Fri Apr 01, 2005 7:48 am
Location: Toronto, Canada

Re: standar deviation

Postby carlos torres » Mon Dec 19, 2016 2:27 pm

Thanks for your your hand w/ a quick answer. I will try with Java.

Regards,

carlost
User avatar
carlos torres
 
Posts: 289
Joined: Mon May 02, 2005 8:14 am
Location: Pamplona, Colombia


Return to General NeoBook Discussions

Who is online

Users browsing this forum: No registered users and 3 guests