[Scipy-svn] r4900 - trunk/scipy/stats

scipy-svn@scip... scipy-svn@scip...
Sat Nov 1 13:09:18 CDT 2008


Author: ptvirtan
Date: 2008-11-01 13:08:58 -0500 (Sat, 01 Nov 2008)
New Revision: 4900

Modified:
   trunk/scipy/stats/distributions.py
Log:
Fix scipy.stats.recipinvgauss docstring. Closes #757.

Modified: trunk/scipy/stats/distributions.py
===================================================================
--- trunk/scipy/stats/distributions.py	2008-11-01 18:08:37 UTC (rev 4899)
+++ trunk/scipy/stats/distributions.py	2008-11-01 18:08:58 UTC (rev 4900)
@@ -2875,7 +2875,7 @@
 
 Reciprocal inverse Gaussian
 
-recipinvgauss.pdf(x, mu) = 1/sqrt(2*pi*x**3) * exp(-(x-mu)**2/(2*x*mu**2))
+recipinvgauss.pdf(x, mu) = 1/sqrt(2*pi*x) * exp(-(1-mu*x)**2/(2*x*mu**2))
 for x >= 0.
 """
                                   )



More information about the Scipy-svn mailing list