Log in Sign up
Learn Coach About Donate
  • Home
  • Knowledge Map
  • Math
    MathKnowledge Map
    • Arithmetic and pre-algebra
    • Probability and statistics
    • Algebra
    • Differential equations
    • Geometry
    • Linear algebra
    • Trigonometry and precalculus
    • Applied math
    • Calculus
    • Recreational mathematics
  • Science & Economics
    Science & Economics
    • Biology
    • Macroeconomics
    • Chemistry
    • Computer science
    • Physics
    • Healthcare and medicine
    • Cosmology and astronomy
    • LeBron asks
    • Organic chemistry
    • Projects
    • Finance and capital markets
    • MIT+K12
    • Microeconomics
  • Computer Science
    Computer Science
    • Drawing
    • Animation
    • Programming Basics
    • User Interaction
  • Humanities
    Humanities
    • World History
    • American Civics
    • Art History
  • Test Prep
    Test Prep
    • SAT Math
    • California Standards Test
    • GMAT
    • Competition Math
    • CAHSEE
    • IIT JEE
  • Talks and Interviews
  • Coach Resources
  • Browse all videos
Regression
Fitting a line to points. Linear regression. R-squared.
Subscribed Subscribe
Practice this topic

Linear regression and correlation

Even when there might be a rough linear relationship between two variables, the data in the real-world is never as clean as you want it to be. This tutorial helps you think about how you can best fit a line to the relationship between two variables.
  • Estimating the line of best fit
  • Correlation and Causality
  • Squared Error of Regression Line
  • Proof (Part 1) Minimizing Squared Error to Regression Line
  • Proof Part 2 Minimizing Squared Error to Line
  • Proof (Part 3) Minimizing Squared Error to Regression Line
  • Proof (Part 4) Minimizing Squared Error to Regression Line
  • Regression Line Example
  • Second Regression Example
  • R-Squared or Coefficient of Determination
  • Calculating R-Squared
  • Covariance and the Regression Line
Probability and statistics
  • Probability and statistics

  • Community Questions
  • Topics
  • Independent and dependent events
  • Probability and combinatorics
  • Random variables and probability distributions
  • Descriptive statistics
  • Regression
  • Inferential statistics
Regression
Fitting a line to points. Linear regression. R-squared.
Subscribed Subscribe
Practice this topic

Linear regression and correlation

Even when there might be a rough linear relationship between two variables, the data in the real-world is never as clean as you want it to be. This tutorial helps you think about how you can best fit a line to the relationship between two variables.
  • Estimating the line of best fit
  • Correlation and Causality
  • Squared Error of Regression Line
  • Proof (Part 1) Minimizing Squared Error to Regression Line
  • Proof Part 2 Minimizing Squared Error to Line
  • Proof (Part 3) Minimizing Squared Error to Regression Line
  • Proof (Part 4) Minimizing Squared Error to Regression Line
  • Regression Line Example
  • Second Regression Example
  • R-Squared or Coefficient of Determination
  • Calculating R-Squared
  • Covariance and the Regression Line
 
  • About
  • Our Mission
  • Blog
  • Our Team
  • Our Interns
  • Our Supporters
  • Discovery Lab
  • MCAT Video Competition
  • Help
  • Report a Problem
  • FAQ
  • Contact Us
  • Contact
  • Press
  • Coaching
  • Coach Dashboard
  • Teacher Toolkit
  • Coaching Tips
  • Pilot Schools
  • Careers
  • Full Time
  • Internships
  • More
  • Donate
  • Shop KA
  • International
  • Translate our content
  • Social
  • Facebook
  • Twitter
  • Life at KA
Terms of Use
Privacy Policy
© 2013 Khan Academy
Except where noted, all rights reserved.