Ficheiro:Gamma distribution pdf.svg
Este ficheiro vem da wiki na wiki Wikimedia Commons e pode ser usado por outros projetos. A descrição na página original de descrição do ficheiro é mostrada abaixo.
Descrição do ficheiro
| DescriçãoGamma distribution pdf.svg | The probability density function of Gamma distribution for different parameters. See below for the spec and Gnuplot source code. |
| Data | (UTC) |
| Origem | |
| Autor |
|
Spec and Gnuplot Source Code

For the readers who are interested in Erlang distribution, we have prepared another specific image (see right). Note that in Erlang distribution the shape parameter k must take integers.
Originally, the pdf of Gamma distribution is
Let α = k, and β = 1/θ. Then
Hence
which directly gives the code below.
# Author: Autopilot, Ika
# Date: 12/08/2014
set term svg size 800,600 font 'Times, 24' enhanced
set output 'gamma_dist_pdf.svg'
set samples 1001
set xtics 0,2
set ytics 0,0.1
set mxtics 10
set mytics 10
set yrange [0:0.5]
set key top right Left reverse
# Ln f(x; k, theta)
# Commonly, we denote a = alpha = k and b = beta = 1/theta.
ln_f(x, a, b) = a*log(b) - lgamma(a) + (a-1)*log(x) - b*x
# f(x; k, theta)
f(x, k, theta) = (x<0)? 0 : (x==0)? ((k<1)? 1/0 : (k==1)? theta : 0)\
: (theta==0)? 0 : exp(ln_f(x, k, 1.0/theta))
plot [0:20] \
f(x, 1.0, 2.0) t "k = 1.0, {/Symbol q} = 2.0" lw 2 lc rgb "red", \
f(x, 2.0, 2.0) t "k = 2.0, {/Symbol q} = 2.0" lw 2 lc rgb "orange", \
f(x, 3.0, 2.0) t "k = 3.0, {/Symbol q} = 2.0" lw 2 lc rgb "yellow", \
f(x, 5.0, 1.0) t "k = 5.0, {/Symbol q} = 1.0" lw 2 lc rgb "green", \
f(x, 9.0, 0.5) t "k = 9.0, {/Symbol q} = 0.5" lw 2 lc rgb "black", \
f(x, 7.5, 1.0) t "k = 7.5, {/Symbol q} = 1.0" lw 2 lc rgb "blue", \
f(x, 0.5, 1.0) t "k = 0.5, {/Symbol q} = 1.0" lw 2 lc rgb "purple"
set term x11
set output
| Esta é uma imagem retocada, o que significa que a versão original foi alterada digitalmente. Modificações: Recreated as svg with gnuplot. O original pode ser visto aqui: Gamma distribution pdf.png:
|
| A utilização deste ficheiro é regulada nos termos da licença Creative Commons - Atribuição-CompartilhaIgual 3.0 Não Adaptada. | ||
| ||
| Esta marca de licenciamento foi adicionada a este ficheiro durante a atualização da licença GFDL.http://creativecommons.org/licenses/by-sa/3.0/CC BY-SA 3.0Creative Commons Attribution-Share Alike 3.0truetrue |
| É concedida permissão para copiar, distribuir e/ou modificar este documento nos termos da Licença de Documentação Livre GNU, versão 1.2 ou qualquer versão posterior publicada pela Free Software Foundation; sem Secções Invariantes, sem textos de Capa e sem textos de Contra-Capa. É incluída uma cópia da licença na secção intitulada GNU Free Documentation License.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
|
Esta obra é software livre; pode redistribui-la ou modificá-la nos termos da licença GNU General Public License tal como publicada pela Free Software Foundation; tanto a versão 2 da Licença, como qualquer versão posterior. A obra é distribuída na esperança de que seja útil, mas sem qualquer garantia; inclusive, sem a garantia implícita da possibilidade de ser comercializada ou de adequação para qualquer finalidade específica. Consulte a versão 2 e a versão 3 da licença GNU General Public License para mais detalhes.http://www.gnu.org/licenses/gpl.htmlGPLGNU General Public Licensetruetrue |
Registo de carregamento original
This image is a derivative work of the following images:
- File:Gamma_distribution_pdf.png licensed with Cc-by-sa-3.0-migrated, GFDL, GPL
Carregada com derivativeFX
Legendas
Elementos retratados neste ficheiro
retrata
26 junho 2010
Histórico do ficheiro
Clique uma data e hora para ver o ficheiro tal como ele se encontrava nessa altura.
| Data e hora | Miniatura | Dimensões | Utilizador | Comentário | |
|---|---|---|---|---|---|
| atual | 00h05min de 9 de dezembro de 2014 | 800 × 600 (115 kB) | wikimediacommons>IkamusumeFan | Change curve colors for better display. |
Utilização local do ficheiro
A seguinte página usa este ficheiro: