File:Gamma distribution.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(SVG file, nominally 600 × 480 pixels, file size: 73 KB)

Captions

Captions

Add a one-line explanation of what this file represents
Description

Probability density function for the Gamma distribution (vector version of Image:Gamma_distribution_pdf.png

GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
This licensing tag was added to this file as part of the GFDL licensing update.
)
Date
Source derived from GFDL work
Author Toobaz
Permission
(Reusing this file)
GFDL

gnuplot source under GPL:

 _ln_dgamma(x, a, b) = a*log(b) - lgamma(a) + (a-1)*log(x) - b*x
 dgamma(x, shape, rate) =\
  (x<0)? 0 :\
  (x==0)? ((shape<1)? 1/0 : (shape==1)? rate : 0) :\
  (rate==0)? 0 :\
  exp(_ln_dgamma(x, shape, rate))
 pgamma(x, shape, rate) = (x<0)? 0 : igamma(shape, x*rate)
 
 set samples 1001
 set terminal svg
 set output
 
 set xtics 0,2
 set ytics 0,0.1
 
 f(x, k, t) = dgamma(x, k, 1.0/t)
 set key top right
 
 #f(x, k, t) = pgamma(x, k, 1.0/t)
 #set key bottom right
 
 plot [0:20] \
     f(x,1,2.0) title "k = 1, θ = 2.0", \
     f(x,2,2.0) title "k = 2, θ = 2.0", \
     f(x,3,2.0) title "k = 3, θ = 2.0", \
     f(x,5,1.0) title "k = 5, θ = 1.0", \
     f(x,9,0.5) title "k = 9, θ = 0.5" lt 7
Lissajous small 
This W3C-unspecified plot was created with Gnuplot.
GNU head

This work is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version. This work is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See version 2 and version 3 of the GNU General Public License for more details.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current05:01, 8 March 2008Thumbnail for version as of 05:01, 8 March 2008600 × 480 (73 KB)Toobaz (talk | contribs){{Information |Description=Probability density function for the Gamma distribution (vector version of Image:Gamma_distribution_pdf.png{{GFDL}}) |Source=derived from GFDL work |Date=08 Mar 2008 |Author= Toobaz |Permission=GFDL }} gnu

There are no pages that use this file.

Metadata