goulib.stats¶
very basic statistics functions
Functions
|
|
|
|
|
|
|
|
|
|
|
|
|
mean and variance by stable algorithm :param :return: float (mean, variance) of data uses a stable algo by Knuth |
|
|
|
|
|
Return the probability density function at x |
|
|
|
|
|
|
|
Classes
|
discrete probability density function |
|
represents a normal distributed variable the base class (list) optionally contains data |
|
probability density function |
|
an object that computes mean, variance and modes of data that is appended to it as in a list (but actual values are not stored) |