Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > statistical analysis tools in python?

Reply
Thread Tools

statistical analysis tools in python?

 
 
Thomas Nelson
Guest
Posts: n/a
 
      07-13-2006
Sorry if this is a FAQ, but I couldn't find a good summary through
google. What kinds of statistical analysis tools exist in python? I
really just need t-tests, chi-squared test, and other such tests of
statistical significance. A few things point to numpy and scipy, but I
was surprised to find the documentation for numpy is not freely
available, and I thought it would be wise to ask here before I download
it and start hunting through the source code for what I want. Is numpy
the best option for my simple needs? Also I was a little surprised to
find nothing in the builtin python modules that can find standard
deviation, quartiles, etc. Is this for any particular reason, or
perhaps no one has shown any interest? I'd be willing to work on a
project to make simple single-variable analysis part of the builtin
python distribution.

Thanks all,

THN

 
Reply With Quote
 
 
 
 
Robert Kern
Guest
Posts: n/a
 
      07-13-2006
Thomas Nelson wrote:
> Sorry if this is a FAQ, but I couldn't find a good summary through
> google. What kinds of statistical analysis tools exist in python?


The third hit for "python statistics" is a good overview of what's available:

http://www.astro.cornell.edu/staff/loredo/statpy/

> I
> really just need t-tests, chi-squared test, and other such tests of
> statistical significance. A few things point to numpy and scipy, but I
> was surprised to find the documentation for numpy is not freely
> available,


So? The web page does give an overview of what numpy has, and the sample
chapters go into more depth.

> and I thought it would be wise to ask here before I download
> it and start hunting through the source code for what I want. Is numpy
> the best option for my simple needs?


numpy tries to be an array package, not a stats package and thus has nothing for
statistical tests. However, scipy has plenty of stats functionality going well
beyond what you've specify.

--
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco

 
Reply With Quote
 
 
 
 
gblais@cox.net
Guest
Posts: n/a
 
      07-13-2006
And there is a python interface to R, so that you can call R routines from
Python. R is a free stat language that has all the tests you've mentioned,

Gerry
 
Reply With Quote
 
Thomas Nelson
Guest
Posts: n/a
 
      07-18-2006
Actually, after a little looking, the simple stats.py module at
http://www.nmr.mgh.harvard.edu/Neura...ry/python.html
is exactly what I needed. It may not be as fast or as comprehensive as
scipy or R, but installation simply involves downloading the module and
importing into the code, and it has the ttests I was looking for.
Thanks,
THN

wrote:
> And there is a python interface to R, so that you can call R routines from
> Python. R is a free stat language that has all the tests you've mentioned,
>
> Gerry


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Evaluating static analysis and Dynamic analysis tools for C/C++ ssubbarayan C Programming 5 11-03-2009 12:50 AM
Preparing Data For Statistical Analysis and Reporting Robert Ruby 1 07-25-2007 01:50 AM
Preparing Data For Statistical Analysis Robert Ruby 0 07-24-2007 07:00 PM
Software for statistical analysis vincent64@yahoo.com C Programming 1 09-26-2006 04:03 AM
Security Incident Statistical Analysis cjj3520@aol.com Computer Security 8 12-14-2004 06:26 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57