Jump to content

File:Beta-probability-distribution-function.svg

From Wikipedia, the free encyclopedia

Original file (SVG file, nominally 217 × 181 pixels, file size: 12 KB)

Summary

[edit]
File information
Description

Graph of the Beta probability distribution function for various values of its two shape parameters.

Source

Generated in R using this code:

alphas = c(0.5, 5, 1, 2, 2)
betas  = c(0.5, 1, 3, 2, 5)
labels = paste("α=",alphas,", β=",betas,sep="")
colors <- c("red", "blue", "darkgreen", "purple", "black")

x <- seq(0, 1, length=100)

library(RSvgDevice)
devSVG(file="beta-prob-dist-func.svg", width=6, height=5)
par(lwd=2, mar=c(4,4,0.5,0.5))

plot(x, type="n", xlab="", ylab="", las=1, bty="n",
     main=NULL, ylim=c(0,2.6), xlim=c(0,1))

for (i in 1:5){
  lines(x, dbeta(x,alphas[i],betas[i]), col=colors[i])
}

legend("topleft", legend=labels, lwd=4, col=colors,
       inset=c(0.4,0.05), bty="n", y.intersp=2,
       x.intersp=1.2)
dev.off()=2, pos=0)
dev.off()
Date

2009-07-17

Author

GreenRoot (talk)

Permission
(Reusing this file)

See below.


Licensing:

[edit]

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current18:25, 17 July 2009Thumbnail for version as of 18:25, 17 July 2009217 × 181 (12 KB)GreenRoot (talk | contribs)regenerated with different width and height parameters, trying to get font size readable when rendered at about 200-400 pixels (common in articles).
18:18, 17 July 2009Thumbnail for version as of 18:18, 17 July 2009434 × 361 (12 KB)GreenRoot (talk | contribs){{Information |Description = Graph of the Beta probability distribution function for various values of its two shape parameters. |Source = Generated in R using this code: <pre> alphas = c(0.5, 5, 1, 2, 2) betas = c(0.5, 1, 3, 2, 5) labels =
No pages on the English Wikipedia use this file (pages on other projects are not listed).

Metadata