Mynd:Laplace distribution pdf.png

Úr Wikipediu, frjálsa alfræðiritinu


Wikimedia Commons logo Skrá þessi er af Wikimedia Commons, hér fyrir neðan er afrit af skráarsíðunni þar.

Probability density function for the Laplace distribution

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".

العربية | Deutsch | English | Español | Français | Italiano | 日本語 | 한국어 | Nederlands | Polski | Português | Slovenčina | Svenska | עברית +/-


gnuplot source under GPL:

dlaplace(x,mu,b) = 0.5/b * exp(-abs(x-mu)*1.0/b)
plaplace(x,mu,b) = 0.5*(1 + sgn(x-mu)*(1-exp(-abs(x-mu)*1.0/b)))
qlaplace(p,mu,b) = mu - b * sgn(p-0.5) * log(1 - 2*abs(p-0.5))

set samples 1001
set terminal postscript enhanced color solid lw 2 "Times-Roman" 20
set output

set xtics -10,2
set ytics 0,0.1

f(x,y,z) = dlaplace(x,y,z)
set yrange [0:0.55]

#f(x,y,z) = plaplace(x,y,z)
#set key bottom

plot [-10:10] \
   f(x, 0,1) title "{/Symbol m} =  0, {/Times-Italic b} = 1", \
   f(x, 0,2) title "{/Symbol m} =  0, {/Times-Italic b} = 2", \
   f(x, 0,4) title "{/Symbol m} =  0, {/Times-Italic b} = 4", \
   f(x,-5,4) title "{/Symbol m} = -5, {/Times-Italic b} = 4"
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 (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.

Eftirfarandi síður tengjast í mynd þessa: