Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2001
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2001

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

Search the Archive

Fitting NormalDistribution to 2D List

  • To: mathgroup at smc.vnet.net
  • Subject: [mg31424] Fitting NormalDistribution to 2D List
  • From: post_12 at hotmail.com (postman)
  • Date: Sat, 3 Nov 2001 05:29:37 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi:

Appreciate any help people can offer! I have saved the output of a
lengthy simulation where I have "binned" the data as such:

{{1,2},{2,8},{3,16},{4,7},{5,3}} 
where the 1st number is the "bin" and the 2nd the number of
occurences. Of course, the real data set has several thousand bins and
occurences as high as 10^5. I would like to calculate a Mean and
Standard Deviation of this data, however, the only way I could see to
do it in Mathematica would be to "unroll" the list; i.e. print out 2
1s in succession followed by 8 2s, 16 3s etc. How can I fit this 2
dimensional list to a NormalDistribution?

Thanks!

postman


  • Prev by Date: image in PDF file
  • Next by Date: Re: Aligning equal signs
  • Previous by thread: Re: image in PDF file
  • Next by thread: Re: Fitting NormalDistribution to 2D List