[Scipy-svn] r5113 - trunk/scipy/stats
scipy-svn at scipy.org
scipy-svn at scipy.org
Fri Nov 14 22:50:42 EST 2008
Author: josef
Date: 2008-11-14 21:50:40 -0600 (Fri, 14 Nov 2008)
New Revision: 5113
Modified:
trunk/scipy/stats/distributions.py
Log:
enable foldcauchy to calculate ppf for up to q=0.999
Modified: trunk/scipy/stats/distributions.py
===================================================================
--- trunk/scipy/stats/distributions.py 2008-11-15 03:48:48 UTC (rev 5112)
+++ trunk/scipy/stats/distributions.py 2008-11-15 03:50:40 UTC (rev 5113)
@@ -1489,7 +1489,8 @@
return 1.0/pi*(arctan(x-c) + arctan(x+c))
def _stats(self, c):
return inf, inf, nan, nan
-foldcauchy = foldcauchy_gen(a=0.0, name='foldcauchy',
+# setting xb=1000 allows to calculate ppf for up to q=0.9993
+foldcauchy = foldcauchy_gen(a=0.0, name='foldcauchy',xb=1000,
longname = "A folded Cauchy",
shapes='c',extradoc="""
More information about the Scipy-svn
mailing list