vault backup: 2024-01-03 14:10:35

This commit is contained in:
zleyyij 2024-01-03 14:10:35 -07:00
parent 751681d3e0
commit db6b3a9e27

View File

@ -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} $$