Keywords: Correlation examples.png See below en wikipedia jtneill 2007-12-08 Imagecreator wikipedia en graph 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 needs makePlot <pre> n 2000; GraphicsArray TablemakePlot Table RandomRealNormalDistribution0 1 1 - Absw RandomRealNormalDistribution0 1 RotationMatrix-Signw Pi/4 i -1 1 2 /n 1000 w 1 -1 -1/3 TablemakePlotTable 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 makePlotTable x x 2 + RandomReal /2 x -1 1 2 /n 1400 makePlot Table x x 2 + RandomReal/2 RandomInteger1 2 - 1 x -1 1 2 /n 1000 makePlot Table Sinx Pi + RandomRealNormalDistribution0 1/8 Cosx Pi + RandomRealNormalDistribution0 1/8 x -1 1 2 /n 1400 makePlot Table RandomRealNormalDistribution0 1/3 RandomReal NormalDistribution0 1/3 + RandomInteger1 2 - 1 RandomInteger1 2 - 1 x -1 1 2 /n 1400 </pre> Imagecreator original upload log page en wikipedia Corr-example2 png 2007-12-08 19 16 Imagecreator 824×346×8 20371 bytes <nowiki> 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</nowiki> 2007-12-08 18 48 Imagecreator 824×346×8 21374 bytes <nowiki>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</nowiki> Correlation Images with Mathematica source code |