Concept Flow - Linear regression basics
Start with data points
Calculate mean of X and Y
Calculate slope (m)
Calculate intercept (b)
Form line equation: y = m*x + b
Use line to predict new Y values
Evaluate fit (optional)
This flow shows how linear regression finds the best line through data by calculating slope and intercept, then uses it to predict values.