Skeda:Poisson cdf.svg

Page contents not supported in other languages.
Nga Wikipedia, enciklopedia e lirë

Dokument origjinal(skedë SVG, fillimisht 327 × 260 pixel, madhësia e skedës: 91 KB)

Kjo skedë është prej Wikimedia Commons dhe mund të përdoret nga projekte të tjera. Përshkrimi në këtë skedë në këtë faqe nuk është treguar më poshtë. Shko tek faqja përshkruese në Commons Shko tek faqja përshkruese në Commons

Përmbledhje

Përshkrimi
English: Plot of the cumulative distribution function for a Poisson distribution
Data
Burimi Punë e juaja
Autori Skbkekas
SVG genesis
InfoField
 
The SVG code is valid.
 
This plot was created with Matplotlib.
Kodi burimor
InfoField

Python code

import numpy as np
import matplotlib.pyplot as plt
import scipy.special as sp

X = np.arange(0,21)

plt.rc('text', usetex = True)
plt.rc('font', family = 'serif', size = 12)

##                                                                                
## CDF                                                                            
## 

col = {1: 'orange', 4: 'purple', 10: 'lightblue'}

plt.clf()
plt.figure(figsize=(4,3.2))
plt.axes([0.17,0.13,0.79,0.8])

A = []
for L in 1,4,10:

    P = -L + X*np.log(L) - sp.gammaln(X+1)
    P = np.exp(P)
    P = np.cumsum(P)

    for k in range(1,len(X)):
        plt.plot([k-1,k], [P[k-1],P[k-1]], '-', color='grey', label = '_nolegend_')

    a = plt.plot(X, P, 'o', color=col[L], markeredgecolor='k', markeredgewidth=0.5)
    A.append(a)

plt.xlabel("$k$")
plt.ylabel(u"$P(X\le k)$")

bx = plt.legend((r"$\lambda=1$", r"$\lambda=4$", r"$\lambda=10$"),\
                numpoints=1, handletextpad=0, loc="lower right")
bx.draw_frame(False)
plt.xlim([-1,21])
plt.ylim([0,1])

plt.savefig("poisson_cdf.pdf")
plt.savefig("poisson_cdf.svg")

Licencim

Unë, krijuesi i kësaj pune, e publikoj këtu në bazë të licensës në vijim:
w:sq:Creative Commons
atribuim
Kjo skedë është dhënë për përdorim sipas licensës Creative Commons Attribution 3.0 Unported.
Je i lirë të:
  • ta shpërndani – ta kopjoni, rishpërndani dhe përcillni punën
  • t’i bëni “remix” – të përshtatni punën
Sipas kushteve të mëposhtme:
  • atribuim – Duhet t’i jepni meritat e duhura, të siguroni një lidhje për tek licenca dhe të tregoni nëse janë bërë ndryshime. Këtë mund ta bëni në ndonjë mënyrë të arsyeshme, por jo në ndonjë mënyrë që sugjeron se licencuesi ju del zot juve apo përdorimit tuaj.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

përshkruan

10 shkurt 2010

image/svg+xml

Historiku skedës

Shtypni mbi një datë/kohë për ta parë skedën siç ishte atëherë.

Data/KohaMiniaturëPërmasatPërdoruesiKoment
e tanishme21 nëntor 2020 05:25Miniaturë për versionin duke filluar nga 21 nëntor 2020 05:25327 × 260 (91 KB)AkanoToEMade all text LaTeX, fixed legend text spacing
12 shtator 2015 03:23Miniaturë për versionin duke filluar nga 12 shtator 2015 03:23360 × 288 (53 KB)TrlklyRemoved outer white background for aesthetic reasons (by hand).
10 shkurt 2010 22:25Miniaturë për versionin duke filluar nga 10 shkurt 2010 22:25360 × 288 (54 KB)Skbkekas{{Information |Description={{en|1=Plot of the cumulative distribution function for a Poisson distribution}} |Source={{own}} |Author=Skbkekas |Date=2010-2-10 |Permission= |other_versions= }} Category:Statistical diagrams

Këto faqe lidhen tek kjo skedë:

Përdorimi global i skedës

Kjo skedë përdoret nga Wiki të tjera në vijim:

Metadata