MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

populate a list with random numbers from normal distribution?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg49855] populate a list with random numbers from normal distribution?
  • From: sean_incali at yahoo.com (sean kim)
  • Date: Wed, 4 Aug 2004 10:46:33 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

hello group. 

I looked at the help browser but i can't figure this out. I weant to
make a list of random numbers sampled from a normal distribution

In[90]:= Needs["Statistics`ContinuousDistributions`"]

l1 = Table[Random[NormalDistribution[50000,25000], Integer, {10000,
99999}], {1000}];

Variance[l1]//N
StandardDeviation[l1]//N


From In[90]:=
Random::"randt":
Type specification NormalDistribution[50000, 25000] in 
<<1>> should be Real, Integer, or Complex.

Out[92]=
0.
Out[93]=
0.

thanks in advance for any insights

sean


  • Prev by Date: Re: Does anybody?
  • Next by Date: Re: Failure to Evaluate?
  • Previous by thread: Re: MLPutFunction : how to put a pure function
  • Next by thread: Re: populate a list with random numbers from normaldistribution?