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


Groups > comp.graphics.apps.gnuplot > #833

Re: Gaussian function

From brendan.halpin@ul.ie (Brendan Halpin)
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Gaussian function
Date 2012-01-07 12:00 +0000
Message-ID <87zkdziuy1.fsf@wivenhoe.ul.ie> (permalink)
References <aef563b2-f1c4-454d-b20b-6cd369a976a6@l24g2000yqm.googlegroups.com> <9mqighFoaaU1@mid.individual.net> <75a98e9c-d47a-4783-99cd-e69b9e0c57a8@k28g2000yqn.googlegroups.com>

Show all headers | View raw


On Sat, Jan 07 2012, AndreLTR wrote:

> It looks ok however I'd like to have the bell shape "wider" as well as
> the mean (70) equal to one.  Would you know how to do that?

If you increase the sigma (e.g. to 2), the shape becomes wider. However,
the peak will become smaller. That is a necessary part of it being a
probability distribution.

You can scale it to force it to have a peak of 1.0:

plot Gauss(x,70,2)/Gauss(70,70,2)

but that is then not a normal distribution (or any sort of
distribution). 

Are you sure you want a probability DENSITY function? The cumulative
probability distribution does have 1 as its (asymptotic) maximum.


Brendan
-- 
Brendan Halpin,   Department of Sociology,   University of Limerick,   Ireland
Tel: w +353-61-213147  f +353-61-202569  h +353-61-338562;  Room F1-009 x 3147
mailto:brendan.halpin@ul.ie    ULSociology on Facebook: http://on.fb.me/fjIK9t
http://teaching.sociology.ul.ie/bhalpin/wordpress         twitter:@ULSociology

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Gaussian function AndreLTR <andreltramos@gmail.com> - 2012-01-06 20:48 -0800
  Re: Gaussian function sfeam <sfeam@users.sourceforge.net> - 2012-01-06 22:36 -0800
    Re: Gaussian function AndreLTR <andreltramos@gmail.com> - 2012-01-07 02:48 -0800
  Re: Gaussian function Ron Shepard <ron-shepard@NOSPAM.comcast.net> - 2012-01-07 00:43 -0600
  Re: Gaussian function Ingo Thies <ingo.thies@gmx.de> - 2012-01-07 10:44 +0100
    Re: Gaussian function AndreLTR <andreltramos@gmail.com> - 2012-01-07 03:27 -0800
      Re: Gaussian function Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2012-01-08 16:57 +0100
    Re: Gaussian function AndreLTR <andreltramos@gmail.com> - 2012-01-07 03:29 -0800
      Re: Gaussian function brendan.halpin@ul.ie (Brendan Halpin) - 2012-01-07 12:00 +0000
  Re: Gaussian function "Alex van der Spek" <zdoor@xs4all.nl> - 2012-01-08 09:46 -0500

csiph-web