forecasting (test one study)

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/128

flashcard set

Earn XP

Description and Tags

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

129 Terms

1
New cards
What forecasting methods are we going to learn in the course? 
Time-series forecasting 
2
New cards
If you like to predict future demands in 2022, a dataset you need is _____. 
past __***demand***__ data in 2021, 2020, 2019, and so on
3
New cards
What are the three steps in time-series forecasting? 
Plot the data, Make forecast using the techniques suitable for the data pattern,  pick the best forecast. 
4
New cards
What drives the choice of techniques?
The pattern of the data 
5
New cards
What are the techniques suitable for a stationary pattern? 
Exponential smoothing, moving averages 
6
New cards
What are the techniques suitable for a trendy pattern? 
Regression, double exponential smoothing 
7
New cards
What are the techniques suitable for a seasonal pattern? 
Triple exponential smoothing 
8
New cards
What are the common performance measures?
MAE, MAPE, RMSE, R2 
9
New cards
Why do we need to check the performances of the techniques we tried? 
To find the most accurate future prediction 
10
New cards
All performance measures are based on ______ of some forms of errors. 
Averages 
11
New cards
MAE stands for _____. 
Mean Absolute Errors 
12
New cards
RMSE stands for _____. 
Root Mean Squared Errors 
13
New cards
Describe how MAE is calculated.
First, calculate errors by subtracting forecasts from the actual values. Then, convert them to absolute values, which are called absolute errors. Then, average the absolute errors to get MAE. 
14
New cards
A scatterplot is generated by _____ in Excel on a Windows computer. 
Data – Forecast Sheet. 
15
New cards
A scatterplot is generated by _____ in Excel on an Apple computer. 
Insert – Scatter  
16
New cards
How do you run exponential smoothing in Excel? 
Using the "Data - Forecast" menu. 
17
New cards
If you have a mac, how do you run exponential smoothing? 
By manual calculation using FORECAST.ETS(), FORECAST.ETS.CONFINT(), and FORECAST.ETS.STAT(). 
18
New cards
Double exponential smoothing is for ____ data.
Trendy 
19
New cards
Triple exponential smoothing is for ____ data. 
Seasonal 
20
New cards
When is regression used? 
When the data shows a trend.
21
New cards
Given the following scatterplots, which is/are suitable for regression?
(You should be able to identify scatterplots showing a trend) 
22
New cards
Can an exponential smoothing method be used for a trendy data? 
Yes
23
New cards
What are the three regression methods covered in the course?  \n
Linear, exponential, and logarithmic. 
24
New cards
Can a forecast for the first period in the dataset be made by a regression method? 
Yes. 
25
New cards
If the data is trendy, the best forecasting method among the following is 

\
moving average

regression

classical decomposition
regression
26
New cards
If the data is stationary, the best forecasting method among the following is 

\
moving average

regression

classical decomposition
moving average
27
New cards
The three steps in the forecasting are

1. Plot the data (by running exponential smoothing in Excel)
2. Choose the method
3. Evaluate the performance and pick the best forecast
28
New cards
In time-series forecasting, to predict "sales" in 2021, ___ is needed.
past sales
29
New cards
regression steps

1. plot the data using a scatterplot
2. get the regression equation
3. make forecasts using the equation
4. calculate the performance measures
5. calculate the confidence intervals
30
New cards
error =
actual - forecast (B2-C2)
31
New cards
A. Error
= ABS(Error)

ABS(D2)
32
New cards
A.P. Error
= A. Error/Actual

= E2/F2
33
New cards
S. Error=
Error^2
34
New cards
Bias
= AVERAGE(error)
35
New cards
MAE
=AVERAGE(A. Error)
36
New cards
MAPE
=AVERAGE(A.P. Error)
37
New cards
RMSE
=sqrt(AVERAGE(S.Error))
38
New cards
How do you run exponential smoothing in Excel? 
Using the "Data - Forecast" menu.
39
New cards
If you have a mac, how do you run exponential smoothing? 
By manual calculation using FORECAST.ETS(), FORECAST.ETS.CONFINT(), and FORECAST.ETS.STAT(). 
40
New cards
Double exponential smoothing is for ____ data, and Triple exponential smoothing is for ____ data.
Trendy; seasonal
41
New cards
how to calculate exp smoothing forecast on mac
=FORECAST.ETS(A12, $B$2:$B$11,$A$2:$A$11,1,1)
42
New cards
lower limit function for exp smoothing
=C12-FORECAST.ETS.CONFINIT(A12,$B$2:$B$11,$A$2:$A$11,0.95,1,1)
43
New cards
upper limit function for exp smoothing
=C12+FORECAST.ETS.CONFINIT(A12,$B$2:$B$11,$A$2:$A$11,0.95,1,1)
44
New cards
SMAPE (MAPE) forecast for exp smoothing
=FORECAST.ETS.STAT($B$2:$B$11,$A$2:$A$11,5,1,1)
45
New cards
MAE function forecast for exp smoothing
=FORECAST.ETS.STAT($B$2:$B$11,$A$2:$A$11,6,1,1)
46
New cards
RMSE function forecast for exp smoothing
=FORECAST.ETS.STAT($B$2:$B$11,$A$2:$A$11,7,1,1)
47
New cards
What are the two methods for stationary data?
Simple exponential smoothing and moving average 
48
New cards
What are heuristics methods? 
Forecasting methods used for stationary data
49
New cards
If 1/1, 1/2, and 1/3 sales are 3, 3, and 6, respectively, what is the forecasted sales for 1/4 by 2-day moving average? 
4\.5 ( = 3+6/2)
50
New cards
What is a span? 
The number of periods that will be averaged to calculate a forecast 
51
New cards
steps of moving averages

1. Decide the span (that is, *n*). That is, how many past data points will be used to predict today's (this month's, this quarter's, etc.) value. 
2. Calculate the average of the past data points of the span and use it as the forecast. 
3. Calculate performance measures, such as MAE, MAPE, and RMSE. 
4. Calculate a confidence interval, which is typically "forecast ± 2\*RMSE." 
52
New cards
how to calculate 2-week moving average
Calculate the average 2 weeks for week 3. Then, copy the formula to weeks 4 to 11.
53
New cards
(with two week moving average) since there are errors in weeks 13 and 14, how do you fix it?
copy B12 to B13:B14
54
New cards
what is errors?
actual - forecast
55
New cards
what are absolute errors?
absolute values of the raw errors
56
New cards
what are absolute percentage errors?
Percentages of absolute errors based on the actual values. 
57
New cards
what are squared errors?
Squared values of the raw (or absolute) errors. 
58
New cards
what is BIAS?
average of error
59
New cards
what is MAE?
average of A. error
60
New cards
what is MAPE?
average of A.P. Error
61
New cards
what is RMSE?
root mean square error
62
New cards
**When comparing multiple methods, we choose the method with the ______ error. For this task, we choose one of MAE, MAPE, and RMSE, and compare its value across the methods. Then, pick the method with the smallest value of the chosen performance measure.**  
**smallest**
63
New cards
formula for lower limit for moving average
=C12-2*RMSE; for RMSE put the cell! like =C12-2*\*$G$12
64
New cards
formula for upper limit for moving average
=C12+2*RMSE; for RMSE put the cell! like =C12+2*$G$12
65
New cards
what does BIAS tell us?
if the method over-forecasts or under-forecasts on average
66
New cards
If the value of BIAS is positive, it means most errors are
positive, which in turn means forecasts are on average is smaller than the actual values. In this case, we say the method **under-forecasts on average**.
67
New cards
If the value of BIAS is negative, on the other hand, the forecasts are on average is
greater than the actual values and the method **over-forecasts on average**. 
68
New cards
Note that BIAS cannot capture the magnitude of average errors because positive and negative errors will be canceled out each other when they are averaged. Therefore, we do not use BIAS for
performance comparison.  

 
69
New cards
what do MAD, MAPE, and RMSE capture?
the magnitude of average errors, so the closer to zero the better
70
New cards
what is a confidence interval?
collection of possible true future values
71
New cards
A more accurate method will produce a tighter range. That is, if a confidence interval of Method A is (150, 170) and that of Method B is (140, 180), it is likely that ______ _ is more accurate. 
Method A
72
New cards
How is an error calculated?  
Actual - Forecast 
73
New cards
If BIAS of a certain method is 1.5, the method (under-/over-) forecasts
under
74
New cards
If BIAS is 2, and forecast of Q2, 2021 is 100, the unbiased forecast for Q2, 2021 is ___. 
102 
75
New cards
Method A has BIAS of 2, and Method B has BIAS of 1. Therefore, Method B is more accurate. (True/False/Uncertain)
Uncertain (Need to use MAD, MAPE, or RMSE) 
76
New cards
MAD of Method A is 1.5 and that of Method B is 2. Which method is more accurate? 
Method A. 
77
New cards
MAD of Method C is 1.5 and RMSE of Method D is 0.9. Which method is more accurate?  \n
Cannot tell. MAD of Method A should be compared with MAD of Method B or RMSE of Method A should be compared with RMSE of Method B. 
78
New cards
If a confidence interval for Sales in Q3, 2021 is ($300,000, $350,000), the true sales in Q3, 2021 can be as big as ____. 
$350,000 
79
New cards
For a trendy dataset, you can use
**double exponential smoothing** and **regression**
80
New cards
When is regression used? 
When the data shows a trend.  
81
New cards
Can an exponential smoothing method be used for a trendy data?  \n  
yes
82
New cards
What are the three regression methods covered in the course?  \n
Linear, exponential, and logarithmic. 
83
New cards
Can a forecast for the first period in the dataset be made by a regression method? 
yes
84
New cards
Linear regression is used when
a trend in the data is relatively a straight line
85
New cards
regression steps

