[SciPy-User] uniformity test in scipy.stats or statsmodels ?

josef.pktd@gmai... josef.pktd@gmai...
Wed Sep 28 15:15:13 CDT 2011


On Wed, Sep 28, 2011 at 1:42 PM, denis <denis-bz-gg@t-online.de> wrote:
> Can someone please point me to a function  howuniform( X )  where X is
> sorted and 0 <= X <= 1
> in scipy.stats or statsmodels ?

I'm not sure what you need. Are you looking for a test to see whether
a sample X comes from the uniform distribution on (0,1)?

I think kstest is the only one directly available. If you bin the
data, then chisquare can also be used.
I don't think any other test is available for the uniform distribution.

Josef

> (There seem to be several such, cf. http://en.wikipedia.org/wiki/Minimum_distance_estimation
> but for me simplest is best.)
> Thanks, cheers
>  -- denis
> _______________________________________________
> SciPy-User mailing list
> SciPy-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>


More information about the SciPy-User mailing list