Fwd: Generating lists of normally-distributed numbers?

*To*: mathgroup at smc.vnet.net*Subject*: [mg6308] Fwd: [mg6265] Generating lists of normally-distributed numbers?*From*: BobHanlon at aol.com*Date*: Sat, 8 Mar 1997 00:26:32 -0500 (EST)*Sender*: owner-wri-mathgroup at wolfram.com

Needs["Statistics`ContinuousDistributions`"] (* standard package *) n = 100; mu = 5; sigma = 2; data = Table[ Random[NormalDistribution[mu, sigma]], {n} ]; (* normally distributed random data *) cdfEstimate[data_List, x_] := Count[x - data, _?NonNegative]/Length[data]; (* CDF for data *) Plot[{CDF[NormalDistribution[mu, sigma], x], cdfEstimate[data, x]}, {x, mu - 3 sigma, mu + 3 sigma}, PlotStyle -> { RGBColor[0, 0, 1], {RGBColor[1, 0, 0], AbsoluteDashing[{5,3}]} } ]; Bob Hanlon --------------------- Forwarded message: From: wacb at welchlink.welch.jhu.edu (Bill Christens-Barry) To: mathgroup at smc.vnet.net To: mathgroup at smc.vnet.net Can someone provide a simple example of how a list of N elements can be generated, with the list elements being normally distibuted? I'd like to include random seeding so I can generate an ensemble of such lists. Are there general tools in Mma 3.0 for generating lsits with various statistics? How do I go about searching for sites where these kinds of tools can be found? Thanks. Bill Christens-Barry wacb at aplcomm.jhuapl.edu