Tuesday, August 30, 2005

Python Statistics.... Reinventing the wheel

So I was working on using python to do my stats homework... I know I should just spend the time doing the homework but. OCD! __must___write___prog__to___do___menial___tasks___

>>> def doHomework(mylist):
>>> '''realize this a fictional function'''
>>> newlist = fixList(mylist)
>>> caffinate = getCoffee(cup, nocoffee=False)
>>> calc = getCalc(location, readman=False)
>>> understand = groK(data)
>>> myrange = findRange(data)
>>> classwidth = float(myrange)/float(classes)+.5
>>> classwidth = round(classwidth)
>>> stddev = math.sqrt(variance)
>>> coeffvar = stddev/mean
>>> if will2do < willNot2Do:
>>> f = open('homework','w')
>>> f.write(answers)
>>> f.close()
>>> return newlist
+.5 thanks dave

wheel invented here
http://salstat.sourceforge.net/index.php?index
good stuff
http://www.r-project.org/index.html

http://www.stat.umn.edu/macanova/macanova.home.html

http://www.gnu.org/software/pspp/pspp.html

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home