Datei:Simpson's paradox continuous.svg

Aus testwiki
Zur Navigation springen Zur Suche springen
    Originaldatei (SVG-Datei, Basisgröße: 390 × 260 Pixel, Dateigröße: 18 KB)

    Diese Datei stammt aus Wikimedia Commons und kann von anderen Projekten verwendet werden. Die Beschreibung von deren Dateibeschreibungsseite wird unten angezeigt.

     W3C-validity not checked.

    Beschreibung

    Beschreibung
    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.
    Datum
    Quelle Eigenes Werk
    Urheber 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()
      
    
     Dieses W3C-unbestimmte Chart wurde mit R erstellt.

    Lizenz

    Public domain Dieses Werk wurde von seinem Urheber Schutz als gemeinfrei veröffentlicht. Dies gilt weltweit.
    In manchen Staaten könnte dies rechtlich nicht möglich sein. Sofern dies der Fall ist:
    Schutz gewährt jedem das bedingungslose Recht, dieses Werk für jedweden Zweck zu nutzen, es sei denn, Bedingungen sind gesetzlich erforderlich.
     Dieses W3C-unbestimmte Chart wurde mit R erstellt.

    Kurzbeschreibungen

    Ergänze eine einzeilige Erklärung, was diese Datei darstellt.
    Simpson's paradox for quantitative data: a positive trend appears for two separate groups, whereas a negative trend appears when the groups are combined.

    In dieser Datei abgebildete Objekte

    Motiv

    Dateiversionen

    Klicke auf einen Zeitpunkt, um diese Version zu laden.

    Version vomVorschaubildMaßeBenutzerKommentar
    aktuell00:15, 14. Jun. 2007Vorschaubild der Version vom 00:15, 14. Jun. 2007390 × 260 (18 KB)wikimediacommons>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

    Keine Seite verwendet diese Datei.