Psychology Wiki

Gamma distribution pdf.png

34,203pages on
this wiki
Add New Page
Full resolution (download)‎ (1,300 × 975 pixels, file size: 158 KB, MIME type: image/png)

Probability density function for the Gamma distribution

Heckert GNU white 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."

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 postscript enhanced color solid lw 2 "Times-Roman" 20
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 "{/Times-Italic k} = 1, {/Symbol q} = 2.0", \
    f(x,2,2.0) title "{/Times-Italic k} = 2, {/Symbol q} = 2.0", \
    f(x,3,2.0) title "{/Times-Italic k} = 3, {/Symbol q} = 2.0", \
    f(x,5,1.0) title "{/Times-Italic k} = 5, {/Symbol q} = 1.0", \
    f(x,9,0.5) title "{/Times-Italic k} = 9, {/Symbol q} = 0.5" lt 7
Lissajous curve 3by2 This |}

This file 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 (at your option) 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 the GNU General Public License for more details.

Converted to SVG All images in this article should be recreated using vector graphics as an SVG file. This has several advantages; see Commons:Images for cleanup for more information. If an SVG form of this image is already available, please upload it. After uploading an SVG, replace this template with template {{SupersededSVG|new image name.svg}} in this image.

This page uses content from the Wikimedia Commons. The original content was at File:Gamma distribution pdf.png. The list of authors can be seen in the page history. As with this Psychology Wiki wiki, that portion of the content of Wikimedia Commons is available under the GNU Free Documentation License.

Appears on these pages

File history

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

current09:14, November 4, 2007Thumbnail for version as of 09:14, November 4, 20071,300 × 975 (158 KB)PhloxBot (Talk | contribs)Probability density function for the Gamma distribution {{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) :\ (r

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.