Модели линейной регрессии
| English | Русский |
|---|---|
| regression line/rɪˈɡreʃn laɪn/ | регрессионная прямая |
| extrapolation/ekˈstræpəleɪʃn/ | экстраполяция |
A line through the cloud
- When a scatterplot looks linear, summarize it with a regression line 回归线.
- We write the predicted response as $\hat{y} = a + bx$ (the hat means "predicted").
- $a$ is the $y$-intercept, $b$ is the slope — the line's recipe.
- The line lets us predict $y$ from any $x$ and describe the trend precisely.
Reading the slope
- The slope $b$ is the predicted change in $y$ for each $1$-unit increase in $x$.
- In context: "each extra hour of study predicts about $b$ more points."
- Its sign matches the direction of the association (positive or negative).
- The slope is where almost all the interpretation credit lives on the exam.
Reading the intercept
- The intercept $a$ is the predicted $y$ when $x = 0$.
- Sometimes meaningful ("baseline score with zero study"), sometimes not.
- If $x = 0$ is far outside the data, the intercept is just a mathematical anchor.
- Interpret it in context — and be honest when $x=0$ makes no real sense.
Don't extrapolate
- Use the line only within the range of the observed $x$ values.
- Extrapolation 外推 — predicting far beyond the data — is unreliable.
- The linear pattern may simply not continue out there.
- A model that fits students studying $0$–$8$ hours says nothing trustworthy about $40$ hours.
Interpret the slope as a predicted change, not an actual one: "each extra hour is associated with about $b$ more points," not "causes." And never trust a prediction from extrapolation — plugging in an $x$ far outside the data range gives a number the data can't support, even if the arithmetic works.
For study hours, $\hat{y} = 55 + 4x$ (score predicted from hours).
- Slope $4$: each extra hour of study predicts about $4$ more points.
- Intercept $55$: a student who studies $0$ hours is predicted to score $55$.
- Predict at $x=3$: $\hat{y} = 55 + 4(3) = 67$ points — safely inside the data range.
A least-squares regression line $\hat{y} = a + bx$ models a linear trend. The slope $b$ is the predicted change in $y$ per $1$-unit increase in $x$; the intercept $a$ is the predicted $y$ at $x=0$. Predict only within the data range — extrapolation beyond it is unreliable.
Метод наименьших квадратов линия
Подогнанная линия предсказывает y для любого x в пределах данных.
Для y-hat = 55 + 4x, предскажите результат, когда x = 3 часа.
55 + 4(3) = 55 + 12 = 67.
В y-hat = 55 + 4x, что означает наклон 4?
Наклон = предсказанное изменение y на 1-единичное увеличение x.
Использование модели для прогнозирования далеко за пределами наблюдаемого диапазона x называется экстраполяцией, и она ненадежна.
Экстраполяция опасна — закономерность может не сохраниться.
В y-hat = a + bx буква a является y-___.
a — y-пересечение: предсказанный y при x = 0.
Расставьте шаги для получения прогноза по уравнению регрессии.
Сначала защититесь от экстраполяции, затем вычислите и интерпретируйте.