Jump to content
Wikipedia The Free Encyclopedia

File:Simpson's paradox continuous.svg

From Wikipedia, the free encyclopedia
Original file (SVG file, nominally 390 ×ばつ 260 pixels, file size: 18 KB)
This is a file from the Wikimedia Commons. Information from its description page there is shown below.
Commons is a freely licensed media file repository. You can help.
This image was selected as picture of the month on the Mathematics Portal for February 2014.
W3C-validity not checked.

Summary

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()
 
This W3C-unspecified chart was created with R.

Licensing

Public domainPublic domainfalsefalse
[画像:Public domain] This work has been released into the public domain by its author, Schutz . This applies worldwide.
In some countries this may not be legally possible; if so:
Schutz grants 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.

Captions

Simpson's paradox for quantitative data: a positive trend appears for two separate groups, whereas a negative trend appears when the groups are combined.
Simpsons paradoks for kvantitative data: en positiv trend vises for to separate grupper, mens en negativ trend vises når gruppene kombineres.

Items portrayed in this file

depicts

inception<\/a>"}},"text\/plain":{"en":{"":"inception"}}},"{\"value\":{\"time\":\"+2007年06月14日T00:00:00Z\",\"timezone\":0,\"before\":0,\"after\":0,\"precision\":11,\"calendarmodel\":\"http:\\\/\\\/www.wikidata.org\\\/entity\\\/Q1985727\"},\"type\":\"time\"}":{"text\/html":{"en":{"P571":"14 June 2007"}},"text\/plain":{"en":{"P571":"14 June 2007"}}}}" class="wbmi-entityview-statementsGroup wbmi-entityview-statementsGroup-P571 oo-ui-layout oo-ui-panelLayout oo-ui-panelLayout-framed">

14 June 2007

source of file<\/a>"}},"text\/plain":{"en":{"":"source of file"}}},"{\"value\":{\"entity-type\":\"item\",\"numeric-id\":66458942,\"id\":\"Q66458942\"},\"type\":\"wikibase-entityid\"}":{"text\/html":{"en":{"P7482":"original creation by uploader<\/a>"}},"text\/plain":{"en":{"P7482":"original creation by uploader"}}}}" class="wbmi-entityview-statementsGroup wbmi-entityview-statementsGroup-P7482 oo-ui-layout oo-ui-panelLayout oo-ui-panelLayout-framed">

File history

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

Date/TimeThumbnailDimensionsUserComment
current23:15, 13 June 2007 Thumbnail for version as of 23:15, 13 June 2007 390 ×ばつ 260 (18 KB)Schutz {{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

Global file usage

The following other wikis use this file:

AltStyle によって変換されたページ (->オリジナル) /