random.betavariate

maria_jenny at my-deja.com maria_jenny at my-deja.com
Fri May 5 07:47:47 EDT 2000


If I transform the mean and the variance function to two functions:
a a-function and a b-function. Then I calculate a and b from this
functions and uses those values when in the call to
random.betavariate(a,b), then after a lot of iterations it should
converge to the mean value, but it does not.

Ex. mean=0.5
    standard deviation=0.2
    a=0.125
    b=0.125




Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list