MathGroup Archive 2001

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

Search the Archive

Fitting NormalDistribution to 2D List


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