MathGroup Archive 2000

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

Search the Archive

Gaussian fit

  • To: mathgroup at smc.vnet.net
  • Subject: [mg23148] Gaussian fit
  • From: "Gordon Smith" <slipstk at olemiss.edu>
  • Date: Thu, 20 Apr 2000 03:21:11 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Greetings,

I am trying to determine the best Gaussian fit to a series of data 
points.

Data={{-0.95,0},{-0.85,0},{-0.75,0},{-0.65,1},{-0.55,2},{-0.45,9},{-0.3
5,26},{-0.25,36},{-0.15,23},{-0.05,15},{0.05,8},{0.15,7},{0.25,7},{0.35,1
},{0.45,0},{0.55,2},{0.65,1},{0.75,0},{0.85,0},{0.95,0}}

A more detailed histogram of this looks like

{{0,-0.98},{0,-0.94},{0,-0.9},{0,-0.86},{0,-0.82},{0,-0.78},{0,-0.74},{0,
-0.7},{0,-0.66},{1,-0.62},{0,-0.58},{1,-0.54},{2,-0.5},{5,-0.46},{3,-0.42
},{10,-0.38},{14,-0.34},{10,-0.3},{13,-0.26},{15,-0.22},{10,-0.18},{9,-0.
14},{7,-0.1},{3,-0.06},{9,-0.02},{3,0.02},{5,0.06},{1,0.1},{4,0.14},{2,0.
18},{3,0.22},{4,0.26},{0,0.3},{0,0.34},{1,0.38},{0,0.42},{0,0.46},{0,0.5}
,{1,0.54},{1,0.58},{0,0.62},{1,0.66},{0,0.7},{0,0.74},{0,0.78},{0,0.82},{
0,0.86},{0,0.9},{0,0.94},{0,0.98}}

I've tried using NonLinearFit, but I can't get the parameters to make 
sense.  There is also the possibility that this may be indicative of two 
processes superimposed upon each other, in which case, the fit would be 
two Gaussian distributions added together.  I've also looked through the 
Archives, but there doesn't seem to be much on this that is directly 
useful.  Either that, or the solution is so simple that I'm just not 
seeing it.

Unfortunately, I don't have the capacity to formally join the MailList, 
but I was hoping that I might still be able to get a nudge in the right 
direction.

Thanks for your help.

--------------------------------------------------------
Gordon P. Smith
Journeyman Physicist
University of Mississippi
662.915.5635


  • Prev by Date: Re: Clear or remove definitions including Subscripts
  • Next by Date: Re: Mathematica TeX files
  • Previous by thread: Re: how to rank a list of elements?
  • Next by thread: Re: Gaussian fit