1. plot the data using a scatterplot
2. get the regression equation
3. make forecasts using the equation
4. calculate the performance measures
5. calculate the confidence intervals
86
New cards
A linear regression equation can be written as 
**Y = Coefficient*X + Intercept;** where X is typically time (such as month, quarter, or year) and Y is a variable you wish 

to predict (such as sales or demand). 
87
New cards
**Demand = 1.3939*Week + 47.333; what does each number represent?**
* Y = Demand 
* X = Week 
* X-coefficient = 1.3939 
* Intercept = 47.333 
88
New cards
In linear regression, an **X-coefficient (or simply coefficient or slope) represents the change in Y when X increases by**
1
89
New cards
What is the value of X-coefficient?   \n         Demand =  100 + 2 \* Month 
2
90
New cards
Regression equation: Sales (in $) = 20\*Month + ▢ 

 


2. If month changes from 10 to 11, Sales will (increase or decrease) by ____. 
3. If month changes from 20 to 25, Sales will (increase or decrease) by ____. 
4. If month changes from 20 to 17, Sales will (increase or decrease) by ____. 
5. If Sales in month 9 is $200, Sales in month 12 will be $____. 

1. Increase, 20 
2. Increase, 100 ( = 20 \* 5) 
3. Decrease, 60 (= 20 \* 3) 
4. 260 (Since the time increases by 3, sales will increase by 60. Therefore, the sales in month 12 will be greater than the sales in month 9 by 60.) 
91
New cards
Regression equation: Sales (in $) = -20\*Month + ▢ 

 


6. If month changes from 10 to 11, Sales will (increase or decrease) by ____. 
7. If month changes from 20 to 25, Sales will (increase or decrease) by ____. 
8. If month changes from 20 to 17, Sales will (increase or decrease) by ____. 
9. If Sales in month 9 is $200, Sales in month 12 will be $____. 

1. Decrease, 20 
2. Decrease, 100 
3. Increase, 60 
4. 140 
92
New cards
Exponential regression is used if a trend line in the data becomes
more vertical when increasing or flatter when decreasing as the time goes by.  
93
New cards
example of exponential regression formula
=47.685\**exp(0.0254**A2) **note that “e” changes to exp and you use * for the multiplacation**
94
New cards
An exponential regression equation can be written by 
**Y = Intercept*exp(Coefficient*X),** 

 

where X is typically time (such as month, quarter, or year) and Y is a variable you wish to predict (such as sales or demand). 
95
New cards
what does each part of **Demand = 47.685*exp(0.0254*week).**  mean?
* Y = Demand 
* X = Week 
* X-coefficient = 0.0254 
* Intercept = 47.685 

 
96
New cards
In exponential regression, an **X-coefficient (or simply coefficient) represents**
**the** __**approximate**__ **% change in Y when X increases by 1 if the coefficient is positive**.  
97
New cards
**Demand = 47.685*exp(0.0254*week).** ; what does the 0.0254 represent?
**the approximate % change in Demand when Week increases by 1**. That is, for each week, the demand increases by around 2.5% (0.0254). The increase % in two weeks is NOT 5%. The correct calculation is (1+0.0254)² - 1 = 0.0514 = 5.14%; The increase % in three weeks is then 7.82% (=(1+0.0254)³ - 1 = 0.0782); and so on.   
98
New cards
(exp regression) If the coefficient is negative, demand
decreases; For example, if the coefficient is -0.05, it means demand decreases by around 5% each week. The decrease in two weeks is -9.75% (=(1-0.05)² - 1 = -0.0975); The increase in three weeks is -14.26% (=(1-0.05)³ - 1 = -1 -0.1426); and so on. 
99
New cards
Note that if the value of the coefficient is too big (>= 0.20) or too small (
not work. Therefore, you need to calculate the accurate percent change by  

\
ecofficient∗∆X−1,

 

where

∆X

is a change in X. For a unit change,

∆X

is 1
100
New cards
What is the value of X-coefficient?   \n         Demand =  100 \* exp(2 \* Month)