Confidence intervals, stats modules?

Tim Churches tchur at optushome.com.au
Sat Jun 8 17:51:23 EDT 2002


Duncan Smith wrote:
> 
> "Stephen Boulet" <stephen at theboulets.net> wrote in message
> news:ug2r3aac4etnef at corp.supernews.com...
> > Are there any stats modules to calculate things like confidence intervals,
> > mean, standard deviation? Thanks.
> >
> > -- Stephen
> 
> http://www.nmr.mgh.harvard.edu/Neural_Systems_Group/gary/python.html
> 

Gary's stats module is excellent and is probably sufficient for the uses
you
describe. There are also some elementary statistical functions in Konrad
Hinsen's
equally excellent Scientific Python package - see
http://starship.python.net/crew/hinsen/scientific.html

In fact, you could just use NumPy (Numerical Python) - have a look at
the MLab 
module in NumPy (which is at http://www.pfdubois.com/numpy/ ).

However, if you are interested in more advanced statistical analysis
and/or in 
drawing statistical graphs, then have a look at RPy, by Walter Moreira, 
at http://rpy.sourceforge.net

RPy embeds the R stats environment within Python. R is good for most
things
statistical, from the elementary to the advanced and experimental, and
it does
truly beautiful graphics. It is a mature project backed by a number of
eminent 
statisticians in five continents.

Note that R is multi-platform (see http://www.r-project.org ) but RPy
only
works under Linux and Unix (and Mac Os X, perhaps) at this stage. I
believe 
a Windows version is in the works.

Tim C





More information about the Python-list mailing list