       Re: populate a list with random numbers from normaldistribution?

• To: mathgroup at smc.vnet.net
• Subject: [mg49898] Re: [mg49855] populate a list with random numbers from normaldistribution?
• From: Tomas Garza <tgarza01 at prodigy.net.mx>
• Date: Thu, 5 Aug 2004 09:22:08 -0400 (EDT)
• References: <200408041446.KAA20161@smc.vnet.net>
• Sender: owner-wri-mathgroup at wolfram.com

```Check your syntax. Look at the following:

In:=
<< "Statistics`"

In:=
dist = NormalDistribution[50000, 25000];

In:=
Table[Random[dist], {10}]
Out=
{26975.950556122647, 58550.03432245862,
90456.47272543506, 73888.28476391576,
52046.50992913155, 72675.80052590193,
48593.27989475152, 78918.83089186646,
96303.52480806905, 69543.82643195332}

What, then, do you mean by the variance of the above table?

Tomas Garza
Mexico City
----- Original Message -----
From: "sean kim" <sean_incali at yahoo.com>
To: mathgroup at smc.vnet.net
Subject: [mg49898] [mg49855] populate a list with random numbers from normal
distribution?

> 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:= Needs["Statistics`ContinuousDistributions`"]
>
> l1 = Table[Random[NormalDistribution[50000,25000], Integer, {10000,
> 99999}], {1000}];
>
> Variance[l1]//N
> StandardDeviation[l1]//N
>
>
> From In:=
> Random::"randt":
> Type specification NormalDistribution[50000, 25000] in
> <<1>> should be Real, Integer, or Complex.
>
> Out=
> 0.
> Out=
> 0.
>
> thanks in advance for any insights
>
> sean
>
>

```

• Prev by Date: Re: NonlinearFit
• Next by Date: Re: Asymmetric quadratic coefficient problem
• Previous by thread: populate a list with random numbers from normal distribution?
• Next by thread: Re: populate a list with random numbers from normal distribution?