File:OLS example weight vs height fitted line.svg
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Size of this PNG preview of this SVG file: 360 × 239 pixels. Other resolutions: 320 × 212 pixels | 640 × 425 pixels | 1,024 × 680 pixels | 1,280 × 850 pixels | 2,560 × 1,700 pixels.
Original file (SVG file, nominally 360 × 239 pixels, file size: 23 KB)
File information
Structured data
Captions
Summary
[edit]DescriptionOLS example weight vs height fitted line.svg |
English: Example of OLS: regression of weight against height of american women; this picture shows dataset and fitted regression line |
Date | |
Source | Own work |
Author | Stpasha |
Source code (Mathematica)
[edit]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}; Show[ Plot[128.8128 - 143.1620 h + 61.9603 h^2, {h, 1.45, 1.85}, PlotStyle -> {Thickness[0.005], Hue[0]}, PlotRange -> {{1.42, 1.88}, {50, 78}}, AxesOrigin -> {1.42, 78}, Frame -> True, FrameLabel -> {"Height, m", "Weight, kg"}, FrameStyle -> Directive[FontFamily->"Helvetica", 14, Thickness->0.003] ], ListPlot[Table[{H[[i]], W[[i]]}, {i, 1, 15}], PlotStyle -> PointSize[0.02] ] ] Export["wh-fitted.svg", %];
Licensing
[edit]Public domainPublic domainfalsefalse |
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. |
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 21:18, 6 July 2009 | 360 × 239 (23 KB) | Stpasha (talk | contribs) | corrected scale | |
06:16, 6 July 2009 | 512 × 512 (23 KB) | Stpasha (talk | contribs) | {{Information |Description={{en|1=Example of OLS: regression of weight against height of american women; this picture shows dataset and fitted regression line}} |Source=Own work by uploader |Author=Stpasha |Date=2009-07-05 |Permission= |o |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file:
- Usage on en.wikipedia.org