Reputation: 21544
I'm trying to use some of the functions available here
http://www.scipy.org/doc/api_docs/SciPy.stats.stats.html
but I can only seem to get access to some of them. For instance after I do from scipy import stats
I can do something like stats.gmean([3,4]) to get the geometric mean, but when I try stats.samplestd([3,4]) I get an error that says the module has no attribute samplestd.
Any help would be greatly appreciated.
I'm running enthought's python distribution if that helps.
Thanks
Upvotes: 0
Views: 560
Reputation: 601401
scipy.stats.samplestd()
was deprecated in SciPy 0.8 and removed in SciPy 0.9. Probably, you are using version 0.9. You should use numpy.std()
instead.
Be sure to use the SciPy docs matching the version you use.
Upvotes: 1