File:OLS example weight vs height scatterplot.svg

Uploaded by Stpasha
Upload date 2009-07-06T21:15:03Z
MIME type image/svg+xml
Dimensions 360 × 239 px
File size 22.0 KB

Summary

Description
English: Example of OLS regression, 1st step: scatterplot of the data
Date
Source Own work
Author Stpasha

Source code (Mathematica)

H = {1.47,  1.50,  1.52,  1.55,  1.57,  1.60,  1.63,  1.65,  1.68,  1.70,  1.73,  1.75,  1.78,  1.80,  1.83};
W = {52.21, 53.12, 54.48, 55.84, 57.20, 58.57, 59.93, 61.29, 63.11, 64.47, 66.28, 68.10, 69.92, 72.19, 74.46};
ListPlot[Table[{H[[i]], W[[i]]}, {i, 1, 15}], 
  PlotRange -> {{1.42, 1.88}, {50, 77}}, 
  PlotStyle -> PointSize[0.025],
  AxesOrigin -> {1.42, 50}, 
  Frame -> True, 
  FrameLabel -> {"Height,  m", "Weight,  kg"}, 
  FrameStyle -> Directive[FontFamily->"Helvetica", 14, Thickness->0.003]
  ]
Export["wh-scatter.svg", %];

Licensing

Public domain I, the copyright holder of this work, release this work into the public domain. This applies worldwide.
In some countries this may not be legally possible; if so:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

5 July 2009

image/svg+xml

Category:PD-self Category:Regression analysis Category:SVG control theory Category:Scatterplots Category:Self-published work Category:Signal processing