From db6b3a9e274fa401e28c6dc313a24bd0016db34f Mon Sep 17 00:00:00 2001 From: zleyyij Date: Wed, 3 Jan 2024 14:10:35 -0700 Subject: [PATCH] vault backup: 2024-01-03 14:10:35 --- education/statistics/Correlation and Regression.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/education/statistics/Correlation and Regression.md b/education/statistics/Correlation and Regression.md index 2fe435f..1cfe9fd 100644 --- a/education/statistics/Correlation and Regression.md +++ b/education/statistics/Correlation and Regression.md @@ -104,7 +104,7 @@ $$ \hat{y} = \frac{x-\bar{x}}{\sigma_x} * r * \sigma_y + \bar{y} $$ Predicting a y value for a given x value can be calculated when given the regression equation. $$ y = mx + b $$ Where $y$ is the predicted value, $m$ is the slope, $x$ is the given value and the $b$ is the intercept. -$$ intercept = \bar{y} - $$ +$$ intercept = \bar{y} - slope*\bar{x} $$ $$ slope = \frac{r * \sigma_y}{\sigma_x} $$