Image:Correlation examples.png

From Wikipedia, the free encyclopedia

Wikimedia Commons logo This is a file from the Wikimedia Commons. The description on its description page there is shown below.
Commons is a freely licensed media file repository. You can help.
Description

See below.

Source

Transferred from en.wikipedia; Transfer was stated to be made by User:jtneill.

Date

2007-12-08 (first version); 2007-12-08 (last version)

Author

Original uploader was Imagecreator at en.wikipedia

Permission
(Reusing this image)

Released into the public domain (by the author).


[edit] Description

An example of the correlation of x and y for various distributions of (x,y) pairs. It was created by this Mathematica 6 code, which I wrote and release into the public domain:

n = 2000;
GraphicsArray[{
  Table[makePlot[
    Table[{RandomReal[NormalDistribution[0, 1]], (1 - Abs[w])*
        RandomReal[NormalDistribution[0, 1]]} . 
      RotationMatrix[-Sign[w]*Pi/4], {i, -1, 1, 2./n}], 1000], {w, 
    1, -1, -1/3}],
  Table[makePlot[Table[{x, slope*x}, {x, -1, 1, 2./n}], 100], {slope, 
    1, -1, -1/3}],
  {
   makePlot[
    Table[{x + RandomReal[]/3, 
      4 (x^2 - 1/2)^2 + RandomReal[]/500} , {x, -1, 1, 2./n}], 2000],
   makePlot[
    Table[{RandomReal[{-1, 1}], RandomReal[{-1, 1}]} . 
      RotationMatrix[-Pi/8], {x, -1, 1, 2./n}], 1400],
   makePlot[
    Table[{RandomReal[{-1, 1}], RandomReal[{-1, 1}]} . 
      RotationMatrix[-Pi/4], {x, -1, 1, 2./n}], 1400],
   makePlot[Table[{x, x^2 + RandomReal[]}/2, {x, -1, 1, 2./n}], 
    1400],
   makePlot[
    Table[{x, x^2 + RandomReal[]/2}*(RandomInteger[1]*2 - 1), {x, -1, 
      1, 2./n}], 1000],
   makePlot[
    Table[{Sin[x*Pi] + RandomReal[NormalDistribution[0, 1/8]], 
      Cos[x*Pi] + RandomReal[NormalDistribution[0, 1/8]]}, {x, -1, 1, 
      2./n}], 1400],
   makePlot[
    Table[{RandomReal[NormalDistribution[0, 1/3]], 
       RandomReal[
        NormalDistribution[0, 1/3]]} + {RandomInteger[1]*2 - 1, 
       RandomInteger[1]*2 - 1}, {x, -1, 1, 2./n}], 1400]
   }
  }]

[edit] License information

Public domain This image has been (or is hereby) released into the public domain by its author, Imagecreator at the wikipedia project. This applies worldwide.

In case this is not legally possible:
Imagecreator grants anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

This image should be recreated using vector graphics as an SVG file. This has several advantages; see Commons:Media for cleanup for more information. If an SVG form of this image is already available, please upload it. After uploading an SVG, replace this template with template {{Vector version available|new image name.svg}} in this image.

العربية | Български | Català | Česky | Dansk | Deutsch | English | Esperanto | Español | Français | 한국어 | Italiano | Magyar | Lietuvių | Nederlands | 日本語 | Polski | Português | Română | Русский | Suomi | Svenska | Türkçe | Українська | Tiếng Việt | मराठी | ‪中文(繁體)‬ | ‪中文(简体)‬ | +/-

[edit] Original upload log

The original description page is/was here. All following user names refer to en.wikipedia.

  • 2007-12-08 19:16 Imagecreator 824×346×8 (20371 bytes) == Summary == An example of the correlation of x and y for various distributions of (x,y) pairs. It was created by this Mathematica 6 code, which I wrote and release into the public domain: <pre> (*Several sets of (x,y) points, with the correlation coef
  • 2007-12-08 18:48 Imagecreator 824×346×8 (21374 bytes) An example of the correlation of x and y for various distributions of (x,y) pairs. It was created by this Mathematica 6 code, which I wrote and release into the public domain: (*Several sets of (x,y) points, with the correlation coefficient of x \ and y

File history

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

Date/TimeDimensionsUserComment
current10:27, 18 March 2008824×346 (20 KB)Jtneill ({{Information |Description={{en|An example of the correlation of x and y for various distributions of (x,y) pairs. It was created by this Mathematica 6 code, which I wrote and release into the public domain: n = 2000; GraphicsArray[{ Table[makePlot[ )
The following pages on the English Wikipedia link to this file (pages on other projects are not listed):