File:PDF of Pareto Distribution.svg

From formulasearchengine
Jump to navigation Jump to search

Original file(SVG file, nominally 360 × 360 pixels, file size: 36 KB)

This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

Summary

Description
English: Designed to be an SVG version of Pareto_distributionPDF.png. It's generated in R and made slightly more minimal that the original, but otherwise the same.
Source Code
pal <- c("black", "tomato", "royalblue", "darkgreen")
svg("dpareto.svg", 4, 4, family="Myriad Pro")
par0 <- par(mar=c(4,4,0,0)+0.5)
plot.new(); plot.window(c(0,5), c(0,3))
lines(c(1,1,1e6), c(1e6,0,0), col=pal[[1]]) # hack to make Infinity visible
curve(VGAM::dpareto(x, 1, 3), exp(1e-10), 6, add=T, n=201, col=pal[[2]])
curve(VGAM::dpareto(x, 1, 2), exp(1e-10), 6, add=T, n=201, col=pal[[3]])
curve(VGAM::dpareto(x, 1, 1), exp(1e-10), 6, add=T, n=201, col=pal[[4]])
points(c(1,1,1),3:1, col=pal[-1], pch=20)
axis(1); axis(2); box(bty="l")
title(xlab="x", ylab="Density")
legend("topright", expression(kappa==infinity,kappa==3,kappa==2,kappa==1), lty=1, col=pal, bty="n", inset=0.1)
par(par0)
dev.off()
Date
Source Own work
Author Sam Mason

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

29 September 2012

File history

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

Date/TimeThumbnailDimensionsUserComment
current23:15, 29 September 2012Thumbnail for version as of 23:15, 29 September 2012360 × 360 (36 KB)wikimediacommons>Smason79Realised that the black line was supposed to be $\kappa=\infty$, have added this properly now

There are no pages that use this file.