File:Cdf-ecdf.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(SVG file, nominally 554 × 424 pixels, file size: 42 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary[edit]

Description
English: A graph of the cumulative distribution function (cdf, red) of the standard normal distribution and the empirical cumulative distribution function (ecdf, blue) of a sample of size 50 from the standard normal distribution.
Date
Source Own work
Author ARAKI Satoru
 
W3C-validity not checked.
library(ggplot2)
set.seed(123)
df <- data.frame(val=rnorm(50))
p <-
  ggplot(df, aes(x=val)) +
  stat_ecdf(geom="point", colour="#0072B2") +
  stat_ecdf(colour="#0072B2", size=1) +
  stat_function(fun=pnorm, colour="#D55E00", size=1) +
  labs(x="", y="")
svg(filename="cdf-ecdf.svg", width=6.16, height=4.71)
plot(p)
dev.off()

Licensing[edit]

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 4.0 International 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.

File history

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

Date/TimeThumbnailDimensionsUserComment
current08:13, 8 April 2016Thumbnail for version as of 08:13, 8 April 2016554 × 424 (42 KB)ARAKI Satoru (talk | contribs)User created page with UploadWizard

There are no pages that use this file.

File usage on other wikis

The following other wikis use this file:

Metadata