Dokument origjinal(skedë SVG, fillimisht 640 × 480 pixel, madhësia e skedës: 64 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 Binomial distribution cumulative distribution function
Data
Burimi Punë e juaja
Autori Tayste
SVG genesis
InfoField
W3C red 
The source code of this SVG is invalid due to 42 errors.
R logo 
This W3C-invalid chart was created with R.
OOjs UI icon language-constructive 
 This file uses embedded text that can be easily translated using a text editor.
Kodi burimor
InfoField

R code

# R source code for Wikipedia SVG plot of Binomial CDF
# by de:User:Sigbert, Feb 2010
 
require("RSvgDevice")

create.binomial.cdf <- function(N, p, colour="black", pch=16) {
 n <- max(length(N),length(p),length(colour),length(pch))
 N <- rep(N,length=n); p <- rep(p,length=n)
 colour <- rep(colour,length=n); pch <- rep(pch,length=n) 

 add.one.series <- function(N, p, colour, pch, maxN) {
   cdf <- pbinom(0:N, N, p)
#   lines(0:N, cdf, type="s", col=colour)
   for (i in 1:N) lines (c(i-1,i), c(cdf[i], cdf[i]), type="s", col=colour)
   lines(c(N,maxN), c(1, 1), type="s", col=colour)
   points(0:N, cdf, col=colour, pch=pch)
 }
 
 par(lwd=1.5, cex=1, mar=c(3.1,2.5,0.5,0.5))
 plot(1, xlim=c(0,max(N)), ylim=c(0,1), type="n", xlab="", ylab="")
 for (i in 1:n)
   add.one.series(N[i],p[i],colour[i],pch[i], max(N))
   
 text = paste("p=",rev(p)," and N=",rev(N),sep="")
 legend(max(N), 0, legend=text, xjust=1, yjust=0,
   pch=rev(pch), lwd=rep(par("lwd"),3), col=rev(colour), y.intersp=1.5, bty="n")
}

devSVG("Binomial_distribution_cdf.svg",width=4,height=3)
create.binomial.cdf(c(40,20,20), c(0.5,0.7,0.5), c("red","green","blue"), c(20,15,18))
dev.off()

Licencim

Public domain Unë,krijuesi i kësaj pune, e lëshoj këtë punë në public domain. Kjo aplikohet në të gjithë botën.
Në disa vende kjo mund të mos jetë e mundur ligjërisht; nëse është kështu:
Unë i garantoj çdokujt të drejtën për ta përdorur këtë punë për çdo qëllim, pa asnjë kusht, përveç rasteve kur këto kushte janë të kërkuara nga ligji.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

përshkruan

2 mars 2008

image/svg+xml

checksum anglisht

30b025aa3e7f60281757dceb3ca0f1a7107bb5e3

data size anglisht

66.037 Bajti

480 pixel

640 pixel

Historiku skedës

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

Data/KohaMiniaturëPërmasatPërdoruesiKoment
e tanishme13 maj 2010 15:11Miniaturë për versionin duke filluar nga 13 maj 2010 15:11640 × 480 (64 KB)Meisterkochfinal fix
13 maj 2010 15:02Miniaturë për versionin duke filluar nga 13 maj 2010 15:02289 × 217 (62 KB)Meisterkochfix colours
13 maj 2010 14:48Miniaturë për versionin duke filluar nga 13 maj 2010 14:48289 × 217 (40 KB)Meisterkochchange colour coding
12 shkurt 2010 20:07Miniaturë për versionin duke filluar nga 12 shkurt 2010 20:071.052 × 744 (56 KB)Meisterkochformat
12 shkurt 2010 20:04Miniaturë për versionin duke filluar nga 12 shkurt 2010 20:04744 × 1.052 (55 KB)Meisterkochstep function, updated R-code
1 mars 2008 22:09Miniaturë për versionin duke filluar nga 1 mars 2008 22:09434 × 289 (20 KB)Tayste{{Information |Description=Binomial distribution cdf |Source=self-made |Date=2 Mar 2008 |Author= Tayste |Permission= |other_versions= }}

Këto faqe lidhen tek kjo skedë:

Përdorimi global i skedës

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