[Scipy-tickets] [SciPy] #1213: stats.distributions: check currently unused numpy.random distributions

SciPy Trac scipy-tickets@scipy....
Mon Jun 28 07:32:16 CDT 2010


#1213: stats.distributions: check currently unused numpy.random distributions
-------------------------+--------------------------------------------------
 Reporter:  josefpktd    |       Owner:  somebody
     Type:  enhancement  |      Status:  new     
 Priority:  normal       |   Milestone:  0.8.0   
Component:  scipy.stats  |     Version:  0.7.0   
 Keywords:               |  
-------------------------+--------------------------------------------------
 from a quick comparison it looks like numpy's weibull is in scipy stats as

 {{{
 weibull_min = frechet_r_gen(a=0.0,name='weibull_min',
                            longname="A Weibull minimum",
                            shapes='c',extradoc="""

 A Weibull minimum distribution (also called a Frechet (right)
 distribution)

 weibull_min.pdf(x,c) = c*x**(c-1)*exp(-x**c)
 for x > 0, c > 0.
 }}}

 with "c" instead of "a" compared to numpy docs (lambda is the scale which
 is handled separately in stat)


 None of the distributions in scipy.stats uses the random numbers from
 numpy.random.weibull (at least based on a quick search in the
 distributions module)

 A quick check, similar to the example in the numpy docstring or running
 kstest should show if numpy weibull and frechet_r are the same.

 frechet_r doesn't have a _rvs defined, so we should check whether we
 can add numpy's weibull to it.

 Also this means that several random variables in numpy random are not
 tested for correctness.

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1213>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list