Re: scipy stats binom_test

2009-06-25 Thread Robert Kern
On 2009-06-25 07:14, dusans wrote: Amm i using the function wrong or ...? cuz in R i get the right value binom_test(3, 5, p=0.8) 0.262 dbinom(3, 5, 0.8) [1] 0.205 The R equivalent of scipy.stats.binom_test() is binom.test(), not dbinom(). If you want the equivalent of dbinom(), use scipy

scipy stats binom_test

2009-06-25 Thread dusans
Amm i using the function wrong or ...? cuz in R i get the right value >>> binom_test(3, 5, p=0.8) 0.262 > dbinom(3, 5, 0.8) [1] 0.205 -- http://mail.python.org/mailman/listinfo/python-list