File:Poisson approximation to Binomial.svg
Appearance
From Wikimedia Commons, the free media repository
File:Poisson approximation to Binomial.svg
Size of this PNG preview of this SVG file: 360 ×ばつ 288 pixels. Other resolutions: 300 ×ばつ 240 pixels | 600 ×ばつ 480 pixels | 960 ×ばつ 768 pixels | 1,280 ×ばつ 1,024 pixels | 2,560 ×ばつ 2,048 pixels.
Original file (SVG file, nominally 360 ×ばつ 288 pixels, file size: 27 KB)
File information
Structured data
Captions
Captions
Statistics graph showing the convergence of the Poisson and Binomial Distribution
Summary
[edit ] DescriptionPoisson approximation to Binomial.svg
English: Statistics graph showing the convergence of the Poisson and Binomial Distribution.
Date
Source
Own work
Author
Bscan
import numpy as np import matplotlib.pyplot as plt from scipy import stats X = np.arange(7) plt.clf() plt.figure(figsize=(4,3.2)) plt.axes([0.17,0.13,0.79,0.8]) ax = plt.gca() P = stats.poisson.pmf(X, mu=1) ax.vlines(X, 0, P, color='dimgray', label=r"P($\lambda=1$)") B10 = stats.binom.pmf(X, n=10, p=1/10) plt.plot(X, B10, '--', color='orange') plt.plot(X, B10, 'o', fillstyle='none', color='orange', label=r"B(n=10, p=1/10)") B100 = stats.binom.pmf(X, n=100, p=1/100) plt.plot(X, B100, '--', color='purple') plt.plot(X, B100, 'o', fillstyle='none', color='purple', label=r"B(n=100, p=1/100)") plt.xlabel("k") plt.xlim(-0.5,6.5) plt.legend() plt.savefig("/dbfs/FileStore/Wikipedia/poisson_approx_pmf.svg") display()
Licensing
[edit ]I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero
This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.
http://creativecommons.org/publicdomain/zero/1.0/deed.enCC0Creative Commons Zero, Public Domain Dedicationfalsefalse
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 15:29, 14 May 2019 | Thumbnail for version as of 15:29, 14 May 2019 | 360 ×ばつ 288 (27 KB) | Bscan (talk | contribs) | Minor bug in original code |
15:25, 14 May 2019 | Thumbnail for version as of 15:25, 14 May 2019 | 360 ×ばつ 288 (27 KB) | Bscan (talk | contribs) | User created page with UploadWizard |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Width | 288pt |
---|---|
Height | 230.4pt |