w5 Flashcards
Forecasting
prediction with time.
Cross-sectional
time is not the independent variable.
Time-series
past data is used to predict trends.
- usually done with a line chart to show trend
- regular intervals of time (quarters, months, years)
Horizontal Pattern
Mean is not changing.
Non-stationary time series
There is a jump up or down in the pattern.
Trend Pattern
increasing or decreasing over time.
Seasonal Pattern
Pattern repeats in regular intervals; repeats across season, quarters, or years.
Trend Seasonal Pattern
Has a repeating pattern but also is increasing or decreasing over time.
Forecast error
difference between actual value and predict value; like checking after the fact how well your prediction predicted the actual value.
Four measures of time series
- Mean forecast error
- Mean absolute error
- Mean square error
- Mean absolute percentage error
MFE pros and cons
pros: can be used to determine whether the model is overestimating (negative result) or underestimating (positive result).
cons: negative and positive numbers cancel each other out. Not a good overall measure.
MAE pros and cons
pros: solves MFE’s flaw. Better than MSE when you include outliers.
cons: not comparable across different models.
MSE pros and cons
pros: most popular overall model measure. Solves MFE’s flaw.
cons: not comparable across different models. Easily biased by outliers.
MAPE pros and cons
pros: comparable across models.
cons: most difficult measure to calculate.
Non-moving Methods
Naive bar casting method & Average past values casting