File:OLS example weight vs height residuals.svg

From Wikimedia Commons, the free media repository

Jump to: navigation, search

OLS_example_weight_vs_height_residuals.svg(SVG file, nominally 360 × 203 pixels, file size: 14 KB)

Contents

[edit] Summary

Description
English: Example of OLS regression, avg weight regressed on height in population of american women; this graph shows the residuals of the regression.
Date

5 July 2009(2009-07-05)

Source

Own work

Author

Stpasha

Permission
(Reusing this image)

See below.

[edit] 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};
fitted[h_] := 128.8128 - 143.1620 h + 61.9603 h^2;
ListLinePlot[Table[{H[[i]], W[[i]] - fitted[H[[i]]]}, {i, 1, 15}], 
 PlotStyle -> {PointSize[0.02], Thickness[0.005]}, 
 Mesh -> All, 
 Filling -> Axis, 
 AxesOrigin -> {1.45, 0},
 PlotRange -> {{1.45, 1.85}, {-0.5, 0.5}}, 
 AxesStyle -> Directive[FontFamily->"Helvetica", 14, Thickness->0.003]
]
Export["wh-residuals.svg", %]

[edit] Licensing:

Public domain I, the copyright holder of this work, hereby release it into the public domain. This applies worldwide.

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


Afrikaans | Alemannisch | Aragonés | العربية | Asturianu | Azərbaycan | Беларуская (тарашкевіца) | Български | Català | Cebuano | Soranî / کوردی | Česky | Cymraeg | Dansk | Deutsch | Ελληνικά | English | Esperanto | Español | Eesti | Euskara | Estremeñu | فارسی | Suomi | Français | Galego | עברית | हिन्दी | Hrvatski | Magyar | Հայերեն | Bahasa Indonesia | Ido | Íslenska | Italiano | 日本語 | ქართული | ភាសាខ្មែរ | 한국어 | Ripoarisch | Kurdî / كوردی | Latina | Lietuvių | Latviešu | 文言 | Македонски | Bahasa Melayu | Plattdüütsch | Nederlands | ‪Norsk (nynorsk)‬ | ‪Norsk (bokmål)‬ | Polski | Português | Română | Русский | Slovenčina | Slovenščina | Shqip | Српски / Srpski | Svenska | ไทย | Tagalog | Türkçe | Українська | Vèneto | Tiếng Việt | Walon | 吴语 | 中文 | ‪中文(简体)‬ | ‪中文(繁體)‬ | 粵語 | +/−

Information icon.svg The categories of this image should be checked. Check them now!
  • Remove redundant categories and try to put this image in the most specific category/categories
  • Remove this template

Afrikaans | Alemannisch | Català | Česky | Dansk | Deutsch | Deutsch (Sie-Form) | English | Español | Eesti | Suomi | Français | עברית | Հայերեն | Italiano | 日本語 | Magyar | Македонски | Malti | Plattdüütsch | Nederlands | Polski | Português | Română | Русский | Slovenčina | ไทย | Vèneto | 中文 | +/−


Usage:

Related galleries:

File history

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

Date/TimeThumbnailDimensionsUserComment
current21:22, 6 July 2009Thumbnail for version as of 21:22, 6 July 2009360×203 (14 KB)Stpasha (talk | contribs) (corrected scale)
06:24, 6 July 2009Thumbnail for version as of 06:24, 6 July 2009512×512 (14 KB)Stpasha (talk | contribs) ({{Information |Description={{en|1=Example of OLS regression, avg weight regressed on height in population of american women; this graph shows the residuals of the regression.}} |Source=Own work by uploader |Author=Stpasha |Date=2009-07-05)

There are no pages that link to this file.

Global file usage

The following other wikis use this file: