Numerical Methods2D
Curve Fitting and Interpolation - Theory & Concepts - Linear Regression
Techniques for approximating discrete data points with continuous functions.
Open the complete lessonLeast-Squares Linear Regression
Drag the points or click on the graph to add new points. Observe how the best-fit line minimizes the sum of squared residuals.
Click to add points (max 15). Drag to move.
Regression Statistics
Equation of the Line
y = 0.329 + 1.032x
Intercept ()
0.3286
Slope ()
1.0321
R-squared ()
0.9820
Sum of Squares ()
0.5482