Correlation & Regression
Input Datasets
Visualization of Scatter Plot & Regression Line
💡 Statistical Term Definitions
Correlation Coefficient r: Pearson product-moment correlation coefficient. It ranges from $-1.0 \le r \le 1.0$. Values close to 1 indicate a strong positive correlation, close to -1 indicate a strong negative correlation, and close to 0 suggest no linear correlation.
Regression Equation: Using the method of least squares, it determines the line $y = ax + b$ that minimizes the sum of squared residuals. The slope $a$ is calculated as $a = \frac{s_{xy}}{s_x^2}$, and the y-intercept $b$ is $b = \bar{y} - a \bar{x}$.