Re: Fit Gaussian function to histogram
- To: mathgroup at smc.vnet.net
- Subject: [mg118074] Re: Fit Gaussian function to histogram
- From: Ray Koopman <koopman at sfu.ca>
- Date: Mon, 11 Apr 2011 07:08:03 -0400 (EDT)
- References: <imsh9i$5me$1@smc.vnet.net>
On Mar 29, 4:54 am, cubsfan334 <cubsfan... at gmail.com> wrote: > Hi, > > I realize that I can generate a histogram from a data set using the > Histogram[{data},bin size] command, yet this only seems to create a > graphic. Is there anyway to fit a function (preferably Gaussian) to > the histogram Mathematica creates? > > Thanks! There are several ways to do it, depending on how you use the data. See the thread "Fitting a normal distribution to a histogram", Jun 19-23, 2008, at https://groups.google.com/group/sci.stat.math/browse_frm/thread/ca471d2c3a09a620/4581b219f3ddea2b?hl=en