From 6019063f5974daf6792dcd5a0f6036b846a0f0f1 Mon Sep 17 00:00:00 2001 From: zleyyij Date: Fri, 15 Dec 2023 13:19:23 -0700 Subject: [PATCH] vault backup: 2023-12-15 13:19:23 --- education/statistics/Correlation and Regression.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/education/statistics/Correlation and Regression.md b/education/statistics/Correlation and Regression.md index 19cc306..8bbf158 100644 --- a/education/statistics/Correlation and Regression.md +++ b/education/statistics/Correlation and Regression.md @@ -85,4 +85,5 @@ Given a scatter diagram where the average of each set lies on the point $(75, 70 - The regression line is *used to predict* the y variable when the x variable is given - The regression line also goes through the point of averages $$ slope = r(\frac{\sigma_y}{\sigma_x}) $$ -- You can find the regression line by multiplying $\sigma_y$ by $r$, for the rise, then using $\sigma_x$ for the run from the point of averages. \ No newline at end of file +- You can find the regression line by multiplying $\sigma_y$ by $r$, for the rise, then using $\sigma_x$ for the run from the point of averages. +$$ z_x = \frac{x-\bar{x}}{\sigma_x} * r * \sigma_y + \bar{y} $$ \ No newline at end of file