9 Regression forecasting

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/27

encourage image

There's no tags or description

Looks like no tags are added yet.

28 Terms

1
New cards

What is the multiple linear-regression model?

y_i = β0 + ∑_j β_j*x_ij + ε_i. It models a numerical response, and a coefficient describes a conditional relationship holding the other included predictors fixed.

2
New cards

Does linear regression require the observed response values to be normally distributed?

No. Normal-error assumptions concern particular inferential procedures under a model, not a requirement that the marginal y histogram itself be normal.

3
New cards

In what sense is a regression model linear?

It is linear in its coefficients. Including a chosen transformed predictor, such as x², can still produce a coefficient-linear regression model.

4
New cards

What is the R-squared formula?

R² = 1 - SSE/SST. SSE is residual sum of squares and SST total sum of squares around the response mean, for the usual intercept-based in-sample setting.

5
New cards

What is the adjusted R-squared formula?

Adjusted R² = 1 - (1-R²)*(n-1)/(n-p-1), where p is the number of predictors excluding the intercept and n > p+1.

6
New cards

Why can adding a predictor increase R-squared but decrease adjusted R-squared?

For nested least-squares fits on the same data, extra predictors cannot increase the minimum training SSE. Adjusted R² also penalizes predictor count, so a tiny fit gain may not offset the added complexity.

7
New cards

Do high, similar R-squared and adjusted R-squared prove future predictive accuracy?

No. They describe in-sample fit and a predictor-count adjustment. They do not rule out leakage, temporal changes, overfitting or poor future performance.

8
New cards

What is the simple moving-average forecasting formula?

F_t = (1/m)*∑(j=1 to m) y(t-j). It predicts time t from the previous m actual observations and excludes the unknown y_t.

9
New cards

How does a larger moving-average window affect a forecast?

It generally smooths more and reacts more slowly to change. A shorter window is more responsive but does not always have smaller future error.

10
New cards

Example: observations are 100, 110, 90 and 120. What is the next 3-observation SMA forecast?

(110 + 90 + 120)/3 = 106.67. The first observation, 100, is outside the latest three-value window.

11
New cards

What is the simple exponential-smoothing update?

F_(t+1) = αy_t + (1-α)F_t. Combine the newest actual observation with the previous forecast, using a chosen smoothing constant.

12
New cards

How does increasing smoothing alpha change responsiveness?

It puts more weight on the newest observation and less on the previous forecast. Greater responsiveness does not guarantee smaller future error.

13
New cards

Why are exponential-smoothing weights called exponential?

Successive past-observation weights are α, α(1-α), α(1-α)² and so on. Earlier information retains geometrically decaying influence.

14
New cards

What happens at smoothing alpha equal to 1 or 0?

α = 1 gives the last actual value as the next forecast, the naive forecast. α = 0 never updates the initialized forecast.

15
New cards

Example: previous forecast = 100, actual = 120, alpha = 0.25. What is the next forecast?

0.25120 + 0.75100 = 105.

16
New cards

Why should initialization errors be distinguished from genuine forecast errors?

If the initialized forecast is set equal to an observed value, its zero error is imposed by initialization rather than earned by predicting an unknown outcome.

17
New cards

How do rolling one-step and fixed-origin multi-step forecasts use information differently?

Rolling forecasts update after each actual value becomes available. A fixed-origin multi-step forecast cannot use future realized values from beyond its origin.

18
New cards

How is a signed prediction error defined in the guide?

e_i = y_i - yhat_i. Positive means underprediction and negative means overprediction under this sign convention.

19
New cards

What is the mean squared error formula?

MSE = (1/n)*∑_i (y_i-yhat_i)². Squaring prevents sign cancellation and gives large errors disproportionate influence.

20
New cards

What is the root mean squared error formula?

RMSE = sqrt(MSE) = sqrt[(1/n)*∑_i (y_i-yhat_i)²]. It returns the error scale to the response units.

21
New cards

What is the mean absolute error formula?

MAE = (1/n)*∑_i |y_i-yhat_i|. In forecasting, the guide also calls this mean absolute deviation, MAD.

22
New cards

What is the mean absolute percentage error formula?

MAPE = (100/n)*∑_i |(y_i-yhat_i)/y_i|, for nonzero actual values. It is undefined at zero and unstable near zero.

23
New cards

Example: signed errors are 2 and -4. Find MAE, MSE and RMSE.

MAE = (2+4)/2 = 3. MSE = (4+16)/2 = 10. RMSE = sqrt(10) ≈ 3.16.

24
New cards

Why is mean signed error not interchangeable with MAE?

Positive and negative errors can cancel. A low signed average can conceal large errors in opposite directions.

25
New cards

Why can MAD be ambiguous?

Forecasting MAD often means mean absolute prediction error. In robust statistics it commonly means median absolute deviation from the median, a different quantity.

26
New cards

What is unweighted KNN regression’s prediction formula?

yhat(x) = (1/K)*∑_(i in N_K(x)) y_i. Average the numerical responses of the K nearest training neighbors; N_K(x) is the chosen neighbor set.

27
New cards

Example: the three nearest training responses are 10, 14 and 18. What does KNN regression predict?

(10 + 14 + 18)/3 = 14. Classification would instead combine categorical labels through votes.

28
New cards