Jump to content
Wikipedia The Free Encyclopedia

File:Linear-regression.svg

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Original file (SVG file, nominally 600 ×ばつ 480 pixels, file size: 7 KB)
This is a file from the Wikimedia Commons. Information from its description page there is shown below.
Commons is a freely licensed media file repository. You can help.

Summary

DescriptionLinear-regression.svg
English: An example of linear regression
Date
Source Own work
Author Qef
Other versions Designed to replace original bitmap version: en:File:Linear-regression.png

Licensing

Public domainPublic domainfalsefalse
[画像:Public domain] This work has been released into the public domain by its author, Qef . This applies worldwide.

In some countries this may not be legally possible; if so:
Qef grants anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

Gnuplot source

Created with the following Gnuplot file:

set terminal svg font "Bitstream Vera Sans,24"
set output "Linear-regression.svg"
set xrange [0:1]
set yrange [2:6]
set xzeroaxis linetype -1
set yzeroaxis linetype -1
set xtics border nomirror 0.5
set ytics border nomirror 2
set key off
set border 15
set samples 2 # duh, straight line
plot '-' with points pointtype 6 pointsize 1.5 linecolor 6
0.84018771715471	5.0920721752254
0.78309922375861	5.4993770054934
0.91164735793678	5.0219594480046
0.33522275571489	3.663139781769
0.27777471080319	3.2292176040979
0.47739705186216	4.0677809238643
0.36478447279184	3.5137723092023
0.95222972517471	6.3816035819077
0.6357117279599	4.7956233221396
0.1416025553558	2.7597376235082
0.01630057162433	2.0398219692681
0.13723157678602	2.9002851883054
0.15667908925408	2.6485946288034
0.12979044678146	2.3215484331961
0.99892451800356	5.3518979261186
0.5129323944044	4.4596524827421
0.61263983259566	4.1465031113153
0.63755226770302	4.5417962600388
e
plot 3.7*x+2.15 with lines linewidth 3 linecolor 1

The actual data is just randomly choosen points along the line, randomly displaced from it, created with a small Lua program:

function f (x) return 3.7 * x + 2.15 end
for _ = 1, 18 do
 local x = math.random()
 print(x, f(x) * (0.85 + 0.3 * math.random()))
end

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

inception<\/a>"}},"text\/plain":{"en":{"":"inception"}}},"{\"value\":{\"time\":\"+2009年06月21日T00:00:00Z\",\"timezone\":0,\"before\":0,\"after\":0,\"precision\":11,\"calendarmodel\":\"http:\\\/\\\/www.wikidata.org\\\/entity\\\/Q1985727\"},\"type\":\"time\"}":{"text\/html":{"en":{"P571":"21 June 2009"}},"text\/plain":{"en":{"P571":"21 June 2009"}}}}" class="wbmi-entityview-statementsGroup wbmi-entityview-statementsGroup-P571 oo-ui-layout oo-ui-panelLayout oo-ui-panelLayout-framed">

21 June 2009

source of file<\/a>"}},"text\/plain":{"en":{"":"source of file"}}},"{\"value\":{\"entity-type\":\"item\",\"numeric-id\":66458942,\"id\":\"Q66458942\"},\"type\":\"wikibase-entityid\"}":{"text\/html":{"en":{"P7482":"original creation by uploader<\/a>"}},"text\/plain":{"en":{"P7482":"original creation by uploader"}}}}" class="wbmi-entityview-statementsGroup wbmi-entityview-statementsGroup-P7482 oo-ui-layout oo-ui-panelLayout oo-ui-panelLayout-framed">

File history

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

Date/TimeThumbnailDimensionsUserComment
current05:19, 21 June 2009 Thumbnail for version as of 05:19, 21 June 2009 600 ×ばつ 480 (7 KB)Qef {{Information |Description={{en|1=An example of linear regression}} |Source=Own work by uploader |Author=Qef |Date=2009年06月21日 |Permission= |other_versions=Designed to replace original bitmap version: en:File:Linear-regression.png }} <!-

The following page uses this file:

Global file usage

The following other wikis use this file:

Metadata

This file contains additional information, probably added from the digital camera or scanner used to create or digitize it.

If the file has been modified from its original state, some details may not fully reflect the modified file.

Image titleProduced by GNUPLOT 4.2 patchlevel 3

AltStyle によって変換されたページ (->オリジナル) /