Computer Science Canada

Stats Module (Data Management)

Author:  The_Bean [ Tue Nov 25, 2008 8:12 pm ]
Post subject:  Stats Module (Data Management)

A module that includes many helpful functions for Data Management class.
Includes:
Mean - Average
Weighted Mean - numbers with different weights like your mark with TACK
Median - middle number of sorted array
Summation - all values of array added together
Factorial - number multiplied by all numbers below it to 1
Permutation - number ways to arrange n distinct items when order matters
Combination - number of ways to arrange n distinct items when order doesn't matter
Standard Deviation with Population
Standard Deviation with Sample
Variance with Population
Variance with Sample
Z-Score with Population
Z-Score with Sample
Correlation/r-value - -1..1
Correlation Classification - weak, negative - strong, positive
'a' value in linear regression - y=ax+b
'b' value in linear regression - y=ax+b

and a few others

Also included is an example calculator using some of them.

Author:  The_Bean [ Sat Nov 29, 2008 8:01 pm ]
Post subject:  Re: Stats Module (Data Management)

Another module, this one is more for functions class, but has some other helpful things for games.


: