File:Normal Distribution PDF.svg

原始檔案(SVG 檔案,表面大小:720 × 460 像素,檔案大小:63 KB)


摘要

描述
English: A selection of Normal Distribution Probability Density Functions (PDFs). Both the mean, μ, and variance, σ², are varied. The key is given on the graph.
日期
來源 self-made, Mathematica, Inkscape
作者 Inductiveload
授權許可
(重用此檔案)
Public domain 我,此作品的版權所有人,釋出此作品至公共領域。此授權條款在全世界均適用。
這可能在某些國家不合法,如果是的話:
我授予任何人有權利使用此作品於任何用途,除受法律約束外,不受任何限制。
SVG開發
InfoField
W3C red 
SVG檔案的原始碼無效,因為出現1個錯誤。
R logo 
向量圖形使用R創作。
OOjs UI icon language-constructive 
這個SVG檔案使用了內置文字。
原始碼
InfoField

R code

Plot[
 {
  PDF[NormalDistribution[1, Sqrt[2]], x],
  PDF[NormalDistribution[2, 1], x],
  PDF[NormalDistribution[3, Sqrt[3]], x],
    },
 {x, -5, 5},
 PlotRange -> All,
 Axes -> False]

Data

#			Normal Distribution PDF
#range
x=seq(-5,5,length=200)
#plot each curve
plot(x,dnorm(x,mean=0,sd=sqrt(.2)),type="l",lwd=2,col="blue",main='Normal Distribution PDF',xlim=c(-5,5),ylim=c(0,1),xlab='X',
ylab='φμ, σ²(X)')
curve(dnorm(x,mean=0,sd=1), add=TRUE,type="l",lwd=2,col="red")
curve(dnorm(x,mean=0,sd=sqrt(5)), add=TRUE,type="l",lwd=2,col="brown")
curve(dnorm(x,mean=-2,sd=sqrt(.5)), add=TRUE,type="l",lwd=2,col="green")

Text

#                    Normal Distribution
import numpy as np
import matplotlib.pyplot as plt 

def make_gauss(N, sig, mu):
    return lambda x: N/(sig * (2*np.pi)**.5) * np.e ** (-(x-mu)**2/(2 * sig**2))

def main():
    ax = plt.figure().add_subplot(1,1,1)
    x = np.arange(-5, 5, 0.01)
    s = np.sqrt([0.2, 1, 5, 0.5])
    m = [0, 0, 0, -2] 
    c = ['b','r','y','g']

    for sig, mu, color in zip(s, m, c): 
        gauss = make_gauss(1, sig, mu)(x)
        ax.plot(x, gauss, color, linewidth=2)

    plt.xlim(-5, 5)
    plt.ylim(0, 1)
    plt.legend(['0.2', '1.0', '5.0', '0.5'], loc='best')
    plt.show()

if __name__ == '__main__':
   main()

說明

添加單行說明來描述出檔案所代表的內容

在此檔案描寫的項目

描繪內容

著作權狀態 繁體中文 (已轉換拼寫)

檔案歷史

點選日期/時間以檢視該時間的檔案版本。

日期/時間縮⁠圖尺寸用戶備⁠註
目前2016年4月29日 (五) 16:06於 2016年4月29日 (五) 16:06 版本的縮圖720 × 460(63 KB)RayhemLighten background grid
2009年9月22日 (二) 17:19於 2009年9月22日 (二) 17:19 版本的縮圖720 × 460(65 KB)StpashaTrying again, there seems to be a bug with previous upload…
2009年9月22日 (二) 17:15於 2009年9月22日 (二) 17:15 版本的縮圖720 × 460(65 KB)StpashaCurves are more distinguishable; numbers correctly rendered in roman style instead of italic
2009年6月27日 (六) 14:07於 2009年6月27日 (六) 14:07 版本的縮圖720 × 460(55 KB)Autiwafichier environ 2 fois moins gros. Purgé des définitions inutiles, et avec des plots optimisés au niveau du nombre de points.
2008年9月5日 (五) 18:22於 2008年9月5日 (五) 18:22 版本的縮圖720 × 460(109 KB)PatríciaRfrom http://tools.wikimedia.pl/~beau/imgs/ (recovering lost file)
2008年4月2日 (三) 19:09沒有縮圖(109 KB)Inductiveload{{Information |Description=A selection of Normal Distribution Probability Density Functions (PDFs). Both the mean, ''μ'', and variance, ''σ²'', are varied. The key is given on the graph. |Source=self-made, Mathematica, Inkscape |Date=02/04/2008 |Author

下列2個頁面有用到此檔案:

全域檔案使用狀況

以下其他 wiki 使用了這個檔案:

檢視此檔案的更多全域使用狀況

詮釋資料