Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #1597

Re: Fit Gaussian function to histogram

From Ray Koopman <koopman@sfu.ca>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Fit Gaussian function to histogram
Date 2011-04-11 11:07 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <inunec$2fp$1@smc.vnet.net> (permalink)
References <imsh9i$5me$1@smc.vnet.net>

Show all headers | View raw


On Mar 29, 4:54 am, cubsfan334 <cubsfan...@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

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Fit Gaussian function to histogram Ray Koopman <koopman@sfu.ca> - 2011-04-11 11:07 +0000

csiph-web