Step 2: Understand the regression setup.
In a simple linear regression, if we regress Y on X, the model is typically written as $Y = \beta_0 + \beta_1 X + \epsilon$.
Here, "regressed daily temperature on daily ice cream sales" means:
The dependent variable (Y) is
Show more…