Image:Normal approximation to binomial.png

From Wikipedia, the free encyclopedia

Wikimedia Commons logo This is a file from the Wikimedia Commons. The description on its description page there is shown below.
Commons is attempting to create a freely licensed media file repository. You can help.
new file
Info-icon
This file has been superseded by Image:Normal approximation to binomial.svg.

It is recommended that the other file be used.
Reason: A vector version of this file is now available.


If you just added this tag and want to nominate this image for deletion, please check if it is used and if so replace it with the new image.

The deletion request process for superseded images has been temporarily suspended. Please participate in the discussion at Commons:Village_pump#Do_not_delete_.22superseded.22_images.21

Afterwards please add the following code to here: (Please review the discussion here.)


* {{CheckUsage|Normal_approximation_to_binomial.png|Normal approximation to binomial.svg|superseded}} was superseded by [[:Image:Normal approximation to binomial.svg]]. A vector version of this file is now available. --~~~~

Important: Before deleting this file, check if the new one is really superior! Also check:

  • Does the superseding file have a proper license?
  • Is the representation of the flag / COA / symbol correct?
  • Are the colours of the flag / COA / symbol correct?
  • Is the aspect ratio of the flag / symbol correct?
  • Is the chemical structure the same?

Afrikaans | Alemannisch | العربية | Български | Česky | Dansk | Deutsch | English | Ελληνικά | Esperanto | Español | Français | Galego | עברית | हिन्दी | Magyar | Bahasa Indonesia | Ido | Italiano | 日本語 | 한국어 | Nederlands | Norsk (nynorsk) | Polski | Português | Românǎ | Русский | Slovenščina | Српски | Svenska | Türkçe | 简体中文 | 正體中文 | +/-


Plot of the probability density function of a normal distribution approximating the probability mass function of a binomial distribution

GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".

العربية | Asturianu | Български | বাংলা | ইমার ঠার | Brezhoneg | Bosanski | Català | Sinugboanong Binisaya | Česky | Dansk | Deutsch | Ελληνικά | English | Esperanto | Español | Eesti | Euskara | فارسی | Suomi | Français | Galego | עברית | Hrvatski | Magyar | Bahasa Indonesia | Ido | Íslenska | Italiano | 日本語 | ქართული | 한국어 | Kurdî / كوردي | Latina | Lëtzebuergesch | Lietuvių | Bahasa Melayu | Nnapulitano | Nederlands | Norsk (nynorsk) | Norsk (bokmål) | Polski | Português | Română | Русский | Slovenčina | Slovenščina | Shqip | Српски | Svenska | తెలుగు | ไทย | Türkçe | Українська | اردو | Tiếng Việt | Volapük | 中文(简体) | 中文(繁體) | +/-


Note: "Norm(12, 3)" is a normal distribution with a mean of 12 and a standard deviation of 3. Its variance is 48 × 1/4 × 3/4 = 9.

gnuplot source under GPL:

# normal (Gaussian) distribution
_ln_dnorm(x, m, s) = -0.5 * log(2*pi) - log(s) - 0.5*((x-m)*1.0/s)**2
dnorm(x, mean, sd) = exp(_ln_dnorm(x, mean, sd))
pnorm(x, mean, sd) = norm((x-mean) * 1.0/sd)

# binomial distribution
_ln_binom(x, n, p) =\
 lgamma(n+1) - lgamma(x+1) - lgamma(n-x+1) + x*log(p) + (n-x)*log(1-p)
dbinom(x, size, prob) = (x==int(x))? exp(_ln_binom(floor(x), size,  prob)) : 0
pbinom(x, size, prob) =\
 (x<0)? 0 : (x<size)? ibeta(size-floor(x), floor(x)+1, 1-prob) : 1

set terminal postscript enhanced color solid lw 2 "Times-Roman" 20
set output

set key 22,0.13

n = 48
p = 0.25
xmax = 25

set samples 50*xmax+1

plot [0:xmax] \
    dbinom(x, n, p) with impulses title "Binom(48, 0.25)", \
    dnorm(x, n*p, sqrt(n*p*(1-p))) linetype 3 title "Norm(12, 3)"
GNU head This work is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version. This work is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

العربية ǀ Česky ǀ Deutsch ǀ English ǀ Español ǀ فارسی ǀ Français ǀ Italiano ǀ 日本語 ǀ Nederlands ǀ Polski ǀ Português ǀ Русский ǀ Svenska ǀ Türkçe ǀ 简体中文 ǀ 正體中文 ǀ +/-

The following pages on the English Wikipedia link to this file (pages on other projects are not listed):