[SciPy-user] probplot problem

Stephen Walton stephen.walton at csun.edu
Tue Jun 7 16:43:18 CDT 2005


I've hit a problem with probplot.  The following code fails:

import scipy as S
s=S.stats.norm.rvs(0,size=1000)
(osm,osr)=S.stats.probplot(x,fit=0)

Tracing a bit finds the problem at line 197 of morestats.py.  Running 
the following scriptlet:

import scipy.stats.distributions as distributions
import inspect
ppf_func=eval('distributions.norm.ppf')
res=inspect.getargspec(ppf_func)
print res

gives

(['self', 'q'], 'args', 'kwds', None)

while line 195 of morestats.py makes a bunch of tests against res which 
fail for this form.



More information about the SciPy-user mailing list