Table of Contents

Module: statistics misc/statistics.py

Functions   
approxprint
average
median
medianstd
nicearr
nicestr
sortedmedian
stable_average
standarddeviation
standarddeviationinmean
stepsize
variance
weightedaverage
weightedstandarddeviation
weightedstandarddeviationinmean
weightedvariance
  approxprint 
approxprint ( v,  precision=0.01 )

  average 
average ( row )

  median 
median ( row,  fraction=0.5 )

Calculate the median (or another fraction, or more different fractions) from an unsorted 1-d array of numbers

  medianstd 
medianstd ( data )

  nicearr 
nicearr ( x )

A nice string representing av/std of an array

  nicestr 
nicestr ( x,  sigmax )

Print a nice string representing a value and its standard deviation

  sortedmedian 
sortedmedian ( row,  fraction=0.5 )

Calculate the median (or another fraction) from a sorted 1-d array of numbers

Exceptions   
ValueError( "Cannot calculate median for empty array" )
  stable_average 
stable_average ( row )

Calculate a neat average, deleting outliers

  standarddeviation 
standarddeviation ( row )

  standarddeviationinmean 
standarddeviationinmean ( row )

  stepsize 
stepsize ( row )

  variance 
variance ( row )

  weightedaverage 
weightedaverage ( row,  weight )

  weightedstandarddeviation 
weightedstandarddeviation ( row,  weight )

  weightedstandarddeviationinmean 
weightedstandarddeviationinmean ( row,  weight )

  weightedvariance 
weightedvariance ( row,  weight )

Classes   
lsqfit

Linear least squares fit, weighted or unweighted


Table of Contents

This document was automatically generated on Fri Jul 3 09:28:36 2009 by HappyDoc version WORKING