Random[BinomialDistribution[..]] wrong ?

*To*: mathgroup at christensen.cybernetics.net*Subject*: [mg1051] Random[BinomialDistribution[..]] wrong ?*From*: bzbkowal at zib-berlin.de (Axel Kowald)*Date*: Fri, 12 May 1995 13:50:41 -0400*Organization*: Konrad Zuse-Zentrum fuer Informationstechnik Berlin

Hello I'm using Mathematica 2.2 on a Macintosh and I got a problem generating binomially distributed random numbers. I have: Needs["Statistics`DiscreteDistributions`"] SeedRandom[17] Table[Random[BinomialDistribution[10^6,0.01]],{5}] Out-> {998486, 998486, 998486, 998486, 998486} Not only that the random numbers are all the same, most importantly they are in a completely wrong range. One should get something around 10000 ! The problem seems to be 10^6, if I use something smaller, like 10000, everything works fine. Furthermore the problem seems to be in the Random[] function since PDF[BinomialDistribution[10^6,0.01],n] works okay (but takes a long time). Any comments, hints, solutions ? Many thanks Axel Kowald