Package xdp :: Module stats
[show private | hide private]
[frames | no frames]

Module xdp.stats

xdp.stats

This module provides primitive (Numeric array-based) functions for calculating statistics.
Function Summary
  mean(A)
Calculate the arithmetic mean of the values of the Numeric array 'A'.
  moment(N, A, C)
Calculates the 'N'th moment of the of the Numeric array 'A' using the center 'C'.
  stddev(A, mean)
Calculates the standard deviation of the numeric array 'A'.

Function Details

mean(A)

Calculate the arithmetic mean of the values of the Numeric array 'A'.

moment(N, A, C)

Calculates the 'N'th moment of the of the Numeric array 'A' using the center 'C'.

stddev(A, mean=None)

Calculates the standard deviation of the numeric array 'A'.

The arithmetic mean may be provided using the keyword argument 'mean'. If it is not provided it will be calculated.

Generated by Epydoc 2.1 on Wed Jul 20 11:51:05 2005 http://epydoc.sf.net