statistical analysis tools in python?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Thomas Nelson

    #1

    statistical analysis tools in python?

    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

  • Robert Kern

    #2
    Re: statistical analysis tools in python?

    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:


    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

    Comment

    • gblais@cox.net

      #3
      Re: statistical analysis tools in python?

      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

      Comment

      • Thomas Nelson

        #4
        Re: statistical analysis tools in python?

        Actually, after a little looking, the simple stats.py module at

        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

        gblais@cox.net 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

        Comment

        Working...