파일:Normal Distribution PDF.svg
testwiki
둘러보기로 이동
검색으로 이동
원본 파일 (SVG 파일, 실제 크기 720 × 460 픽셀, 파일 크기: 61 KB)
이 파일은 위키미디어 공용에 있으며, 다른 프로젝트에서 사용하고 있을 가능성이 있습니다. 해당 파일에 대한 설명이 아래에 나와 있습니다.
파일 설명
| 설명Normal Distribution PDF.svg |
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 | |||
| 저작권 (이 파일을 인용하기) |
|
|||
| SVG 발전 InfoField |
Mathematica 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]
R Language Code
# Normal Distribution - Probability Density Function (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")
Python Code
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()
설명
이 파일이 나타내는 바에 대한 한 줄 설명을 추가합니다
이 파일에 묘사된 항목
다음을 묘사함
위키데이터 항목 없는 어떤 값
2 4 2008
64,852 바이트
460 화소
720 화소
image/svg+xml
파일 역사
날짜/시간 링크를 클릭하면 해당 시간의 파일을 볼 수 있습니다.
| 날짜/시간 | 섬네일 | 크기 | 사용자 | 설명 | |
|---|---|---|---|---|---|
| 현재 | 2024년 12월 28일 (토) 00:40 | 720 × 460 (61 KB) | wikimediacommons>TheBooker66 | Minified the file a bit by removing unnecessary elements and fixed svg isues. |
이 파일을 사용하는 문서
이 파일을 사용하는 문서가 없습니다.