ملف:Normal Distribution PDF.svg

من testwiki
اذهب إلى التنقل اذهب إلى البحث
الملف الأصلي (ملف 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
الترخيص
(إعادة استخدام هذا الملف)
Public domain أنا، مالِك حقوق تأليف ونشر هذا العمل، أجعله في النِّطاق العامِّ، يسري هذا في أرجاء العالم كلِّه.
في بعض البلدان، قد يكون هذا التَّرخيص غيرَ مُمكنٍ قانونيَّاً، في هذه الحالة:
أمنح الجميع حق استخدام هذا العمل لأي غرض دون أي شرط ما لم يفرض القانون شروطًا إضافية.
SVG منشأ الملف
InfoField
 الشيفرة المصدرية لهذا الرسم المتجه صالحة.
 هذا الرسم المتجهي أُنشئ بواسطة ماثماتيكا
 This SVG chart uses embedded text.

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()

الشروحات

أضف شرحاً من سطر واحد لما يُمثِّله هذا الملف

العناصر المصورة في هذا الملف

يُصوِّر

٢ أبريل 2008

٦٤٬٨٥٢ بايت

٤٦٠ بكسل

٧٢٠ بكسل

تاريخ الملف

اضغط على زمن/تاريخ لرؤية الملف كما بدا في هذا الزمن.

زمن/تاريخصورة مصغرةالأبعادمستخدمتعليق
حالي٠٠:٤٠، ٢٨ ديسمبر ٢٠٢٤تصغير للنسخة بتاريخ ٠٠:٤٠، ٢٨ ديسمبر ٢٠٢٤٧٢٠ × ٤٦٠ (٦١ كيلوبايت)wikimediacommons>TheBooker66Minified the file a bit by removing unnecessary elements and fixed svg isues.

ال3 صفحات التالية تستخدم هذا الملف: