This is a file from the Wikimedia Commons

File:R-horsekick totals-ecdf.svg

From Wikibooks, open books for an open world
Jump to navigation Jump to search

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

Description
English: Empirical cumulative distribution function (ecdf) example. Data = von Bortkiewicz's famous dataset of deaths by horse kick in Prussian cavalry corps
Date
Source Own work
Author HYanWong
Permission
(Reusing this file)
Public domain I, the copyright holder of this work, release this work into the public domain. This applies worldwide.
In some countries this may not be legally possible; if so:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.
 
This W3C-unspecified chart was created with R.

using the following commands

svg(file = "R-horsekick_totals-ecdf.svg", width = 4, height = 4, pointsize = 8)
#Empirical cumulative distribution function (ecdf) example. Data = von Bortkiewicz's famous dataset of deaths by horse kick in Prussian cavalry corps
library("pscl")
par(mar=c(4,4,5,3)+0.1)
X <- tapply(prussian$y, prussian$year, sum)
plot(ecdf(X), verticals=TRUE, xlim=c(0,20), main="", xlab=expression(italic("deathsPerYear")), ylab="Cumulative density")
title("Deaths by horsekick in\nPrussian cavalry corps, 1875-94", line=2)
dev.off()
 
This W3C-unspecified chart was created with R.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

6 March 2009

File history

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

Date/TimeThumbnailDimensionsUserComment
current22:53, 6 March 2009Thumbnail for version as of 22:53, 6 March 2009360 × 360 (86 KB)HYanWong {{Information |Description={{en|1=Empirical cumulative distribution function (ecdf) example. Data {{=}} von Bortkiewicz's famous dataset of deaths by horse kick in Prussian cavalry corps}} |Source=Own work by uploader |Author=HYanWong |

The following page uses this file: