File:Linear regression.svg

Original file ‎(SVG file, nominally 438 × 289 pixels, file size: 71 KB)

Summary

 
This diagram was created with SageMath.
Description
English: Random data points and their linear regression. Created with the following Sage (http://sagemath.org) commands:
X = RealDistribution('uniform', [-20, 60])

Y = RealDistribution('gaussian', 1.5)

f(x) = 3*x/20 + 5

xvals = [X.get_random_element() for _ in range(100)]

data = [(x, f(x) + Y.get_random_element()) for x in xvals]

m, b = var('m b')

g(x) = m*x + b

g(x) = g(x).subs(find_fit(data, g, solution_dict=True))

p = list_plot(data) + plot(g, (x, -20, 60), color='red')

p.save('linear_regression.svg')
Date
Source Own work
Author Sewaqu
Other versions Derivative works of this file:  Sedm zakladnich nastroju zlepsovani kvality cz.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

A straight line with y-intercept 5 fitted to datapoints

Items portrayed in this file

depicts

Extrapolation

creator

some value

author name string: Sewaqu
URL: https://commons.wikimedia.org/wiki/user:Sewaqu
Wikimedia username: Sewaqu

copyright status

copyrighted, dedicated to the public domain by copyright holder

copyright license

released into the public domain by the copyright holder

inception

5 November 2010

source of file

original creation by uploader

MIME type

image/svg+xml

File history

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

Date/TimeThumbnailDimensionsUserComment
current10:42, 31 March 2016438 × 289 (71 KB)RaphaelQStransparent background
03:18, 5 November 2010438 × 289 (42 KB)Sewaqu{{Information |Description={{en|1=Random data points and their linear regression. Created with the following Sage (http://sagemath.org) commands: X = RealDistribution('uniform', [-20, 60]) Y = RealDistribution('gaussian', 1.5) f(x) = 3*x/20 + 5 xvals
The following pages on the English Wikipedia use this file (pages on other projects are not listed):

Global file usage

The following other wikis use this file:

  • Usage on ar.wikipedia.org
    • تحليل الانحدار
    • مربعات دنيا
    • قالب:تحليل الانحدار
    • مستخدم:John Abdo/Linear regression
  • Usage on ast.wikipedia.org
    • Regresión llinial
  • Usage on az.wikipedia.org
    • Reqressiya analizi
  • Usage on be.wikipedia.org
    • Параметр
    • Лінейная рэгрэсія
  • Usage on bg.wikipedia.org
    • Метод на най-малките квадрати
  • Usage on bn.wikipedia.org
    • নির্ভরণ বিশ্লেষণ
  • Usage on cs.wikipedia.org
    • Sedm základních nástrojů zlepšování kvality
    • Korelační diagram
  • Usage on de.wikipedia.org
    • Maschinelles Lernen
    • Lineare Einfachregression
  • Usage on el.wikipedia.org
    • Απλή γραμμική παλινδρόμηση
    • Γραμμική παλινδρόμηση
    • Μαθηματική στατιστική
  • Usage on en.wikiversity.org
    • User:Akela1101/Supervised Learning Algorithms
  • Usage on eo.wikipedia.org
    • Regreso (statistiko)
  • Usage on es.wikipedia.org
    • Teorema de Gauss-Márkov
    • Análisis de la regresión
    • Metodología de ciencias sociales
    • Regresión lineal
    • Regresión robusta
    • Plantilla:Portada Bueno/4165
  • Usage on et.wikipedia.org
    • Lineaarregressioon
  • Usage on eu.wikipedia.org
    • Erregresio-analisi
  • Usage on fa.wikipedia.org
    • آمار ریاضی
    • مدل سلسله‌مراتبی
    • رگرسیون خطی بیز
    • ویکی‌پدیا:نوشتار پیشنهادی/۲۰۲۰/۱۴
    • ویکی‌پدیا:نوشتار پیشنهادی/۲۰۲۰/۱۵
    • ویکی‌پدیا:نوشتار پیشنهادی/۲۰۲۱/۱۴
  • Usage on fr.wikipedia.org
    • Régression linéaire
    • Régression (statistiques)
    • Statistique mathématique
    • Nuage de points (statistique)
    • Méthode des moindres carrés ordinaire
    • Modèle linéaire
    • Analyse prédictive
    • Utilisateur:PAC2/Contributions
    • Ajustement affine
  • Usage on gl.wikipedia.org
    • Análise da regresión
    • Regresión linear
  • Usage on he.wikipedia.org
    • קרל פרידריך גאוס
  • Usage on hi.wikipedia.org
    • गणितीय सांख्यिकी
  • Usage on hu.wikipedia.org
    • Lineáris regresszió
  • Usage on hy.wikipedia.org
    • Մաթեմատիկական վիճակագրություն
    • Գծային ռեգրեսիա
  • Usage on id.wikipedia.org
    • Statistika matematika

View more global usage of this file.

Metadata

Retrieved from "https://en.wikipedia.org/wiki/File:Linear_regression.svg"