File:Simpson's paradox continuous.svg
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Size of this PNG preview of this SVG file: 390 × 260 pixels. Other resolutions: 320 × 213 pixels | 640 × 427 pixels | 1,024 × 683 pixels | 1,280 × 853 pixels | 2,560 × 1,707 pixels.
Original file (SVG file, nominally 390 × 260 pixels, file size: 18 KB)
File information
Structured data
Captions
Summary
[edit]DescriptionSimpson's paradox continuous.svg |
English: Illustration of the quantitative version of en:Simpson's paradox: a positive trend appears for two separate groups (blue and red), whereas a negative trend (black, dashed) appears when the groups are combined. |
Date | |
Source | Own work |
Author | Schutz |
Example of the quantitative version of w:Simpson's paradox.
The graphic was created by User:Schutz for Wikipedia on 14 June 2007, using the R statistical project. The program that generated and exported the graphic is given below; the uploaded version was generated slightly differently to workaround a bug during the PS to SVG conversion with pstoedit command. The layout was slightly modified using Inkscape before upload.
x1 <- c(1,2,3,4) y1 <- x1 + 5 x2 <- x1 + 7 y2 <- x2 - 7 x <- c(x1,x2) y <- c(y1,y2) postscript("simpson.eps", paper="special", width=4.5, height=3) par(las=1) par(mar=c(3,3,0.5,0.5)) par(mgp=c(2,1,0)) plot(x,y, cex=2, pch=21, col=rep(c("blue", "red"), each=4), bg=rep(c("lightblue", "pink"), each=4), xlim=range(x)+c(-2,2), ylim=range(y)+c(-2,2)) abline(lm(y1 ~ x1), col="blue", lwd=2) abline(lm(y2 ~ x2), col="red", lwd=2) abline(lm(y ~ x), lwd=2, lty=2) dev.off()
Licensing
[edit]Public domainPublic domainfalsefalse |
This work has been released into the public domain by its author, I, Schutz. This applies worldwide. In some countries this may not be legally possible; if so: I, Schutz grants anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law. |
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 23:15, 13 June 2007 | 390 × 260 (18 KB) | Schutz (talk | contribs) | {{Information |Description=Illustration of the continuous version of Simpson's paradox |Source=self-made |Date=14 June 2007 |Author=Schutz }} Example of the continuous version of w:Simpson's paradox. The graphic was created by [[User |
You cannot overwrite this file.
File usage on Commons
The following 2 pages use this file:
File usage on other wikis
The following other wikis use this file:
- Usage on ar.wikipedia.org
- Usage on ca.wikipedia.org
- Usage on cs.wikipedia.org
- Usage on cy.wikipedia.org
- Usage on de.wikipedia.org
- Usage on en.wikipedia.org
- Usage on es.wikipedia.org
- Usage on eu.wikipedia.org
- Usage on fi.wikipedia.org
- Usage on fr.wikipedia.org
- Usage on he.wikipedia.org
- Usage on ko.wikipedia.org
- Usage on nl.wikipedia.org
- Usage on no.wikipedia.org
- Usage on pl.wikipedia.org
- Usage on pt.wikipedia.org
- Usage on ru.wikipedia.org
- Usage on sk.wikipedia.org
- Usage on ta.wikipedia.org
- Usage on uk.wikipedia.org
- Usage on vi.wikipedia.org
- Usage on www.wikidata.org
- Usage on zh.wikipedia.org