Confidence intervals, stats modules?
Travis Oliphant
oliphant at ee.byu.edu
Tue Jun 18 14:00:55 EDT 2002
>
> Assuming your are talking about a normal variate, the stats.py module
> has a function
> for the sample std deviation but not, as far as I recall, for the
> Student's t distribution,
> which is needed to calculate confieence intervals where the popuation
> std deviation is
> unknown (which is most of the time).
The scipy.stats
module in scipy (www.scipy.org)
has Student's t distribution and many many others.
It could be used to compute confidence intervals.
Happy computing,
-Travis O.
More information about the Python-list
mailing list