Jump to content

File:Anscombe's quartet 3.svg

This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia
    Original file (SVG file, nominally 990 × 720 pixels, file size: 59 KB)
    Description

    This graphic represents the four datasets defined by Francis Anscombe for which some of the usual statistical properties (mean, variance, correlation and regression line) are the same, even though the datasets are different.

    Reference:

    • Anscombe, Francis J. (1973) Graphs in statistical analysis. American Statistician, 27, 17–21.
    Date (UTC)
    Source Anscombe.svg
    Author
    SVG development
    InfoField
     The SVG code is valid.
     This chart was created with R.
    This graphic is derived from earlier work by Schutz and the R development core team. As far as their rights and licensing allow, I license my contribution under the all the following licenses. The GPL is the only one I am sure applies.

    Wikipedia

     This is a featured picture on the English language Wikipedia (Featured pictures) and is considered one of the finest images. See its nomination here.

    If you think this file should be featured on Wikimedia Commons as well, feel free to nominate it.
    If you have an image of similar quality that can be published under a suitable copyright license, be sure to upload it, tag it, and nominate it.

    Source code
    InfoField

    R code

    R code to create the graphic:
      svg("Anscombe's quartet 3.svg", width=11, height=8)
      op <- par(las=1, mfrow=c(2,2), mar=1.5+c(4,4,1,1), oma=c(0,0,0,0),
                lab=c(6,6,7), cex.lab=2.0, cex.axis=1.3, mgp=c(3,1,0))
      ff <- y ~ x
      for(i in 1:4) {
        ff[[2]] <- as.name(paste("y", i, sep=""))
        ff[[3]] <- as.name(paste("x", i, sep=""))
        lmi <- lm(ff, data= anscombe)
        xl <- substitute(expression(x[i]), list(i=i))  
        yl <- substitute(expression(y[i]), list(i=i))
        plot(ff, data=anscombe, col="red", pch=21, cex=2.4, bg = "orange", 
             xlim=c(3,19), ylim=c(3,13)
             , xlab=eval(xl), ylab=yl  # for version 3
            )  
        abline(lmi, col="blue")
      }
      par(op)
      dev.off()
    
    I, the copyright holder of this work, hereby publish it under the following licenses:

    This work is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version. This work is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See version 2 and version 3 of the GNU General Public License for more details.

    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.
    GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
    You may select the license of your choice.

    Original upload log

    This image is a derivative work of the following images:

    • File:Anscombe.svg licensed with GPL
      • 2007-01-15T00:07:48Z Schutz 990x677 (90185 Bytes)
      • 2007-01-15T00:05:45Z Schutz 990x677 (90340 Bytes)
      • 2006-06-13T21:37:54Z Schutz 1044x750 (95808 Bytes)
      • 2006-06-13T18:27:51Z Schutz 1125x875 (95747 Bytes)

    Uploaded with derivativeFX

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    26 March 2010

    image/svg+xml

    4e4e8edffc872960f88c94479d660040f8d9ca9a

    60,580 byte

    720 pixel

    990 pixel

    File history

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

    Date/TimeThumbnailDimensionsUserComment
    current17:18, 26 March 2010Thumbnail for version as of 17:18, 26 March 2010990 × 720 (59 KB)AvenueIncrease size of axis titles
    17:09, 26 March 2010Thumbnail for version as of 17:09, 26 March 2010990 × 720 (59 KB)Avenue{{Information |Description=This graphic represents the four datasets defined by Francis Anscombe for which some of the usual statistical properties (mean, variance, correlation and regression line) are the same, even though the datasets are different. |So

    Global file usage

    The following other wikis use this file: