- Correlation and regression analysis assess the strength and direction of the linear relationship between two variables.
- Regression fits a straight line to the data points to summarize the relationship, with the goal of minimizing the distance between the line and all data points.
- Ordinary least squares (OLS) regression uses the method of least squares to calculate the regression line, which is the line that minimizes the sum of the squared vertical distances between each data point and the line.